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

// This command file assume layer12 build is loaded 
// It also assume activation code 7 is used

Command ID:	  VOCODER_CMODE
Send Command: 84 A9 61 00 02 00 02 08 
Receive Data: 84 A9 61 00 02 00 02 00
//Receive Data: 84 A9 61 00 02 00 05 00
Command ID:	  VOCODER_TONE
Send Command: 84 A9 61 00 04 00 08 01 80 F3
Receive	Data: 84 A9 61 00 02 00 08 00
Command ID:	  READ_VOCODER_TONE
Send Command: 84 A9 61 00 01 20 08 
Receive	Data: 84 A9 61 00 04 20 08 01 80 F3
Command ID:	  VOCODER_SEL
Send Command: 84 A9 61 00 02 00 10 01
Receive Data: 84 A9 61 00 02 00 10 00
pause 4000
Command ID:   VOCODER_INI
Send command: 84 A9 61 00 02 00 12 01
Receive Data: 84 A9 61 00 02 00 12 00
Command ID:   VOCODER_INI
Send command: 84 A9 61 00 02 00 12 02
Receive Data: 84 A9 61 00 02 00 12 00
Command ID:   VOCODER_INI
Send command: 84 A9 61 00 02 00 12 00
Receive Data: 84 A9 61 00 02 00 12 00
//Command ID: CHIP_RESET
//Send command: 84 A9 61 00 01 00 14
//Receive Data: 84 A9 61 00 02 33 17 01
//PAUSE 1000
//Command ID: LOW_POWER
//Send command: 84 A9 61 00 02 00 15 00
//Receive Data: 84 A9 61 00 02 00 15 00
//PAUSE 300
//Command ID:	  PARITY_ENABLE
//Send Command: 84 A9 61 00 02 00 16 01
//Receive Data: 84 A9 61 00 02 00 16 00
//Command ID:	  PARITY_DISABLE
//Send Command: 84 A9 61 00 04 00 16 00 2F 3D
//Receive Data: 84 A9 61 00 04 00 16 00 2F 3D



Command ID:   PROCESS_MODE_LAYEY1
Send command: 84 A9 61 00 02 00 1A 01
Receive Data: 84 A9 61 00 02 00 1A 00
Command ID:	  VOCODER_SEL
Send Command: 84 A9 61 00 02 00 10 10
Receive Data: 84 A9 61 00 02 00 10 00
pause 4000
Command ID:   ANALOG_SUBAUDIO
Send Command: 84 A9 61 00 03 00 26 02 03
Receive	Data: 84 A9 61 00 02 00 26 00
Command ID:	ANALOG_CONFIG
Send Command: 84 A9 61 00 0C 00 3C 02 08 00 40 00 02 3D 10 00 08 00
Receive Data:84 A9 61 00 02 00 3C 00
PAUSE 300
Command ID:	ANALOG_CONFIG
Send Command: 84 A9 61 00 0C 00 3C 02 08 00 40 00 02 3D 10 00 08 00
Receive Data:84 A9 61 00 02 00 3C 00
PAUSE 300

Command ID:	CTC_PARAM
Send	Command: 84 A9 61 00 17 00 3D 03 84 02 58 06 04 02 01 07 06 80 D0 00 00 00 00 00 00 00 00 00 00
Receive	Data:84 A9 61 00 02 00 3D 00

Command ID:   PROCESS_MODE_ANALOG
Send command: 84 A9 61 00 02 00 1A 80
Receive Data: 84 A9 61 00 02 00 1A 00
Command ID:   PROCESS_MODE_AUTO1
Send command: 84 A9 61 00 02 00 1A 81
Receive Data: 84 A9 61 00 02 00 1A 00
Command ID:   PROCESS_MODE_AUTO2
Send command: 84 A9 61 00 02 00 1A 82
Receive Data: 84 A9 61 00 02 00 1A 00
Command ID:   PROCESS_MODE_AUTO3
Send command: 84 A9 61 00 02 00 1A 83
Receive Data: 84 A9 61 00 02 00 1A 00
Command ID:	  VOCODER_SEL
Send Command: 84 A9 61 00 02 00 10 01
Receive Data: 84 A9 61 00 02 00 10 00
pause 4000
Command ID:   PROCESS_MODE_LAYEY2
Send command: 84 A9 61 00 02 00 1A 02
Receive Data: 84 A9 61 00 02 00 1A 00
Command ID:   PROCESS_MODE_LAYEY3
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 70
Receive Data: 84 A9 61 00 02 00 1D 00
Command ID:	  REPORT_FIELD
Send Command: 84 A9 61 00 02 00 1D 6A
Receive Data: 84 A9 61 00 02 00 1D 00

Command ID:   WORK_MODE_IDLE
Send command: 84 A9 61 00 04 00 18 00 00 00
Receive Data: 84 A9 61 00 02 00 18 00
Command ID:   WORK_MODE_RX
Send command: 84 A9 61 00 04 00 18 01 00 00
Receive Data: 84 A9 61 00 02 00 18 00
Command ID:   WORK_MODE_TX
Send command: 84 A9 61 00 04 00 18 02 00 00
Receive Data: 84 A9 61 00 02 00 18 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:	  VOCODER_SEL
Send Command: 84 A9 61 00 02 00 10 01
Receive Data: 84 A9 61 00 02 00 10 00
pause 4000
Command ID:   PDRF_SLD
Send command: 84 A9 61 00 06 03 56 11 22 c4 48 bf
//Receive	Data:84 A9 61 00 02 20 17 0A      //  Not necessary
Receive Data: 84 A9 61 00 02 03 56 00
Command ID:   READ_PDRF_SLD
Send command: 84 A9 61 00 01 23 56
Receive Data: 84 A9 61 00 06 23 56 11 22 c4 48 b0
Command ID:   RFAR_PDRF_SLD
Send command: 84 A9 61 00 01 33 56
Receive Data: 84 A9 61 00 06 33 56 00 00 00 00 00

Command ID:   PDRF_SLD
Send command: 84 A9 61 00 06 03 56 00 80 40 20 10
Receive Data: 84 A9 61 00 02 03 56 00

Command ID:   ALOOP_CODEC_LOOP
Send command: 84 A9 61 00 04 00 18 03 01 00
Receive Data: 84 A9 61 00 02 00 18 00
Command ID:   ALOOP_DECIMATOR_LOOP
Send command: 84 A9 61 00 04 00 18 03 02 00
Receive Data: 84 A9 61 00 02 00 18 00
Command ID:   ALOOP_VOCODER_LOOP
Send command: 84 A9 61 00 04 00 18 03 13 00
Receive Data: 84 A9 61 00 02 00 18 00
Command ID:   MLOOP_CODEC_LOOP
Send command: 84 A9 61 00 04 00 18 03 10 00
Receive Data: 84 A9 61 00 02 00 18 00
Command ID:   AMLOOP_CODEC_CODEC_LOOP
Send command: 84 A9 61 00 04 00 18 03 11 00
Receive Data: 84 A9 61 00 02 00 18 00
Command ID:   AMLOOP_VOCODER_4FSK_LOOP
Send command: 84 A9 61 00 04 00 18 03 23 00
Receive Data: 84 A9 61 00 02 00 18 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:   AMLOOP_CODEC_CODEC_LOOP
Send command: 84 A9 61 00 04 00 18 03 11 00
Receive Data: 84 A9 61 00 02 00 18 00
Command ID:	  READ_WORK_MODE
Send Command: 84 A9 61 00 01 20 18
Receive Data: 84 A9 61 00 04 20 18 03 11 00

Command ID:	  ADDRESSING_MODE
Send Command: 84 A9 61 00 02 03 28 01
Receive Data: 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
Send command: 84 A9 61 00 04 03 51 11 22 33
Receive Data: 84 A9 61 00 02 03 51 00
Command ID:   READ_DPMR_CALLED_OWN_ID
Send command: 84 A9 61 00 02 23 50 51
Receive Data: 84 A9 61 00 04 23 50 12 34 56
Receive Data: 84 A9 61 00 04 23 51 11 22 33
Command ID:   RFAR_DPMR_CALLED_OWN_ID
Send command: 84 A9 61 00 02 33 50 51
Receive Data: 84 A9 61 00 04 33 50 00 00 00
Receive Data: 84 A9 61 00 04 33 51 00 00 00
Command ID:   DPMR_CALLED_ID_BCD
Send command: 84 A9 61 00 05 03 52 12 34 56 70
Receive Data: 84 A9 61 00 02 03 52 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:   READ_DPMR_CALLED_OWN_BCD
Send command: 84 A9 61 00 02 23 52 53
Receive Data: 84 A9 61 00 05 23 52 12 34 56 70
Receive Data: 84 A9 61 00 05 23 53 11 22 33 40
Command ID:   RFAR_DPMR_CALLED_OWN_BCD
Send command: 84 A9 61 00 02 33 52 53
Receive Data: 84 A9 61 00 05 33 52 00 00 00 00
Receive Data: 84 A9 61 00 05 33 53 00 00 00 00

Command ID:   CARRIER_READY
Send command: 84 A9 61 00 02 00 19 01
Receive Data: 84 A9 61 00 02 00 19 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
Command ID:	  CARRIER_READY_LOST
Send Command: 84 A9 61 00 04 00 19 00 19 01
Receive Data: 84 A9 61 00 02 00 19 00
Command ID:	  CARRIER_READY&CALL_START
Send Command: 84 A9 61 00 04 00 20 02 19 01
Receive Data: 84 A9 61 00 02 00 19 00
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 
Command ID:	  CARRIER_LOST&READY
Send Command: 84 A9 61 00 04 00 19 00 19 01
Receive Data: 84 A9 61 00 02 00 19 00


Command ID:   DEMOD_GAIN
Send command: 84 A9 61 00 03 00 1C 00 00
Receive Data: 84 A9 61 00 02 00 1C 00
Command ID:   READ_DEMOD_GAIN
Send command: 84 A9 61 00 01 20 1C
Receive Data: 84 A9 61 00 03 20 1C 08 00

Command ID:	  READ_BER_REPORT
Send Command: 84 A9 61 00 02 20 1E 00
Receive Data: 84 A9 61 00 0C 20 1E 00 00 00 00 00 00 00 00 00 00 00
Command ID:	  LOCAL_TONE
Send Command: 84 A9 61 00 12 00 1F 01 03 E8 07 D0 04 B0 05 DC 20 20 20 20 03 E8 03 E8
Receive Data: 84 A9 61 00 02 00 1F 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
Command ID:	  CALL_END
Send Command: 84 A9 61 00 01 00 21 
Receive Data: 84 A9 61 00 02 00 21 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:	  CONNECT
Send Command: 84 A9 61 00 02 00 22 13
Receive Data: 84 A9 61 00 02 00 22 00
Command ID:	  DISCONNECT
Send Command: 84 A9 61 00 02 00 23 12
Receive Data: 84 A9 61 00 02 00 23 00
Command ID:	  DPMR_ACK
Send Command: 84 A9 61 00 02 00 24 12
Receive Data: 84 A9 61 00 02 00 24 00
Command ID:  	SYS_INFO
Send Command: 84 A9 61 00 02 00 25 12
Receive Data: 84 A9 61 00 02 00 25 00


Command ID:	  GROUP_ID
Send Command: 84 A9 61 00 05 03 29 12 34 56 92
Receive Data: 84 A9 61 00 02 03 29 00
Command ID:	  READ_GROUP_ID
Send Command: 84 A9 61 00 02 23 29 02
Receive Data: 84 A9 61 00 05 23 29 12 34 56 92
Command ID:   SCRAMBLER_SEED
Send Command: 84 A9 61 00 0A 00 2A 00 12 34 45 78 9A BC DE F0
Receive Data: 84 A9 61 00 02 00 17 0D
Command ID:	  MODEL_SEL
Send Command: 84 A9 61 00 02 00 2B 00
Receive Data: 84 A9 61 00 02 00 2B 00
Command ID:	  MODEL_SEL
Send Command: 84 A9 61 00 02 00 2B 01
Receive Data: 84 A9 61 00 02 00 2B 00
Command ID:	  READ_MODEL_SEL
Send Command: 84 A9 61 00 01 20 2B 
Receive Data: 84 A9 61 00 02 20 2B 01
Command ID:	  MOD_GAIN
Send Command: 84 A9 61 00 03 00 2C 00 00
Receive Data: 84 A9 61 00 02 00 2C 00
Command ID:	  CODEC_SELECT
Send Command: 84 A9 61 00 02 00 2D 01
Receive Data: 84 A9 61 00 02 00 2D 00
PAUSE 500


Command ID:	  SET_I2C_ADDRESS
Send Command: 84 A9 61 00 02 00 2E 34
Receive Data: 84 A9 61 00 02 00 2E 00

Command ID:	  SYNC_COUNT
Send Command: 84 A9 61 00 02 03 2F 01
Receive Data: 84 A9 61 00 02 03 2F 00
Command ID:   Q_PRO_VER
Send command: 84 A9 61 00 01 20 30
Receive	Data:84 A9 61 00 0C 20 30 0A 53 43 54 33 32 35 32 20 20 20
Command ID:   Q_HW_VER
Send command: 84 A9 61 00 01 20 31
Receive	Data:84 A9 61 00 0A 20 31 08 56 30 2E 30 31 2E 30 32
//Command ID:   Q_SW_VER
//Send command: 84 A9 61 00 01 20 32
//Receive	Data:84 A9 61 00 0C 20 32 0A 56 31 2E 30 31 2E 30 36 50 33
Command ID:   Q_CID_SN
Send command: 84 A9 61 00 01 20 33
Receive	Data:84 A9 61 00 09 20 33 00 00 16 00 00 00 02 65
//Command ID:	  Q_FID
//Send Command: 84 A9 61 00 01 20 34
//Receive	Data:84 A9 61 00 05 20 34 07 00 1F 8B
Command ID:	  Q_USE_NUMBER
Send Command: 84 A9 61 00 01 20 35
Receive	Data:84 A9 61 00 09 20 35 00 00 00 01 00 00 00 01
Command ID:	  DC_OFFSET
Send Command: 84 A9 61 00 0D 00 39 80 00 80 00 80 00 80 00 00 00 00 00
Receive Data: 84 A9 61 00 02 00 39 00
Command ID:	  READ_DC_OFFSET
Send Command: 84 A9 61 00 01 20 39
Receive Data: 84 A9 61 00 02 20 17 06




//Command ID: 	VOX_ENERGY
//Send Command:84 A9 61 00 03 00 3d 00 00
//Receive Data:84 A9 61 00 02 00 3d 00 

Command ID:	  NUM_PREAMBLE
Send Command: 84 A9 61 00 03 00 46 0A 0A
Receive Data: 84 A9 61 00 02 00 46 00
Command ID:   DPMR_END_UE
Send command: 84 A9 61 00 04 03 4B 33 44 FF
Receive Data: 84 A9 61 00 02 03 4B 00
Command ID:   READ_DPMR_END_UE
Send command: 84 A9 61 00 01 23 4B
Receive Data: 84 A9 61 00 04 23 4B 33 44 FE
Command ID:   RFAR_DPMR_END_UE
Send command: 84 A9 61 00 01 33 4B
Receive Data: 84 A9 61 00 04 33 4B 00 00 00
Command ID:   PROCESS_MODE_AUTO3
Send command: 84 A9 61 00 02 00 1A 02
Receive Data: 84 A9 61 00 02 00 1A 00
Command ID:   DPMR_FS1
Send command: 84 A9 61 00 07 03 4C 57 77 5F 75 D5 FF
Receive Data: 84 A9 61 00 02 03 4C 00
Command ID:   READ_DPMR_FS1
Send command: 84 A9 61 00 01 23 4C
Receive Data: 84 A9 61 00 07 23 4C 57 77 5F 75 D5 FF
Command ID:   DPMR_FS2
Send command: 84 A9 61 00 04 03 4D 5F 7D F7
Receive Data: 84 A9 61 00 02 03 4D 00
Command ID:   READ_DPMR_FS2
Send command: 84 A9 61 00 01 23 4D
Receive Data: 84 A9 61 00 04 23 4D 5F 7D F7
Command ID:   DPMR_FS3
Send command: 84 A9 61 00 04 03 4E 7D F5 DF
Receive Data: 84 A9 61 00 02 03 4E 00
Command ID:   READ_DPMR_FS3
Send command: 84 A9 61 00 01 23 4E
Receive Data: 84 A9 61 00 04 23 4E 7D F5 DF
Command ID:   DPMR_FS4
Send command: 84 A9 61 00 07 03 4F FD 55 F5 DF DD 7F
Receive Data: 84 A9 61 00 02 03 4F 00
Command ID:   READ_DPMR_FS4
Send command: 84 A9 61 00 01 23 4F
Receive Data: 84 A9 61 00 07 23 4F FD 55 F5 DF DD 7F
Command ID:   DPMR_M_F
Send command: 84 A9 61 00 02 03 54 02
Receive Data: 84 A9 61 00 02 03 54 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:   READ_DPMR_M_F
Send command: 84 A9 61 00 01 23 54
Receive Data: 84 A9 61 00 02 23 54 FF
Command ID:   RFAR_DPMR_M_F
Send command: 84 A9 61 00 01 33 54
Receive Data: 84 A9 61 00 02 33 54 00











Command ID:   DPMR_HT_CI
Send command: 84 A9 61 00 03 03 57 40 FF
Receive Data: 84 A9 61 00 02 03 57 00
Command ID:   READ_DPMR_HT_CI
Send command: 84 A9 61 00 01 23 57
Receive Data: 84 A9 61 00 03 23 57 40 FE
Command ID:   RFAR_DPMR_HT_CI
Send command: 84 A9 61 00 01 33 57
Receive Data: 84 A9 61 00 03 33 57 00 00
Command ID:   DPMR_HT_CI
Send command: 84 A9 61 00 03 03 57 41 FF
Receive Data: 84 A9 61 00 02 03 57 00
Command ID:   READ_DPMR_HT_CI
Send command: 84 A9 61 00 01 23 57
Receive Data: 84 A9 61 00 03 23 57 41 FE
Command ID:   RFAR_DPMR_HT_CI
Send command: 84 A9 61 00 01 33 57
Receive Data: 84 A9 61 00 03 33 57 00 00
Command ID:   DPMR_CC
Send command: 84 A9 61 00 04 03 5C 77 F5 D5
Receive Data: 84 A9 61 00 02 03 5C 00
Command ID:   READ_DPMR_CC
Send command: 84 A9 61 00 01 23 5C
Receive Data: 84 A9 61 00 04 23 5C 77 F5 D5
Command ID:   DPMR_SEND_SF
Send command:84 A9 61 00 01 03 5f 
Receive Data:84 A9 61 00 02 03 5F 00
Command ID:   DPMR_SEND_HEADER
Send command: 84 A9 61 00 01 03 60 
Receive Data: 84 A9 61 00 02 03 60 00
Command ID:   DPMR_SEND_END  
Send command: 84 A9 61 00 01 03 61 
Receive Data: 84 A9 61 00 02 03 61 00 
//Command ID:   PROGRAM_START
//Send Command: 84 A9 61 00 04 04 82 A3 00 00
//Receive	Data: 84 A9 61 00 02 20 17 01

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:	CALL_START
Send Command: 84 A9 61 00 02 00 20 12
Receive Data:84 A9 61 00 02 00 20 00
Command ID:	CALL_END
Send Command: 84 A9 61 00 01 00 21 
Receive Data:84 A9 61 00 02 00 21 00
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:	CALL_START
Send Command: 84 A9 61 00 02 00 20 12
Receive Data:84 A9 61 00 02 00 20 00
Command ID:	CALL_END
Send Command: 84 A9 61 00 01 00 21 
Receive Data:84 A9 61 00 02 00 21 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:	CONNECT
Send Command: 84 A9 61 00 01 00 22 
Receive Data:84 A9 61 00 02 00 17 06
Command ID:	DISCONNECT
Send Command: 84 A9 61 00 01 00 23 
Receive Data:84 A9 61 00 02 00 17 06
Command ID:	DPMR_ACK
Send Command: 84 A9 61 00 01 00 24 
Receive Data:84 A9 61 00 02 00 17 06
Command ID:	SYSTEM_INFO
Send Command: 84 A9 61 00 01 00 25 
Receive Data:84 A9 61 00 02 00 17 06

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
Pause 2000
//Receive Data: 84 A9 61 00 02 20 17 0A

//Command ID:   TI_SPK_GAIN_6DB
//Send command: 84 A9 61 00 06 40 00 01 10 0C 00 00
//Receive Data: 84 A9 61 00 02 40 17 00
//Command ID:   TI_SPK_GAIN_0DB
//Send command: 84 A9 61 00 06 40 00 01 10 00 00 00
//Receive Data: 84 A9 61 00 02 40 17 00
//Command ID:   TI_MOD_GAIN_0DB
//Send command: 84 A9 61 00 06 40 00 01 13 00 00 00
//Receive Data: 84 A9 61 00 02 40 17 00
//Command ID:   TI_MOD_GAIN_6DB
//Send command: 84 A9 61 00 06 40 00 01 13 06 00 00
//Receive Data: 84 A9 61 00 02 40 17 00
//Command ID:   TI_MOD_L_GAIN
//Send command: 84 A9 61 00 06 40 00 01 12 00 00 00
//Receive Data: 84 A9 61 00 02 40 17 00
	