nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ global_set

void(*const bt_mesh_loc_srv_handlers::global_set) (struct bt_mesh_loc_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_loc_global *loc)

Set the Global Location state.

Any changes to the new loc parameter will be taken into account before a response is sent to the client.

Note
This handler is mandatory.
Parameters
[in]srvServer to set the Global Location state of.
[in]ctxContext of the set message that triggered the change, or NULL if it was not triggered by a message.
[in,out]locNew Global Location state.