//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 
//

//BASE_SET   tsinghua set 01 ambe set +2c 03 st24set 06 ambe 3000 set 00 
.Set VOCODER_VAR = 03
.Set MODGAIN_VAR = 08
.Set ID_VAR = 56
.Set CC_VAR = 00
.Set CALL_VAR = 02
.Set FRAME_VAR = 0F
.Set SILENCE_VAR = 28

//Vocoder Auto selection
//.Set CALL_VAR = 1A

//Call match test, 
//.Set ID_VAR = 55

//Voice call with 19 02, and Mod_Gain inverted
//.Set MODGAIN_VAR = F8

//Call match test, CC code not matched
//.Set CC_VAR = 00

//Voice call with extended header
//.Set FRAME_VAR = 0F

//Voice call with extended preamble and silence
//.Set SILENCE_VAR = 27

Command ID:	VOCODER_SEL
Send	Command: 84 A9 61 00 02 00 10 {VOCODER_VAR}
Receive	Command:84 A9 61 00 02 00 10 00
Pause 3000
Command ID:	Set Digital Mod gain
Send	Command: 84 A9 61 00 03 00 2C {MODGAIN_VAR} 00
 Receive	Data:84 A9 61 00 02 00 2C 00

Command ID:	DPMR_CC
Send	Command: 84 A9 61 00 04 03 5C ff 5d {CC_VAR}
Receive	Command:84 A9 61 00 02 03 5C 00
Command ID: WORK_MODE_DUPLEX
Send command: 84 A9 61 00 04 00 18 02 00 00
Receive Data: 84 A9 61 00 02 00 18 00

Command ID: PROCESS_MODE
Send command: 84 A9 61 00 02 00 1A 83
Receive Data: 84 A9 61 00 02 00 1A 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_HT_CI
Send command: 84 A9 61 00 03 03 57 00 0C
Receive Data: 84 A9 61 00 02 03 57 00

Command ID: DPMR_CALLED_ID
Send command: 84 A9 61 00 04 03 50 12 34 {ID_VAR}
Receive Data: 84 A9 61 00 02 03 50 00
Command ID: DPMR_OWN_ID
Send command: 84 A9 61 00 04 03 51 12 34 56
Receive Data: 84 A9 61 00 02 03 51 00
Command ID:	REPORT_FIELD
Send	Command: 84 A9 61 00 02 00 1D 7f
Receive	Command:84 A9 61 00 02 00 1D 00
Command ID:	CALL_OPTION
Send	Command: 84 A9 61 00 06 00 47 {FRAME_VAR} {SILENCE_VAR} 00 00 00
Receive	Data:84 A9 61 00 02 00 47 00
Command ID:DPMR_PREAMPLE_LENGTH
Send Command: 84 A9 61 00 03 00 46 0A 0A
Receive Data: 84 A9 61 00 02 00 46 00

Command ID:	CALL_START
Send	Command: 84 A9 61 00 02 00 20 {CALL_VAR}
Receive	Command:84 A9 61 00 02 00 20 00



