Home
last modified time | relevance | path

Searched refs:TAI_SECONDS_LEN (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/
Dtime_scene_server.c79 net_buf_simple_add_mem(msg, srv->state->time.tai_seconds, TAI_SECONDS_LEN); in send_time_status()
80 if (memcmp(srv->state->time.tai_seconds, zero, TAI_SECONDS_LEN)) { in send_time_status()
96 net_buf_simple_add_mem(msg, srv->state->time.tai_seconds, TAI_SECONDS_LEN); in send_time_status()
97 if (memcmp(srv->state->time.tai_seconds, zero, TAI_SECONDS_LEN)) { in send_time_status()
220 memcpy(status.time_status.tai_seconds, buf->data, TAI_SECONDS_LEN); in time_get()
221 net_buf_simple_pull(buf, TAI_SECONDS_LEN); in time_get()
222 if (memcmp(status.time_status.tai_seconds, zero, TAI_SECONDS_LEN)) { in time_get()
223 if (buf->len != TAI_SECONDS_LEN) { in time_get()
224 BT_ERR("Invalid Time Status length %d", buf->len + TAI_SECONDS_LEN); in time_get()
238 memcpy(srv->state->time.tai_seconds, buf->data, TAI_SECONDS_LEN); in time_get()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/include/
Dtime_scene_server.h30 #define TAI_SECONDS_LEN 0x05 macro