38 #ifndef PB_REMOTE_MSGS_H__ 39 #define PB_REMOTE_MSGS_H__ 42 #include "nrf_mesh_defines.h" 55 #define BEARER_LINK_REASON_NOT_SUPPORTED (0xFF) 307 typedef struct __attribute((packed))
316 typedef struct __attribute((packed))
325 typedef struct __attribute((packed))
334 typedef struct __attribute((packed))
350 typedef struct __attribute((packed))
361 typedef struct __attribute((packed))
370 typedef struct __attribute((packed))
380 typedef struct __attribute((packed))
389 typedef struct __attribute((packed))
400 typedef struct __attribute((packed))
409 typedef struct __attribute((packed))
420 typedef struct __attribute((packed))
423 uint8_t buffer[PROV_PDU_MAX_LENGTH];
429 typedef struct __attribute((packed))
441 typedef struct __attribute((packed))
The Provisioning Server closed the Local Provisioning bearer link.
Command to start scanning while reporting the number of unprovisioned devices nearby.
Remote Provisioning Packet Transfer Message.
Sent from the Server to the Client to indicate the state of the local packet transfer.
pb_remote_bearer_type_t
Remote Provisioning bearer type.
Report of the UUID and device ID of an unprovisioned device sent from the Server to the Client...
uint8_t status
Link Close reason code.
Remote Provisioning Packet Transfer Report Message.
Command to start scanning from the Client to the Server.
Remote Provisioning Scan UUID Number Report Message.
Remote Provisioning Scan Status Message.
pb_remote_link_status_t
Remote Link Status Codes.
The Provisioning Client received a message, but the message was not expected.
#define NRF_MESH_UUID_SIZE
Size (in octets) of a UUID.
Delivering the buffer to the unprovisioned device failed.
Status message sent as reply to a PB_REMOTE_OP_PACKET_TRANSFER or PB_REMOTE_OP_PACKET_TRANSFER_REPORT...
uint8_t report_count
Number of the reports sent before scan stop.
The whole buffer is accepted and the packet transfer is successfully completed.
The Remote Provisioning Packet Transfer Report message was receive, but the message was not expected...
Remote Provisioning Scan Stopped Message.
pb_remote_packet_transfer_status_t
Remote Provisioning Packet Transfer Status.
The Provisioning Client accepted that the Local Provisioning Bearer link was closed.
uint8_t unprov_device_id
ID of the provisioning Server slot where this device UUID is stored.
Remote Provisioning Scan Start with Filter Message.
Number of unprovisioned devices report.
uint8_t unprov_device_count
Number of elements in the provisioning server's unprovisioned device list.
uint8_t status
Link status code.
The Server started the procedure to open the Local Provisioning Bearer link to the unprovisioned devi...
uint8_t bearer_type
Local provisioning bearer type.
pb_remote_opcode_t
Remote provisioning opcodes.
Remote Provisioning Link Open Message.
pb_remote_packet_transfer_delivery_status_t
Remote Provisioning Packet Transfer Report Delivery Status.
uint8_t reason
Bearer specific link close reason.
The unprovisioned device closed the Local Provisioning bearer link.
pb_remote_scan_stopped_status_t
Remote Provisioning Scan Stopped Status Codes.
The Provisioning Client received a message, but the message was not expected.
Remote Provisioning Scan Report Status Message.
Remote Prvisioning Link Close Message.
The Local Provisioning Bearer link cannot be opened because the Provisioning Server has already anoth...
The Provisioning Server does not have an active Local Provisioning Bearer link.
pb_remote_report_status_t
Remote Provisioning Report Status Codes.
The receiver accepted the Remote Provisioning Packet Transfer Report.
Remote Provisioning Link Status Message.
uint8_t reason
Link Close reason code.
The Provisioning Server cannot cancel the scanning procedure due to internal state of the server: sca...
The Provisioning Server cannot start the scanning procedure due to internal state of the server...
The provided Unprovisioned Device ID in the Remote Provisioning Link Open message was invalid...
The Provisioning Client accepted that the Provisioning Server has stopped scanning.
The Unprovisioned Devices List is full and scanning cannot be continued.
The Local Provisioning Bearer link is opened.
The Local Provisioning Bearer link was closed.
Command to cancel scanning for unprovisioned devices from the Client to the Server.
The Local Provisioning Bearer link open procedure timed out.
uint8_t status
The status of the report.
pb_remote_link_status_report_t
Provisioning Bearer Link Status Report.
The Provisioning Server has stopped scanning upon reception of the Remote Provisioning Scan Cancel me...
Link status sent as a reply to the PB_REMOTE_OP_LINK_OPEN or PB_REMOTE_OP_LINK_CLOSE commands or as a...
The scanning was successfully started.
Command to open the local link from the Client to the Server.
uint8_t unprov_device_id
Unprovisioned Device ID of the reported device.
Acknowledgment message from the Server that the scanning was stopped.
pb_remote_scan_status_t
Remote Provisioning Scan Status Codes.
Command to close the local link from the Client to the Server.
uint8_t status
The status of the scan.
Message used by the Client to acknowledge the scan reports.
Remote Provisioning Scan UUID Report.
Sent as a reply to the Remote Provisioning Packet Transfer when the packet transfer cannot be accepte...
Remote Provisioning Packet Transport Status Message.
Remote Provisioning Scan Unprovisioned Device Number Message.
uint8_t status
Status of the scan.
The Server cannot close the Local Provisioning Bearer link beacause the Client that requested the lin...
The scanning has reached timeout.
Provisioning PDU from the Remote Client/Server.
The buffer was successfully delivered to the unprovisioned device.
Remote Provisioning Link Status Report Message.
uint8_t status
Status of the packet transfer.
uint8_t status
Status of the buffer delivery.
The link between the Provisioning Server and the unprovisioned device was not active upon reception o...
Command to start scanning with a filter from the Client to the Server.