Home
last modified time | relevance | path

Searched refs:lpn_counter (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Dtransport.h49 uint16_t lpn_counter; member
62 uint16_t lpn_counter; member
67 uint16_t lpn_counter; member
Dfriend.c137 frnd->lpn_counter, frnd->counter, in friend_cred_create()
253 uint16_t lpn_addr, lpn_counter; in bt_mesh_friend_clear() local
268 lpn_counter = sys_be16_to_cpu(msg->lpn_counter); in bt_mesh_friend_clear()
270 LOG_DBG("LPN addr 0x%04x counter 0x%04x", lpn_addr, lpn_counter); in bt_mesh_friend_clear()
284 if (lpn_counter - frnd->lpn_counter > 255) { in bt_mesh_friend_clear()
285 LOG_WRN("LPN Counter out of range (old %u new %u)", frnd->lpn_counter, lpn_counter); in bt_mesh_friend_clear()
292 cfm.lpn_counter = msg->lpn_counter; in bt_mesh_friend_clear()
825 .lpn_counter = sys_cpu_to_be16(frnd->lpn_counter), in send_friend_clear()
873 uint16_t lpn_addr, lpn_counter; in bt_mesh_friend_clear_cfm() local
894 lpn_counter = sys_be16_to_cpu(msg->lpn_counter); in bt_mesh_friend_clear_cfm()
[all …]
Dnet.h68 uint16_t lpn_counter; member
154 uint16_t lpn_counter; member
Dlpn.c225 .lpn_counter = sys_cpu_to_be16(bt_mesh.lpn.lpn_counter), in send_friend_clear()
370 lpn->lpn_counter++; in send_friend_req()
378 .lpn_counter = sys_cpu_to_be16(lpn->lpn_counter), in send_friend_req()
621 lpn->frnd, lpn->lpn_counter, in friend_cred_create()
712 counter = sys_be16_to_cpu(msg->lpn_counter); in bt_mesh_lpn_friend_clear_cfm()
716 if (addr != bt_mesh_primary_addr() || counter != lpn->lpn_counter) { in bt_mesh_lpn_friend_clear_cfm()
Dsubnet.h175 uint16_t lpn_counter, uint16_t frnd_counter,
Dsubnet.c484 uint16_t frnd_addr, uint16_t lpn_counter, in bt_mesh_friend_cred_create() argument
494 sys_put_be16(lpn_counter, p + 5); in bt_mesh_friend_cred_create()