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

Go to the source code of this file.

Data Structures

struct  bt_mesh_loc_srv_handlers
 
struct  bt_mesh_loc_srv
 

Macros

#define BT_MESH_LOC_SRV_INIT(_handlers)
 Init parameters for a Generic Location Server model instance.
 
#define BT_MESH_MODEL_LOC_SRV(_srv)
 Generic Location Server model composition data entry.
 

Functions

int bt_mesh_loc_srv_global_pub (struct bt_mesh_loc_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_loc_global *global)
 Publish the Global Location state.
 
int bt_mesh_loc_srv_local_pub (struct bt_mesh_loc_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_loc_local *local)
 Publish the Local Location state.