//Verison=2.2
//Example,Don't Delete flowing text!
//Button NIMI // Generator NIMI 
//Button NIMI 100 // Generator NIMI and Delay 100ms, 100 not is nessary
//Button INT0 // Generator INT0 and Delay 200ms
//Button RESETAMBE3000
//Button RESET3252
//Send 1 command, Receive 2 response with one is not verify.
//Command ID: CARRIER_LOST // necessary!
//Summary  // not essential, 
//Send command: 61 00 02 00 19 00 // necessary!
//Pause=300 // not essential, unit: ms; Pause 300ms after Send command
//Timeout=100 // not essential, unit: ms; if not receive '84 A9 61 ...' in 100ms after send command, Timeout error will happen!
//*Receive Data: 61 00 02 51 19 00 // not essential, receive but not verify
//Receive Data: 61 00 02 51 19 20 // not essential, receive and verify 
//.Set x = AA B0  -- Define var x ; Added in ver2.2
// ... 61 00 02 00 19 {x}   --- use the defined var, The {x} will be replaced with AA B0 
//

.Set READY_VAR = 01
Command ID:	PROTOCOL_OPTION  
Send	Command: 84 A9 61 00 02 00 55 80
Receive	Data:84 A9 61 00 02 00 55 00
Command ID: DPMR_M_F
Send command: 84 A9 61 00 02 03 54 FF
Receive Data: 84 A9 61 00 02 03 54 00

Command ID: WORK_MODE_DUPLEX
Send command: 84 A9 61 00 04 00 18 03 00 00
Receive Data: 84 A9 61 00 02 00 18 00

Command ID: DPMR_SLD
Send command: 84 A9 61 00 04 03 56 11 22 FF
Receive Data: 84 A9 61 00 02 03 56 00
Command ID: DPMR_HT_CI
Send command: 84 A9 61 00 03 03 57 F0 00
Receive Data: 84 A9 61 00 02 03 57 00
Command ID: DPMR_END_UE
Send command: 84 A9 61 00 04 03 4B 1f 28 00
Receive Data: 84 A9 61 00 02 03 4B 00
Command ID: DPMR_STAT
Send command: 84 A9 61 00 02 03 5B 2F
Receive Data: 84 A9 61 00 02 03 17 06
Command ID:	ADDRESSING_MODE
Send	Command: 84 A9 61 00 02 03 28 01
Receive	Command:84 A9 61 00 02 03 28 00
Command ID: DPMR_CALLED_ID
Send command: 84 A9 61 00 04 03 50 12 34 56
Receive Data: 84 A9 61 00 02 03 50 00
Command ID: DPMR_OWN_ID_BCD
Send command: 84 A9 61 00 05 03 53 11 22 33 44
Receive Data: 84 A9 61 00 02 03 53 00
Command ID: PROCESS_MODE
Send command: 84 A9 61 00 02 00 1A 03
Receive Data: 84 A9 61 00 02 00 1A 00
Command ID: REPORT_FIELD
Send command: 84 A9 61 00 02 00 1D 74
Receive Data: 84 A9 61 00 02 00 1D 00
//Command ID: WORK_MODE_DUPLEX
//Send command: 84 A9 61 00 04 00 18 03 00 00
//Receive Data: 84 A9 61 00 02 00 18 00
Command ID: CARRIER_READY&CALL_START
Send command: 84 A9 61 00 04 00 20 12 19 {READY_VAR}
Receive Data: 84 A9 61 00 02 00 19 00
//Receive	Data:84 A9 61 00 02 30 1B 09
Receive Data: 84 A9 61 00 03 30 57 00 00
Receive Data: 84 A9 61 00 02 30 54 12
Receive Data: 84 A9 61 00 04 30 50 12 34 56
Receive Data: 84 A9 61 00 04 30 51 19 11 66
Receive Data:84 A9 61 00 02 30 27 05
PAUSE 2000
Command ID: CARRIER_LOSE&CALL_END
Send command: 84 A9 61 00 03 00 21 19 00
Receive Data: 84 A9 61 00 02 00 19 00
Receive Data: 84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID: PROCESS_MODE
Send command: 84 A9 61 00 02 00 1A 02
Receive Data: 84 A9 61 00 02 00 1A 00
Command ID: CARRIER_READY
Send command: 84 A9 61 00 02 00 19 {READY_VAR}
Receive Data: 84 A9 61 00 02 00 19 00
Command ID: CALL_START
Send command: 84 A9 61 00 02 00 20 12
Receive Data: 84 A9 61 00 02 00 20 00
Receive Data: 84 A9 61 00 03 30 57 00 00
Receive Data: 84 A9 61 00 02 30 54 12
Receive Data: 84 A9 61 00 04 30 50 12 34 56
Receive Data: 84 A9 61 00 04 30 51 19 11 66
PAUSE 1000
Command ID: CALL_END
Send command: 84 A9 61 00 01 00 21
Receive Data: 84 A9 61 00 02 00 21 00
Receive Data: 84 A9 61 00 02 20 17 0A
Receive Data: 84 A9 61 00 04 30 4B 1F 28 00
PAUSE 500
Command ID: CARRIER_LOST
Send command: 84 A9 61 00 02 00 19 00
Receive Data: 84 A9 61 00 02 00 19 00
PAUSE 40
Command ID: CARRIER_READY
Send command: 84 A9 61 00 02 00 19 {READY_VAR}
Receive Data: 84 A9 61 00 02 00 19 00
Command ID: CALL_START
Send command: 84 A9 61 00 02 00 20 12
Receive Data: 84 A9 61 00 02 00 20 00
Receive Data: 84 A9 61 00 03 30 57 00 00
Receive Data: 84 A9 61 00 02 30 54 12
Receive Data: 84 A9 61 00 04 30 50 12 34 56
Receive Data: 84 A9 61 00 04 30 51 19 11 66
PAUSE 1000
Command ID: CARRIER_LOSE&CALL_END
Send command: 84 A9 61 00 03 00 21 19 00
Receive Data: 84 A9 61 00 02 00 19 00
Receive Data: 84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID: CARRIER_READY
Send command: 84 A9 61 00 02 00 19 {READY_VAR}
Receive Data: 84 A9 61 00 02 00 19 00
Command ID: CONNECT
Send command: 84 A9 61 00 02 00 22 12
Receive Data: 84 A9 61 00 02 00 22 00
Receive Data: 84 A9 61 00 03 30 57 10 00
Receive Data: 84 A9 61 00 02 30 54 12
Receive Data: 84 A9 61 00 04 30 50 12 34 56
Receive Data: 84 A9 61 00 04 30 51 19 11 66
Receive Data: 84 A9 61 00 02 20 17 0A
Receive Data: 84 A9 61 00 04 30 4B 1F 28 00
PAUSE 500
Command ID: WORK_MODE_DUPLEX
Send command: 84 A9 61 00 04 00 18 03 00 00
Receive Data: 84 A9 61 00 02 00 18 00
Command ID: CARRIER_LOST
Send command: 84 A9 61 00 02 00 19 00
Receive Data: 84 A9 61 00 02 00 19 00
PAUSE 40
Command ID: CARRIER_READY
Send command: 84 A9 61 00 02 00 19 {READY_VAR}
Receive Data: 84 A9 61 00 02 00 19 00
PAUSE 500
Command ID: DISCONNECT
Send command: 84 A9 61 00 02 00 23 12
Receive Data: 84 A9 61 00 02 00 23 00
Receive Data: 84 A9 61 00 03 30 57 20 00
Receive Data: 84 A9 61 00 02 30 54 12
Receive Data: 84 A9 61 00 04 30 50 12 34 56
Receive Data: 84 A9 61 00 04 30 51 19 11 66
Receive Data: 84 A9 61 00 04 30 4B 1F 28 00
Receive Data: 84 A9 61 00 02 20 17 0A
PAUSE 1000
Command ID: CARRIER_LOST
Send command: 84 A9 61 00 02 00 19 00
Receive Data: 84 A9 61 00 02 00 19 00
PAUSE 40
Command ID: CARRIER_READY
Send command: 84 A9 61 00 02 00 19 {READY_VAR}
Receive Data: 84 A9 61 00 02 00 19 00
PAUSE 500
Command ID: DPMR_ACK
Send command: 84 A9 61 00 02 00 24 12
Receive Data: 84 A9 61 00 02 00 24 00
Receive Data: 84 A9 61 00 02 20 17 0A
Receive Data: 84 A9 61 00 03 30 57 30 00
Receive Data: 84 A9 61 00 02 30 54 12
Receive Data: 84 A9 61 00 04 30 50 12 34 56
Receive Data: 84 A9 61 00 04 30 51 19 11 66

PAUSE 500
Command ID: CARRIER_LOST
Send command: 84 A9 61 00 02 00 19 00
Receive Data: 84 A9 61 00 02 00 19 00
PAUSE 40
Command ID: CARRIER_READY
Send command: 84 A9 61 00 02 00 19 {READY_VAR}
Receive Data: 84 A9 61 00 02 00 19 00
Command ID: SYS_INFO
Send command: 84 A9 61 00 05 00 57 20 00 25 12
Receive Data: 84 A9 61 00 02 00 25 00
Receive Data: 84 A9 61 00 03 30 57 20 00
Receive Data: 84 A9 61 00 02 30 54 12
Receive Data: 84 A9 61 00 04 30 50 12 34 56
Receive Data: 84 A9 61 00 04 30 51 19 11 66
Receive Data: 84 A9 61 00 02 20 17 0A
Receive	Data:84 A9 61 00 04 30 4B 1F 28 00
PAUSE 1000
Command ID: CARRIER_LOST
Send command: 84 A9 61 00 02 00 19 00
Receive Data: 84 A9 61 00 02 00 19 00
PAUSE 40
Command ID: CARRIER_READY
Send command: 84 A9 61 00 02 00 19 {READY_VAR}
Receive Data: 84 A9 61 00 02 00 19 00
//
Command ID: SYS_INFO
Send command: 84 A9 61 00 05 00 57 40 00 25 12
Receive Data: 84 A9 61 00 02 00 25 00
Receive Data: 84 A9 61 00 03 30 57 40 00
Receive Data: 84 A9 61 00 02 30 54 12
Receive Data: 84 A9 61 00 04 30 50 12 34 56
Receive Data: 84 A9 61 00 04 30 51 19 11 66
Receive Data: 84 A9 61 00 02 20 17 0A
Receive	Data:84 A9 61 00 04 30 4B 1F 28 00
PAUSE 500
Command ID: CARRIER_LOST
Send command: 84 A9 61 00 02 00 19 00
PAUSE 500
Receive Data: 84 A9 61 00 02 00 19 00
Command ID: CARRIER_READY
Send command: 84 A9 61 00 02 00 19 {READY_VAR}

Receive Data: 84 A9 61 00 02 00 19 00
PAUSE 500
Command ID:	CALL_OPTION
Send	Command: 84 A9 61 00 06 00 47 0F 00 00 00 00
Receive	Data:84 A9 61 00 02 00 47 00
Command ID: CONNECT
Send command: 84 A9 61 00 02 00 22 13
Receive Data: 84 A9 61 00 02 00 22 00
Receive Data: 84 A9 61 00 03 30 5A E1 E0
PAUSE 2000
Receive Data: 84 A9 61 00 03 30 57 10 00
Receive Data: 84 A9 61 00 02 30 54 13
Receive Data: 84 A9 61 00 04 30 50 12 34 56
Receive Data: 84 A9 61 00 04 30 51 19 11 66
Receive Data: 84 A9 61 00 02 20 17 0A
Receive	Data:84 A9 61 00 04 30 4B 1F 28 00
Command ID: WORK_MODE_DUPLEX
Send command: 84 A9 61 00 04 00 18 03 00 00
Receive Data: 84 A9 61 00 02 00 18 00
Command ID: CARRIER_LOST
Send command: 84 A9 61 00 02 00 19 00
Receive Data: 84 A9 61 00 02 00 19 00
PAUSE 40
Command ID: CARRIER_READY
Send command: 84 A9 61 00 02 00 19 {READY_VAR}
Receive Data: 84 A9 61 00 02 00 19 00
PAUSE 500
Command ID: DISCONNECT
Send command: 84 A9 61 00 02 00 23 12
PAUSE 500
Receive Data: 84 A9 61 00 02 00 23 00
Receive Data: 84 A9 61 00 03 30 57 20 00
Receive Data: 84 A9 61 00 02 30 54 12
Receive Data: 84 A9 61 00 04 30 50 12 34 56
Receive Data: 84 A9 61 00 04 30 51 19 11 66
Receive Data: 84 A9 61 00 04 30 4B 1F 28 00
Receive Data: 84 A9 61 00 02 20 17 0A

