Home
last modified time | relevance | path

Searched refs:lpn (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dlpn.c156 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in friend_clear_sent() local
207 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in clear_friendship() local
227 lpn->old_friend = lpn->frnd; in clear_friendship()
267 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in friend_req_sent() local
322 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in req_sent() local
372 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in send_friend_poll() local
407 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_set() local
467 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_msg_received() local
491 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_friend_offer() local
551 struct bt_mesh_lpn *lpn = &bt_mesh.lpn; in bt_mesh_lpn_friend_clear_cfm() local
[all …]
A Dfriend.c121 if (frnd->lpn == BT_MESH_ADDR_UNASSIGNED) { in is_lpn_unicast()
125 return (addr >= frnd->lpn && addr < (frnd->lpn + frnd->num_elem)); in is_lpn_unicast()
175 BT_DBG("LPN 0x%04x", frnd->lpn); in friend_clear()
179 friend_cred_del(frnd->net_idx, frnd->lpn); in friend_clear()
397 BT_DBG("LPN 0x%04x", frnd->lpn); in encode_friend_ctl()
402 info.dst = frnd->lpn; in encode_friend_ctl()
432 BT_DBG("lpn 0x%04x md 0x%02x", frnd->lpn, md); in encode_update()
671 .lpn_addr = sys_cpu_to_be16(frnd->lpn), in send_friend_clear()
727 if (lpn_addr != frnd->lpn) { in bt_mesh_friend_clear_cfm()
874 frnd->lpn = rx->ctx.addr; in bt_mesh_friend_req()
[all …]
A Dnet.c247 if (cred->addr == bt_mesh.lpn.frnd) { in friend_cred_set()
A Dtransport.c908 if (rx->ctx.addr == bt_mesh.lpn.frnd) { in ctl_recv()
A Dcfg_srv.c123 if (bt_mesh.lpn.established) { in hb_send()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/
A Dlpn.h21 return bt_mesh.lpn.established; in bt_mesh_lpn_established()
31 return (addr == bt_mesh.lpn.frnd); in bt_mesh_lpn_match()
40 return (bt_mesh.lpn.state == BT_MESH_LPN_WAIT_UPDATE); in bt_mesh_lpn_waiting_update()
49 return (bt_mesh.lpn.state == BT_MESH_LPN_TIMER); in bt_mesh_lpn_timer()
A Dnet.h103 u16_t lpn; member
252 struct bt_mesh_lpn lpn; /* Low Power Node state */ member
/AliOS-Things-master/components/ble_mesh/bt_mesh/
A Dbuild.mk54 L_SRCS += src/lpn.c

Completed in 22 milliseconds