nRF5 SDK for Mesh v5.0.0
Data Fields
serial_handler_common_opcode_to_fp_map_t Struct Reference

Structure for mapping a command opcode to the command processing function. More...

#include <serial_handler_common.h>

Data Fields

uint8_t opcode
 Serial command opcode. More...
 
uint8_t payload_minlen
 Expected minimum payload for this serial command (can be 0). More...
 
uint8_t payload_optional_extra_bytes
 Additonal payload bytes: can also be 0. More...
 
serial_handler_common_cmd_cb_t callback
 Command processing function.
 

Detailed Description

Structure for mapping a command opcode to the command processing function.

Definition at line 65 of file serial_handler_common.h.

Field Documentation

◆ opcode

uint8_t serial_handler_common_opcode_to_fp_map_t::opcode

Serial command opcode.

See also
Serial commands

Definition at line 67 of file serial_handler_common.h.

◆ payload_minlen

uint8_t serial_handler_common_opcode_to_fp_map_t::payload_minlen

Expected minimum payload for this serial command (can be 0).

Definition at line 68 of file serial_handler_common.h.

◆ payload_optional_extra_bytes

uint8_t serial_handler_common_opcode_to_fp_map_t::payload_optional_extra_bytes

Additonal payload bytes: can also be 0.

Definition at line 69 of file serial_handler_common.h.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated