uint32_t role_bmp;
int last_handle;
int connecting;
- a_bdaddr awaiting_bdaddr[HCI_HANDLES_MAX];
+ bdaddr_t awaiting_bdaddr[HCI_HANDLES_MAX];
} lm;
uint8_t event_mask[8];
}
}
-static int bt_hci_connect(struct bt_hci_s *hci, a_bdaddr *bdaddr)
+static int bt_hci_connect(struct bt_hci_s *hci, bdaddr_t *bdaddr)
{
struct bt_device_s *slave;
struct bt_link_s link;
}
static void bt_hci_connection_reject_event(struct bt_hci_s *hci,
- a_bdaddr *bdaddr)
+ bdaddr_t *bdaddr)
{
evt_conn_complete params;
* that's been cancelled by the host in the meantime and immediately
* try to detach the link and send a Connection Complete. */
static int bt_hci_lmp_connection_ready(struct bt_hci_s *hci,
- a_bdaddr *bdaddr)
+ bdaddr_t *bdaddr)
{
int i;
¶ms, EVT_DISCONN_COMPLETE_SIZE);
}
-static int bt_hci_name_req(struct bt_hci_s *hci, a_bdaddr *bdaddr)
+static int bt_hci_name_req(struct bt_hci_s *hci, bdaddr_t *bdaddr)
{
struct bt_device_s *slave;
evt_remote_name_req_complete params;
}
static inline void bt_hci_event_complete_conn_cancel(struct bt_hci_s *hci,
- uint8_t status, a_bdaddr *bd_addr)
+ uint8_t status, bdaddr_t *bd_addr)
{
create_conn_cancel_rp params = {
.status = status,
}
static inline void bt_hci_event_complete_name_cancel(struct bt_hci_s *hci,
- a_bdaddr *bd_addr)
+ bdaddr_t *bd_addr)
{
remote_name_req_cancel_rp params = {
.status = HCI_INVALID_PARAMETERS,
{
struct bt_hci_s *hci = hci_from_info(info);
- bacpy(&hci->device.bd_addr, (const a_bdaddr *) bd_addr);
+ bacpy(&hci->device.bd_addr, (const bdaddr_t *) bd_addr);
return 0;
}