//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:   PROCESS_MODE_ANALOG
Send command: 84 A9 61 00 02 00 1A 80
Receive	Data:84 A9 61 00 02 00 17 0E
Command ID:   ANALOG_SUBAUDIO
Send Command: 84 A9 61 00 03 00 26 02 03
Receive	Data:84 A9 61 00 02 00 17 0E
Command ID:	  VOCODER_SEL
Send Command: 84 A9 61 00 02 00 10 04
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 02 00 17 06


Command ID:   PROCESS_MODE_LAYER3
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:	DEMOD_GAIN
Send	Command: 84 A9 61 00 03 00 1C 00 00
Receive	Command:84 A9 61 00 02 00 1C 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 04
Receive Data: 84 A9 61 00 02 00 10 00
pause 4000

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 7D 01 23 45 67
Receive Data: 84 A9 61 00 02 03 7D 00
Command ID:   DPMR_OWN_ID_BCD
Send command: 84 A9 61 00 05 03 7E 01 23 45 67
Receive Data: 84 A9 61 00 02 03 7E 00
Command ID:   READ_DPMR_CALLED_OWN_BCD
Send command: 84 A9 61 00 02 23 7D 7E
Receive Data: 84 A9 61 00 05 23 7D 01 23 45 67
Receive Data: 84 A9 61 00 05 23 7E 01 23 45 67
Command ID:   RFAR_DPMR_CALLED_OWN_BCD
Send command: 84 A9 61 00 02 33 7D 7E
Receive Data: 84 A9 61 00 05 33 7D 00 00 00 00
Receive Data: 84 A9 61 00 05 33 7E 00 00 00 00
Command ID:   DPMR_OWN_ID_BCD
Send command: 84 A9 61 00 06 05 36 01 23 45 67 01
Receive Data: 84 A9 61 00 02 05 36 00
Command ID:   READ_DPMR_CALLED_OWN_BCD
Send command: 84 A9 61 00 02 25 36 01
Receive Data: 84 A9 61 00 05 25 36 01 23 45 67
*/

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
Send Command: 84 A9 61 00 02 00 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 01 00 78
//Receive Data: 84 A9 61 00 02 00 78 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:   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 06
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 03
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 39 31 38 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 31 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 32 2E 30 30 2E 30 33 20 20
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 01 7F CB
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:	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 17 0e
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 02 26 00 76 03 B3 00 00 00 00
Receive	Data:84 A9 61 00 02 00 17 0E

Command ID:	modout_config
Send	Command: 84 A9 61 00 06 05 41 00 00 00 00 00
 Receive	Data:84 A9 61 00 02 05 41 00
Command ID:	IQCOMP_COEF_WRITE
Send	Command: 84 A9 61 00 0A 00 42 44 01 CB 00 28 00 00 00 00
Receive	Data:84 A9 61 00 02 00 17 0E
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 02 23 17 06
Command ID:   DPMR_FS2
Send command: 84 A9 61 00 04 03 4D 5F 7D F7
Receive Data: 84 A9 61 00 02 03 17 06
Command ID:   READ_DPMR_FS2
Send command: 84 A9 61 00 01 23 4D
Receive Data: 84 A9 61 00 02 23 17 06
