//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:	WORK_MODE_DUPLEX
Send	Command: 84 A9 61 00 04 00 18 03 00 00
Receive	Command:84 A9 61 00 02 00 18 00
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:	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_BCD
Send	Command: 84 A9 61 00 05 03 52 12 34 56 70 
Receive	Command:84 A9 61 00 02 03 52 00
Command ID:	DPMR_OWN_ID_BCD
Send	Command: 84 A9 61 00 05 03 53 12 34 56 70 
Receive	Command:84 A9 61 00 02 03 53 00
Command ID:	DPMR_HT_CI
Send	Command: 84 A9 61 00 03 03 57 01 FE 
Receive	Command:84 A9 61 00 02 03 57 00
Command ID:	PROCESS_MODE
Send	Command: 84 A9 61 00 02 00 1A 03
Receive	Command:84 A9 61 00 02 00 1A 00
Command ID:	REPORT_FIELD
Send	Command: 84 A9 61 00 02 00 1D 6A
Receive	Command:84 A9 61 00 02 00 1D 00
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:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 02 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 02
Receive	Command:84 A9 61 00 05 30 52 12 34 56 70
Receive	Command:84 A9 61 00 05 30 53 12 34 56 70
Receive	Command:84 A9 61 00 02 30 27 00
PAUSE 2000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 00 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 00
Receive	Command:84 A9 61 00 05 30 52 12 34 56 70
Receive	Command:84 A9 61 00 05 30 53 12 34 56 70
Receive	Command:84 A9 61 00 02 30 27 00
PAUSE 2000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID:	DPMR_CALLED_BCD
Send	Command: 84 A9 61 00 05 03 52 12 34 56 A0 
Receive	Command:84 A9 61 00 02 03 52 00
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 00 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 00
Receive	Command:84 A9 61 00 05 30 52 12 34 56 A0
Receive	Command:84 A9 61 00 05 30 53 12 34 56 70
Receive	Command:84 A9 61 00 02 30 27 02
PAUSE 1000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 02 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 02
Receive	Command:84 A9 61 00 05 30 52 12 34 56 A0
Receive	Command:84 A9 61 00 05 30 53 12 34 56 70
Receive	Command:84 A9 61 00 02 30 27 02
PAUSE 2000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID:	DPMR_CALLED_BCD
Send	Command: 84 A9 61 00 05 03 52 1A AA AA A0 
Receive	Command:84 A9 61 00 02 03 52 00
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 02 19 {READY_VAR}
//Receive	Command:84 A9 61 00 02 00 19 00
//Receive	Command:84 A9 61 00 02 20 17 0B
Receive	Data:84 A9 61 00 02 00 19 00
Receive	Data:84 A9 61 00 03 30 57 01 FE
Receive	Data:84 A9 61 00 02 30 54 02
Receive	Data:84 A9 61 00 05 30 52 1A AA AA A0
Receive	Data:84 A9 61 00 05 30 53 12 34 56 70
Receive	Data:84 A9 61 00 02 30 27 02
Pause 2000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
Pause 500
Command ID:	DPMR_CALLED_BCD
Send	Command: 84 A9 61 00 05 03 52 AA AA AA A0 
Receive	Command:84 A9 61 00 02 03 52 00
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 02 19 {READY_VAR}
//Receive	Command:84 A9 61 00 02 00 19 00
//Receive	Command:84 A9 61 00 02 20 17 0B
Receive	Data:84 A9 61 00 02 00 19 00
Receive	Data:84 A9 61 00 03 30 57 01 FE
Receive	Data:84 A9 61 00 02 30 54 02
Receive	Data:84 A9 61 00 05 30 52 AA AA AA A0
Receive	Data:84 A9 61 00 05 30 53 12 34 56 70
Receive	Data:84 A9 61 00 02 30 27 02
Pause 1000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
Pause 500
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 00 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 00
Receive	Command:84 A9 61 00 05 30 52 AA AA AA A0
Receive	Command:84 A9 61 00 05 30 53 12 34 56 70
Receive	Command:84 A9 61 00 02 30 27 02
PAUSE 1000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID:	DPMR_CALLED_BCD
Send	Command: 84 A9 61 00 05 03 52 1A AA AA A0 
Receive	Command:84 A9 61 00 02 03 52 00
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 00 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 00
Receive	Command:84 A9 61 00 05 30 52 1A AA AA A0
Receive	Command:84 A9 61 00 05 30 53 12 34 56 70
Receive	Command:84 A9 61 00 02 30 27 02
PAUSE 1000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID:	GROUP_ID
Send	Command: 84 A9 61 00 05 03 29 12 34 56 92 
Receive	Command:84 A9 61 00 02 03 29 00
Command ID:	DPMR_CALLED_BCD
Send	Command: 84 A9 61 00 05 03 52 12 34 56 90 
Receive	Command:84 A9 61 00 02 03 52 00
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 02 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 02
Receive	Command:84 A9 61 00 05 30 52 12 34 56 90
Receive	Command:84 A9 61 00 05 30 53 12 34 56 70
Receive	Command:84 A9 61 00 02 30 27 22
PAUSE 2000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 00 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 00
Receive	Command:84 A9 61 00 05 30 52 12 34 56 90
Receive	Command:84 A9 61 00 05 30 53 12 34 56 70
Receive	Command:84 A9 61 00 02 30 27 22
PAUSE 1000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID:	DPMR_CALLED_BCD
Send	Command: 84 A9 61 00 05 03 52 21 0A AA A0 
Receive	Command:84 A9 61 00 02 03 52 00
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 02 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 02
Receive	Command:84 A9 61 00 05 30 52 1A AA AA A0
Receive	Command:84 A9 61 00 05 30 53 12 34 56 70
Receive	Command:84 A9 61 00 02 30 27 02
PAUSE 1000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID:	DPMR_OWN_BCD
Send	Command: 84 A9 61 00 05 03 53 21 01 23 40 
Receive	Command:84 A9 61 00 02 03 53 00
#PAUSE 1000
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 02 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 02
Receive	Command:84 A9 61 00 05 30 52 1A AA AA A0
Receive	Command:84 A9 61 00 05 30 53 21 01 23 40
Receive	Command:84 A9 61 00 02 30 27 05
PAUSE 1000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 00 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 00
Receive	Command:84 A9 61 00 05 30 52 1A AA AA A0
Receive	Command:84 A9 61 00 05 30 53 21 01 23 40
Receive	Command:84 A9 61 00 02 30 27 05
PAUSE 1000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500
Command ID:	DPMR_OWN_BCD
Send	Command: 84 A9 61 00 05 03 53 12 34 56 70 
Receive	Command:84 A9 61 00 02 03 53 00
Command ID:	CARRIER_READY&CALL_START
Send	Command: 84 A9 61 00 04 00 20 00 19 {READY_VAR}
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 03 30 57 01 FE
Receive	Command:84 A9 61 00 02 30 54 00
Receive	Command:84 A9 61 00 05 30 52 1A AA AA A0
Receive	Command:84 A9 61 00 05 30 53 12 34 56 70
Receive	Command:84 A9 61 00 02 30 27 02
PAUSE 1000
Command ID:	CARRIER_LOSE&CALL_END
Send	Command: 84 A9 61 00 03 00 21 19 00 
Receive	Command:84 A9 61 00 02 00 19 00
Receive	Command:84 A9 61 00 02 20 17 0A
PAUSE 500

