nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
time_cli.h File Reference

Go to the source code of this file.

Data Structures

struct  bt_mesh_time_cli_handlers
 
struct  bt_mesh_time_cli
 

Macros

#define BT_MESH_TIME_CLI_INIT(_handlers)
 Initialization parameters for a Time Client model instance.
 
#define BT_MESH_MODEL_TIME_CLI(_cli)
 Time Client model composition data entry.
 

Functions

int bt_mesh_time_cli_time_get (struct bt_mesh_time_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_time_status *rsp)
 Get the current Time Status of a Time Server.
 
int bt_mesh_time_cli_time_set (struct bt_mesh_time_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_time_status *set, struct bt_mesh_time_status *rsp)
 Set the Time Status of a Time Server.
 
int bt_mesh_time_cli_zone_get (struct bt_mesh_time_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_time_zone_status *rsp)
 Get the Time Zone status of a Time Server.
 
int bt_mesh_time_cli_zone_set (struct bt_mesh_time_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_time_zone_change *set, struct bt_mesh_time_zone_status *rsp)
 Schedule a Time Zone change for the Time Server.
 
int bt_mesh_time_cli_tai_utc_delta_get (struct bt_mesh_time_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_time_tai_utc_delta_status *rsp)
 Get the UTC Delta status of a Time Server.
 
int bt_mesh_time_cli_tai_utc_delta_set (struct bt_mesh_time_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_time_tai_utc_change *set, struct bt_mesh_time_tai_utc_delta_status *rsp)
 Schedule a UTC Delta change for the Timer Server.
 
int bt_mesh_time_cli_role_get (struct bt_mesh_time_cli *cli, struct bt_mesh_msg_ctx *ctx, uint8_t *rsp)
 Get the Time Role state of a Time Server.
 
int bt_mesh_time_cli_role_set (struct bt_mesh_time_cli *cli, struct bt_mesh_msg_ctx *ctx, const uint8_t *set, uint8_t *rsp)
 Set the Time Role state of a Time Server.