1 /* 2 * Copyright (c) 2023 Raspberry Pi (Trading) Ltd. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #include "pico/btstack_chipset_cyw43.h" 8 chipset_set_bd_addr_command(bd_addr_t addr,uint8_t * hci_cmd_buffer)9static void chipset_set_bd_addr_command(bd_addr_t addr, uint8_t *hci_cmd_buffer) { 10 hci_cmd_buffer[0] = 0x01; 11 hci_cmd_buffer[1] = 0xfc; 12 hci_cmd_buffer[2] = 0x06; 13 reverse_bd_addr(addr, &hci_cmd_buffer[3]); 14 } 15 16 static const btstack_chipset_t btstack_chipset_cyw43 = { 17 .name = "CYW43", 18 .init = NULL, 19 .next_command = NULL, 20 .set_baudrate_command = NULL, 21 .set_bd_addr_command = chipset_set_bd_addr_command, 22 }; 23 btstack_chipset_cyw43_instance(void)24const btstack_chipset_t * btstack_chipset_cyw43_instance(void) { 25 return &btstack_chipset_cyw43; 26 } 27