1.5.2 G3 ADP Access

This protocol consists of the serialization of the G3 ADP API different primitives.
Figure 1-10. G3 ADP API USI Frame Format
The following two fields are available within the general MESSAGE DATA field:
  • G3 ADP API COMMAND (1 byte): Available commands are enumerated in Table 1-4, Table 1-5 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-4. G3 ADP API Commands
G3 ADP API CommandID
G3_SERIAL_MSG_ADP_INITIALIZE0x0A
G3_SERIAL_MSG_ADP_DATA_REQUEST0x0B
G3_SERIAL_MSG_ADP_DISCOVERY_REQUEST0x0C
G3_SERIAL_MSG_ADP_NETWORK_START_REQUEST0x0D
G3_SERIAL_MSG_ADP_NETWORK_JOIN_REQUEST0x0E
G3_SERIAL_MSG_ADP_NETWORK_LEAVE_REQUEST0x0F
G3_SERIAL_MSG_ADP_RESET_REQUEST0x10
G3_SERIAL_MSG_ADP_SET_REQUEST0x11
G3_SERIAL_MSG_ADP_GET_REQUEST0x12
G3_SERIAL_MSG_ADP_LBP_REQUEST0x13
G3_SERIAL_MSG_ADP_ROUTE_DISCOVERY_REQUEST0x14
G3_SERIAL_MSG_ADP_PATH_DISCOVERY_REQUEST0x15
G3_SERIAL_MSG_ADP_MAC_SET_REQUEST0x16
G3_SERIAL_MSG_ADP_MAC_GET_REQUEST0x17
G3_SERIAL_MSG_ADP_NO_IP_DATA_REQUEST0x18
G3_SERIAL_MSG_ADP_DATA_CONFIRM0x1E
G3_SERIAL_MSG_ADP_DATA_INDICATION0x1F
G3_SERIAL_MSG_ADP_NETWORK_STATUS_INDICATION0x20
G3_SERIAL_MSG_ADP_DISCOVERY_CONFIRM0x21
G3_SERIAL_MSG_ADP_NETWORK_START_CONFIRM0x22
G3_SERIAL_MSG_ADP_NETWORK_JOIN_CONFIRM0x23
G3_SERIAL_MSG_ADP_NETWORK_LEAVE_CONFIRM0x24
G3_SERIAL_MSG_ADP_NETWORK_LEAVE_INDICATION0x25
G3_SERIAL_MSG_ADP_RESET_CONFIRM0x26
G3_SERIAL_MSG_ADP_SET_CONFIRM0x27
G3_SERIAL_MSG_ADP_GET_CONFIRM0x28
G3_SERIAL_MSG_ADP_LBP_CONFIRM0x29
G3_SERIAL_MSG_ADP_LBP_INDICATION0x2A
G3_SERIAL_MSG_ADP_ROUTE_DISCOVERY_CONFIRM0x2B
G3_SERIAL_MSG_ADP_PATH_DISCOVERY_CONFIRM0x2C
G3_SERIAL_MSG_ADP_MAC_SET_CONFIRM0x2D
G3_SERIAL_MSG_ADP_MAC_GET_CONFIRM0x2E
G3_SERIAL_MSG_ADP_BUFFER_INDICATION0x2F
G3_SERIAL_MSG_ADP_DISCOVERY_INDICATION0x30
G3_SERIAL_MSG_ADP_PREQ_INDICATION0x31
G3_SERIAL_MSG_ADP_UPD_NON_VOLATILE_DATA_INDICATION0x32
G3_SERIAL_MSG_ADP_ROUTE_NOT_FOUND_INDICATION0x33
Note: All of the primitives described above have similar names to the functions described in the G3 specification.

Last G3 releases include additional primitives to handle LBP functionality on G3 ADP serialization.

Table 1-5. G3 ADP API LBP Extension Commands
G3 ADP API LBP Extension CommandID
G3_SERIAL_MSG_LBP_SET_REQUEST0x3C
G3_SERIAL_MSG_LBP_DEV_FORCE_REGISTER0x3D
G3_SERIAL_MSG_LBP_COORD_KICK_DEVICE0x3E
G3_SERIAL_MSG_LBP_COORD_REKEY0x3F
G3_SERIAL_MSG_LBP_COORD_SET_REKEY_PHASE0x40
G3_SERIAL_MSG_LBP_COORD_ACTIVATE_NEW_KEY0x41
G3_SERIAL_MSG_LBP_COORD_SHORT_ADDRESS_ASSIGN0x42
G3_SERIAL_MSG_LBP_SET_CONFIRM0x46
G3_SERIAL_MSG_LBP_COORD_JOIN_REQUEST_INDICATION0x47
G3_SERIAL_MSG_LBP_COORD_JOIN_COMPLETE_INDICATION0x48
G3_SERIAL_MSG_LBP_COORD_LEAVE_INDICATION0x49