Zephyr API 3.6.99
Loading...
Searching...
No Matches
sol_pdu_rpl_cli.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef BT_MESH_SOL_PDU_RPL_CLI_H__
8#define BT_MESH_SOL_PDU_RPL_CLI_H__
9
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
25 const struct bt_mesh_model *model;
26
27 /* Internal parameters for tracking message responses. */
29
41 void (*srpl_status)(struct bt_mesh_sol_pdu_rpl_cli *cli, uint16_t addr,
42 uint16_t range_start, uint8_t range_length);
43};
44
48#define BT_MESH_MODEL_SOL_PDU_RPL_CLI(cli_data) \
49 BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_SOL_PDU_RPL_CLI, \
50 _bt_mesh_sol_pdu_rpl_cli_op, NULL, cli_data, \
51 &_bt_mesh_sol_pdu_rpl_cli_cb)
52
72 uint8_t range_len, uint16_t *start_rsp, uint8_t *len_rsp);
73
74
85 uint8_t range_len);
86
92
94extern const struct bt_mesh_model_op _bt_mesh_sol_pdu_rpl_cli_op[];
95extern const struct bt_mesh_model_cb _bt_mesh_sol_pdu_rpl_cli_cb;
100#ifdef __cplusplus
101}
102#endif
103
104#endif /* BT_MESH_SOL_PDU_RPL_CLI_H__ */
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.
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.
Bluetooth Mesh Profile APIs.
__INT32_TYPE__ int32_t
Definition stdint.h:74
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Model callback functions.
Definition access.h:813
Model opcode handler.
Definition access.h:363
Abstraction that describes a Mesh Model instance.
Definition access.h:891
Acknowledged message context for tracking the status of model messages pending a response.
Definition msg.h:172
Message sending context.
Definition msg.h:76
Solicitation PDU RPL Client Model Context.
Definition sol_pdu_rpl_cli.h:23
const struct bt_mesh_model * model
Solicitation PDU RPL model entry pointer.
Definition sol_pdu_rpl_cli.h:25
struct bt_mesh_msg_ack_ctx ack_ctx
Definition sol_pdu_rpl_cli.h:28
void(* srpl_status)(struct bt_mesh_sol_pdu_rpl_cli *cli, uint16_t addr, uint16_t range_start, uint8_t range_length)
Optional callback for Solicitation PDU RPL Status messages.
Definition sol_pdu_rpl_cli.h:41