nRF5 SDK for Mesh v3.2.0  08c60f6

Modules

 PB-MESH Client model specific serial commands
 

Functions

struct __attribute__ ((packed))
 Provisioning data required by the remote provisioning client for command type SERIAL_PB_REMOTE_CLIENT_CMD_TYPE_PROVISION. More...
 
void serial_pb_remote_client_init (nrf_mesh_prov_ctx_t *p_prov_ctxs, uint8_t prov_ctx_array_size, serial_cmd_prov_keypair_t *p_keypair)
 Adds the pb_remote_client model to the serial_handler_models module and initializes the handlers serial_pb_remote_client specific states. More...
 

Variables

 serial_pbr_client_provision_t
 
 serial_pbr_client_command_data_t
 
 serial_pbr_client_remote_uuid_event_t
 

Detailed Description

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed)  )

Provisioning data required by the remote provisioning client for command type SERIAL_PB_REMOTE_CLIENT_CMD_TYPE_PROVISION.

Additional data format used for reporting the PB_REMOTE_EVENT_REMOTE_UUID event.

Format used by the pbr_client for the data field of the serial command Model Specific Command.

All other events do not provide additional data.

< Data needed to provision a device

< Provisioining capabilities of this device

< Id of the unprovisioned device reported by the PB_REMOTE_EVENT_REMOTE_UUID event

See also
pb_remote_event_type_t

Command type indicating one of the PB-MESH Client model specific serial commands

Only relevant for SERIAL_PB_REMOTE_CLIENT_CMD_TYPE_PROVISION type command.

< ID of the unprovisioned device given by the server.

< The UUID of the unprovisioned device.

Definition at line 65 of file serial_pb_remote_client.h.

◆ serial_pb_remote_client_init()

void serial_pb_remote_client_init ( nrf_mesh_prov_ctx_t *  p_prov_ctxs,
uint8_t  prov_ctx_array_size,
serial_cmd_prov_keypair_t p_keypair 
)

Adds the pb_remote_client model to the serial_handler_models module and initializes the handlers serial_pb_remote_client specific states.

Parameters
[in]p_prov_ctxsThe pointer to the list of available provisioning instances.
[in]prov_ctx_array_sizeThe number of available provisioning instances.
[in]p_keypairThe pointer to the provisioning keypair (public and private keys)