CONFIG_KISS_FRAME - shawnchain/aprs GitHub Wiki

The KISS frame for Settings

1. KISS Commands for Settings

enum {
	KISS_CMD_DATA = 0,
	KISS_CMD_TXDELAY,
	KISS_CMD_CONFIG_CALL = 0x0C,
	KISS_CMD_CONFIG_PARAMS = 0x0D,
	KISS_CMD_CONFIG_TEXT = 0x0E,
	KISS_CMD_CONFIG_COMMIT = 0x0F,
};

2. Settings Frame Explained

2.1 Parameters

|data[4096]|crc[1]|

2.2 CALL

|mycall[7]|destcall[7]|path1[7]|path2[7]|

2.3 TEXT

|text[256]

3. Protocols Explained

3.1 Host Write to TNC

Just encapsulate the above frame into KISS frame and send to the TNC

3.2 Host Read from TNC

Send the KISS frame with corresponding CMD with zero byte of data will trigger the read operation.

  • Read the calls
>>> C0 0C C0
  • Read the parameters
>>> C0 0D FF C0
  • Read the text
>>> C0 0E C0