Serial interface type definitions. More...
Data Structures | |
struct | serial_cmd_model_specific_init_header_t |
Header for the model specific events. More... | |
struct | serial_cmd_model_specific_command_header_t |
Header for the model specific events. More... | |
Typedefs | |
typedef void(* | nrf_mesh_serial_app_rx_cb_t) (const uint8_t *p_data, uint32_t length) |
Serial RX callback function type for application events. More... | |
Enumerations | |
enum | nrf_mesh_serial_state_t { NRF_MESH_SERIAL_STATE_UNINITIALIZED, NRF_MESH_SERIAL_STATE_INITIALIZED, NRF_MESH_SERIAL_STATE_RUNNING } |
Mesh serial states. More... | |
enum | serial_device_operating_mode_t { SERIAL_DEVICE_OPERATING_MODE_TEST = 0, SERIAL_DEVICE_OPERATING_MODE_BOOTLOADER = 1, SERIAL_DEVICE_OPERATING_MODE_APPLICATION = 2, SERIAL_DEVICE_OPERATING_MODE__LAST = 2 } |
Device operating mode. More... | |
enum | serial_cmd_tx_power_value_t { SERIAL_CMD_TX_POWER_VALUE_0dBm = 0x00, SERIAL_CMD_TX_POWER_VALUE_Pos4dBm = 0x04, SERIAL_CMD_TX_POWER_VALUE_Neg30dBm = 0xD8, SERIAL_CMD_TX_POWER_VALUE_Neg20dBm = 0xEC, SERIAL_CMD_TX_POWER_VALUE_Neg16dBm = 0xF0, SERIAL_CMD_TX_POWER_VALUE_Neg12dBm = 0xF4, SERIAL_CMD_TX_POWER_VALUE_Neg8dBm = 0xF8, SERIAL_CMD_TX_POWER_VALUE_Neg4dBm = 0xFC } |
TX power values available. More... | |
Serial interface type definitions.
typedef void(* nrf_mesh_serial_app_rx_cb_t) (const uint8_t *p_data, uint32_t length) |
Serial RX callback function type for application events.
Definition at line 78 of file nrf_mesh_serial.h.
Mesh serial states.
Definition at line 70 of file nrf_mesh_serial.h.
Device operating mode.
Enumerator | |
---|---|
SERIAL_DEVICE_OPERATING_MODE_TEST | Testing operating mode. |
SERIAL_DEVICE_OPERATING_MODE_BOOTLOADER | Bootloader operating mode. |
SERIAL_DEVICE_OPERATING_MODE_APPLICATION | Regular operating mode. |
Definition at line 71 of file serial_types.h.
TX power values available.
Definition at line 82 of file serial_types.h.