37 #ifndef SERIAL_TYPES_H__ 38 #define SERIAL_TYPES_H__ 41 #include "nrf_mesh_serial.h" 51 #define SERIAL_EVT_MESH_MESSAGE_RECEIVED_LEN_OVERHEAD (19 + NRF_MESH_SERIAL_PACKET_OVERHEAD) 53 #define SERIAL_EVT_MESH_MESSAGE_RECEIVED_DATA_MAXLEN (NRF_MESH_SERIAL_PAYLOAD_MAXLEN - (SERIAL_EVT_MESH_MESSAGE_RECEIVED_LEN_OVERHEAD - NRF_MESH_SERIAL_PACKET_OVERHEAD)) 55 #define SERIAL_PACKET_INTERNAL_EVENT_OVERHEAD (3) 57 #define SERIAL_EVT_KEY_INDEX_INVALID (0xFF) 59 #define SERIAL_CMD_MESH_PACKET_SEND_OVERHEAD (10) 78 SERIAL_DEVICE_OPERATING_MODE__LAST = 2,
95 typedef struct __attribute((packed))
102 typedef struct __attribute((packed))
uint16_t access_model_handle_t
Access layer handle type.
Bootloader operating mode.
serial_device_operating_mode_t
Device operating mode.
serial_cmd_tx_power_value_t
TX power values available.
Header for the model specific events.
access_model_handle_t model_handle
Handle of the model that the command should be sent to.