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

◆ local_set

void(*const bt_mesh_loc_srv_handlers::local_set) (struct bt_mesh_loc_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_loc_local *loc)

Set the Local 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 Local 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 Local Location state.