Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
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
12
13#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_SOL_PDU_RPL_CLI_H_
14#define ZEPHYR_INCLUDE_BLUETOOTH_MESH_SOL_PDU_RPL_CLI_H_
15
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
27
31 const struct bt_mesh_model *model;
32
33 /* Internal parameters for tracking message responses. */
35
47 void (*srpl_status)(struct bt_mesh_sol_pdu_rpl_cli *cli, uint16_t addr,
48 uint16_t range_start, uint8_t range_length);
49};
50
54#define BT_MESH_MODEL_SOL_PDU_RPL_CLI(cli_data) \
55 BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_SOL_PDU_RPL_CLI, \
56 _bt_mesh_sol_pdu_rpl_cli_op, NULL, cli_data, \
57 &_bt_mesh_sol_pdu_rpl_cli_cb)
58
78 uint8_t range_len, uint16_t *start_rsp, uint8_t *len_rsp);
79
80
91 uint8_t range_len);
92
98
100extern const struct bt_mesh_model_op _bt_mesh_sol_pdu_rpl_cli_op[];
101extern const struct bt_mesh_model_cb _bt_mesh_sol_pdu_rpl_cli_cb;
103
105
106#ifdef __cplusplus
107}
108#endif
109
110#endif /* ZEPHYR_INCLUDE_BLUETOOTH_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:635
Model opcode handler.
Definition access.h:182
Abstraction that describes a Mesh Model instance.
Definition access.h:713
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:29
const struct bt_mesh_model * model
Solicitation PDU RPL model entry pointer.
Definition sol_pdu_rpl_cli.h:31
struct bt_mesh_msg_ack_ctx ack_ctx
Definition sol_pdu_rpl_cli.h:34
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:47