SN260
EmberZNet serial protocol
Table 61. serialRead
Name: serialRead
ID: 0x11
Description: Allows the Host to read a serial message from the InSight debug system via the SN260.
Command parameters:
int8u length
The maximum number of bytes to read.
Response parameters:
int8u messageLength
The length of the messageContents parameter in bytes.
int8u[] messageContents
The serial message.
Table 62. debugWrite
Name: debugWrite
ID: 0x12
Description: Sends a debug message from the Host to the InSight debug system via the SN260.
Command parameters:
boolean binaryMessage
TRUE if the message should be interpreted as binary data, FALSE if the
message should be interpreted as ASCII text.
int8u messageLength
The length of the messageContents parameter in bytes.
int8u[] messageContents
Response parameters:
The binary message.
EmberStatus status
An EmberStatus value indicating success or the reason for failure.
Table 63. debugHandler
Name: debugHandler
ID: 0x13
Description: Delivers a binary message from the InSight debug system to the Host via the SN260.
This frame is a response to the callback command.
Response parameters:
int8u messageLength
The length of the messageContents parameter in bytes.
int8u[] messageContents
The binary message.
7.3.6 Networking frames
Table 64. setEncryptionKey
Name: setEncryptionKey
ID: 0x14
Description:
Sets the encryption key used to encrypt and decrypt radio messages. This function does not work if the stack is
already associated with a network.
Command parameters:
int8u[16] key
A pointer to a 16-byte encryption key.
int8u keySequenceNumber
The sequence number associated with this key.
57/88