Lines Matching +full:command +full:- +full:delay +full:- +full:ms

2  * Copyright 2023-2024 NXP
4 * SPDX-License-Identifier: Apache-2.0
7 /* -------------------------------------------------------------------------- */
9 /* -------------------------------------------------------------------------- */
23 /* -------------------------------------------------------------------------- */
25 /* -------------------------------------------------------------------------- */
74 /* -------------------------------------------------------------------------- */
76 /* -------------------------------------------------------------------------- */
78 /* -------------------------------------------------------------------------- */
80 /* -------------------------------------------------------------------------- */
88 /* Allocate buffer for the hci command */ in nxp_bt_send_vs_command()
91 LOG_ERR("Unable to allocate command buffer"); in nxp_bt_send_vs_command()
92 return -ENOMEM; in nxp_bt_send_vs_command()
98 /* Send the command */ in nxp_bt_send_vs_command()
116 /* Send the command */ in nxp_bt_enable_controller_autosleep()
128 /* Send the command */ in nxp_bt_set_host_sleep_config()
139 /* Send the command */ in bt_nxp_set_calibration_data()
152 /* Send the command */ in bt_nxp_set_calibration_data_annex100()
162 * fails to send the command complete event expected by Zephyr Host stack.
183 (void *)(uid + uuidLen - (BD_ADDR_UUID_PART_SIZE + 1)), in bt_nxp_set_mac_address()
197 /* Set command parameter ID */ in bt_nxp_set_mac_address()
199 /* Set command parameter length */ in bt_nxp_set_mac_address()
203 /* Send the command */ in bt_nxp_set_mac_address()
251 if ((len - BT_HCI_EVT_HDR_SIZE) != payload_len) { in bt_evt_recv()
294 if ((len - BT_HCI_ACL_HDR_SIZE) != payload_len) { in bt_acl_recv()
320 struct bt_nxp_data *hci = dev->data; in process_rx()
339 hci->recv(dev, buf); in process_rx()
410 return -1; in bt_nxp_send()
414 PLATFORM_SendHciMessage(buf->data, buf->len); in bt_nxp_send()
423 struct bt_nxp_data *hci = dev->data; in bt_nxp_open()
445 hci->recv = recv; in bt_nxp_open()
466 * a delay of at least 20ms is required to continue sending annex100 in bt_nxp_setup()
493 ret = bt_nxp_set_mac_address(&(params->public_addr)); in bt_nxp_setup()
506 struct bt_nxp_data *hci = dev->data; in bt_nxp_close()
521 hci->recv = NULL; in bt_nxp_close()