Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
Data Structures | |
struct | bt_mesh_sol_pdu_rpl_cli |
Solicitation PDU RPL Client Model Context. More... | |
Macros | |
#define | BT_MESH_MODEL_SOL_PDU_RPL_CLI(cli_data) |
Solicitation PDU RPL Client model composition data entry. | |
Functions | |
int | bt_mesh_sol_pdu_rpl_clear (struct bt_mesh_msg_ctx *ctx, uint16_t range_start, uint8_t range_len, uint16_t *start_rsp, uint8_t *len_rsp) |
Remove entries from Solicitation PDU RPL of addresses in given range. | |
int | bt_mesh_sol_pdu_rpl_clear_unack (struct bt_mesh_msg_ctx *ctx, uint16_t range_start, uint8_t range_len) |
Remove entries from Solicitation PDU RPL of addresses in given range (unacked). | |
void | bt_mesh_sol_pdu_rpl_cli_timeout_set (int32_t timeout) |
Set the transmission timeout value. | |
#define BT_MESH_MODEL_SOL_PDU_RPL_CLI | ( | cli_data | ) |
#include <zephyr/bluetooth/mesh/sol_pdu_rpl_cli.h>
Solicitation PDU RPL Client model composition data entry.
int bt_mesh_sol_pdu_rpl_clear | ( | struct bt_mesh_msg_ctx * | ctx, |
uint16_t | range_start, | ||
uint8_t | range_len, | ||
uint16_t * | start_rsp, | ||
uint8_t * | len_rsp ) |
#include <zephyr/bluetooth/mesh/sol_pdu_rpl_cli.h>
Remove entries from Solicitation PDU RPL of addresses in given range.
This method can be used asynchronously by setting start_rsp
or len_rsp
as NULL. This way the method will not wait for response and will return immediately after sending the command.
To process the response arguments of an async method, register the srpl_status
callback in bt_mesh_sol_pdu_rpl_cli
struct.
ctx | Message context for the message. |
range_start | Start of Unicast address range. |
range_len | Length of Unicast address range. Valid values are 0x00 and 0x02 to 0xff. |
start_rsp | Range start response buffer. |
len_rsp | Range length response buffer. |
int bt_mesh_sol_pdu_rpl_clear_unack | ( | struct bt_mesh_msg_ctx * | ctx, |
uint16_t | range_start, | ||
uint8_t | range_len ) |
#include <zephyr/bluetooth/mesh/sol_pdu_rpl_cli.h>
Remove entries from Solicitation PDU RPL of addresses in given range (unacked).
ctx | Message context for the message. |
range_start | Start of Unicast address range. |
range_len | Length of Unicast address range. Valid values are 0x00 and 0x02 to 0xff. |
void bt_mesh_sol_pdu_rpl_cli_timeout_set | ( | int32_t | timeout | ) |
#include <zephyr/bluetooth/mesh/sol_pdu_rpl_cli.h>
Set the transmission timeout value.
timeout | The new transmission timeout in milliseconds. |