This protocol consists of the serialization of the G3 MAC API different primitives.Figure 1-11. G3 MAC API USI Frame
Format
The following two fields are available within the general MESSAGE DATA field:
G3 MAC API COMMAND (1 byte):
Available commands are enumerated in the Table 1-6 and Table 1-7 and in
the G3.h file.
Primitive function parameters:
The serialization of each primitive concatenates the different parameters
included in the function. This serialization order matches with the parameter
order indicated in the G3 specification for each primitive. Its type and length
can be seen in the examples provided.
Table 1-6. G3 MAC PLC API
Commands
G3 MAC PLC API Command
ID
G3_SERIAL_MSG_MAC_INITIALIZE
0x32
G3_SERIAL_MSG_MAC_DATA_REQUEST
0x33
G3_SERIAL_MSG_MAC_GET_REQUEST
0x34
G3_SERIAL_MSG_MAC_SET_REQUEST
0x35
G3_SERIAL_MSG_MAC_RESET_REQUEST
0x36
G3_SERIAL_MSG_MAC_SCAN_REQUEST
0x37
G3_SERIAL_MSG_MAC_START_REQUEST
0x38
G3_SERIAL_MSG_MAC_DATA_CONFIRM
0x3C
G3_SERIAL_MSG_MAC_DATA_INDICATION
0x3D
G3_SERIAL_MSG_MAC_GET_CONFIRM
0x3E
G3_SERIAL_MSG_MAC_SET_CONFIRM
0x3F
G3_SERIAL_MSG_MAC_RESET_CONFIRM
0x40
G3_SERIAL_MSG_MAC_SCAN_CONFIRM
0x41
G3_SERIAL_MSG_MAC_BEACON_NOTIFY
0x42
G3_SERIAL_MSG_MAC_START_CONFIRM
0x43
G3_SERIAL_MSG_MAC_COMM_STATUS_INDICATION
0x44
G3_SERIAL_MSG_MAC_SNIFFER_INDICATION
0x45
Table 1-7. G3 MAC RF API Commands
G3 MAC RF API Command
ID
G3_SERIAL_MSG_MAC_INITIALIZE_RF
0x1E
G3_SERIAL_MSG_MAC_DATA_REQUEST_RF
0x1F
G3_SERIAL_MSG_MAC_GET_REQUEST_RF
0x20
G3_SERIAL_MSG_MAC_SET_REQUEST_RF
0x21
G3_SERIAL_MSG_MAC_RESET_REQUEST_RF
0x22
G3_SERIAL_MSG_MAC_SCAN_REQUEST_RF
0x23
G3_SERIAL_MSG_MAC_START_REQUEST_RF
0x24
G3_SERIAL_MSG_MAC_DATA_CONFIRM_RF
0x28
G3_SERIAL_MSG_MAC_DATA_INDICATION_RF
0x29
G3_SERIAL_MSG_MAC_GET_CONFIRM_RF
0x2A
G3_SERIAL_MSG_MAC_SET_CONFIRM_RF
0x2B
G3_SERIAL_MSG_MAC_RESET_CONFIRM_RF
0x2C
G3_SERIAL_MSG_MAC_SCAN_CONFIRM_RF
0x2D
G3_SERIAL_MSG_MAC_BEACON_NOTIFY_RF
0x2E
G3_SERIAL_MSG_MAC_START_CONFIRM_RF
0x2F
G3_SERIAL_MSG_MAC_COMM_STATUS_INDICATION_RF
0x30
Note: All the primitives described above have similar names to the
functions described in the G3 specification.
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.