nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
gen_loc_cli.h File Reference
#include <bluetooth/mesh/gen_loc.h>
#include <bluetooth/mesh/model_types.h>
#include <zephyr/sys/util.h>

Go to the source code of this file.

Data Structures

struct  bt_mesh_loc_cli_handlers
 
struct  bt_mesh_loc_cli
 

Macros

#define BT_MESH_LOC_CLI_INIT(_handlers)
 Initialization parameters for a Generic Location Client model instance.
 
#define BT_MESH_MODEL_LOC_CLI(_cli)
 Generic Location Client model composition data entry.
 

Functions

int bt_mesh_loc_cli_global_get (struct bt_mesh_loc_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_loc_global *rsp)
 Get the global location of the bound srv.
 
int bt_mesh_loc_cli_global_set (struct bt_mesh_loc_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_loc_global *loc, struct bt_mesh_loc_global *rsp)
 Set the Global Location in the server.
 
int bt_mesh_loc_cli_global_set_unack (struct bt_mesh_loc_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_loc_global *loc)
 Set the Global Location in the server without requesting a response.
 
int bt_mesh_loc_cli_local_get (struct bt_mesh_loc_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_loc_local *rsp)
 Get the local location of the bound srv.
 
int bt_mesh_loc_cli_local_set (struct bt_mesh_loc_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_loc_local *loc, struct bt_mesh_loc_local *rsp)
 Set the Local Location in the server.
 
int bt_mesh_loc_cli_local_set_unack (struct bt_mesh_loc_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_loc_local *loc)
 Set the Local Location in the server without requesting a response.