Home | History | Annotate | Download | only in smp

Lines Matching full:bd_addr

37 static void smp_connect_cback (BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, tBT_TRANSPORT transport);
38 static void smp_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf);
77 static void smp_connect_cback (BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason,
91 if (memcmp(bd_addr, p_cb->pairing_bda, BD_ADDR_LEN) == 0)
94 (bd_addr[0]<<24)+(bd_addr[1]<<16)+(bd_addr[2]<<8) + bd_addr[3],
95 (bd_addr[4]<<8)+bd_addr[5], (connected) ? "connected" : "disconnected");
103 p_cb->role = L2CA_GetBleConnRole(bd_addr);
132 static void smp_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf)
156 p_cb->role = L2CA_GetBleConnRole(bd_addr);
157 memcpy(&p_cb->pairing_bda[0], bd_addr, BD_ADDR_LEN);
159 else if (memcmp(&bd_addr[0], p_cb->pairing_bda, BD_ADDR_LEN))
162 smp_reject_unexp_pair_req(bd_addr);
168 if (memcmp(&bd_addr[0], p_cb->pairing_bda, BD_ADDR_LEN) == 0)