Home
last modified time | relevance | path

Searched refs:K_SECONDS (Results 1 – 12 of 12) sorted by relevance

/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/src/
Dbeacon.c25 #define UNPROVISIONED_INTERVAL (K_SECONDS(5))
26 #define PROVISIONED_INTERVAL (K_SECONDS(10))
96 #define BEACON_THRESHOLD(sub) (K_SECONDS(10 * ((sub)->beacons_last + 1)) - K_SECONDS(5))
118 if (time_diff < K_SECONDS(600) && // 600:time unit in secure_beacon_send()
Dlpn.c28 #define LPN_AUTO_TIMEOUT K_SECONDS(MYNEWT_VAL(BLE_MESH_LPN_AUTO_TIMEOUT))
37 #define FRIEND_REQ_RETRY_TIMEOUT K_SECONDS(MYNEWT_VAL(BLE_MESH_LPN_RETRY_TIMEOUT))
40 #define FRIEND_REQ_SCAN K_SECONDS(1)
51 #define REQ_ATTEMPTS(lpn) (POLL_TIMEOUT_MAX(lpn) < K_SECONDS(3) ? 2 : 4)
834 return min(POLL_TIMEOUT_MAX(lpn), K_SECONDS(1)); in poll_timeout()
Dproxy.c35 #define PROXY_SAR_TIMEOUT K_SECONDS(20)
1034 #define NODE_ID_TIMEOUT K_SECONDS(CONFIG_BT_MESH_NODE_ID_TIMEOUT)
1185 max_timeout = max(max_timeout, K_SECONDS(1)); in gatt_proxy_advertise()
1269 return K_SECONDS(60); // 60:60s in bt_mesh_proxy_adv_start()
Dmodel_cli.c14 static s32_t msg_timeout = K_SECONDS(5);
Daccess.c70 period = K_SECONDS(mod->pub->period & BIT_MASK(6)); // 6:value of step in bt_mesh_model_pub_period_get()
75 period = K_SECONDS((mod->pub->period & BIT_MASK(6)) * 10); // 6:value of step, 10:10s in bt_mesh_model_pub_period_get()
Dprov.c193 #define CLOSING_TIMEOUT K_SECONDS(3)
194 #define TRANSACTION_TIMEOUT K_SECONDS(30)
195 #define PROTOCOL_TIMEOUT K_SECONDS(60)
Dhealth_cli.c24 static s32_t msg_timeout = K_SECONDS(5);
Dfriend.c705 K_SECONDS(frnd->clear.repeat_sec)); in friend_clear_sent()
1068 k_delayed_work_submit(&frnd->timer, K_SECONDS(1)); in buf_send_end()
Dsettings.c951 timeout = K_SECONDS(CONFIG_BT_MESH_RPL_STORE_TIMEOUT); in schedule_store()
953 timeout = K_SECONDS(CONFIG_BT_MESH_STORE_TIMEOUT); in schedule_store()
Dtransport.c1053 if (k_uptime_get_32() - rx->last > K_SECONDS(60)) { // 60:60s in seg_ack()
Dcfg_cli.c32 static s32_t msg_timeout = K_SECONDS(5); // 5:5s
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/include/mesh/
Dglue.h156 #define K_SECONDS(s) K_MSEC((s) * MSEC_PER_SEC) macro
157 #define K_MINUTES(m) K_SECONDS((m) * 60)