//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
//Button PLLBYPASS1 // SET HIGH 
//Button PLLBYPASS0 // SET LOW 
//Button PLLSEL1  // SET HIGH 
//Button PLLSEL0  // SET LOW 
//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 
//
Command ID:	  VOCODER_CMODE
Send Command: 84 A9 61 00 02 00 02 08 
Receive Data: 84 A9 61 00 02 00 02 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:	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:   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 12 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:   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 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_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_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:	NXDN_CALL_OPTION
Send	Command: 84 A9 61 00 06 06 47 82 00 00 00 00
Receive Data:   84 A9 61 00 02 06 47 00

Pause 1000
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:	NXDN_DATA_FRAME
//Send command: 84 a9 61 00 13 00 43 00 00 0f 10 81 00 00 00 20 03 88 93 90 00 00 00 00 00
//Receive Data: 84 a9 61 00 01 20 43



//Command ID:   NXDN_DATA_FRAME
//Send command: 84 a9 61 00 09 00 43 00 00 05 8C 81 00 00 00
//Receive Data: 84 a9 61 00 01 20 43
Command ID:   NXDN_PREAMBLE_LEN
Send command: 84 a9 61 00 03 00 46 10 01
Receive Data: 84 a9 61 00 02 00 46 00
Command ID:   SYNC_MISS_COUNT
Send command: 84 a9 61 00 02 06 2F 10
Receive Data: 84 a9 61 00 02 06 2F 00
Command ID:   NXDN_PROTOCOL_OPTION
Send command: 84 a9 61 00 02 06 55 10
Receive Data: 84 a9 61 00 02 06 55 00
