/btstack/src/ble/ |
H A D | sm.c | 388 static sm_setup_context_t * setup = &the_setup; variable 522 setup->sm_tk[i] = 0; in sm_reset_tk() 659 …sizeof(event), SM_EVENT_PAIRING_STARTED, sm_conn->sm_handle, setup->sm_peer_addr_type, setup->sm_p… in sm_pairing_started() 670 …izeof(event), SM_EVENT_PAIRING_COMPLETE, sm_conn->sm_handle, setup->sm_peer_addr_type, setup->sm_p… in sm_pairing_complete() 700 btstack_run_loop_remove_timer(&setup->sm_timeout); in sm_timeout_start() 701 btstack_run_loop_set_timer_context(&setup->sm_timeout, sm_conn); in sm_timeout_start() 702 btstack_run_loop_set_timer_handler(&setup->sm_timeout, sm_timeout_handler); in sm_timeout_start() 703 btstack_run_loop_set_timer(&setup->sm_timeout, 30000); // 30 seconds sm timeout in sm_timeout_start() 704 btstack_run_loop_add_timer(&setup->sm_timeout); in sm_timeout_start() 707 btstack_run_loop_remove_timer(&setup->sm_timeout); in sm_timeout_stop() [all …]
|
/btstack/port/stm32-f4discovery-usb/Middlewares/ST/STM32_USB_Host_Library/Core/Src/ |
H A D | usbh_ctlreq.c | 196 phost->Control.setup.b.bmRequestType = USB_D2H | req_type; in USBH_GetDescriptor() 197 phost->Control.setup.b.bRequest = USB_REQ_GET_DESCRIPTOR; in USBH_GetDescriptor() 198 phost->Control.setup.b.wValue.w = value_idx; in USBH_GetDescriptor() 202 phost->Control.setup.b.wIndex.w = 0x0409U; in USBH_GetDescriptor() 206 phost->Control.setup.b.wIndex.w = 0U; in USBH_GetDescriptor() 208 phost->Control.setup.b.wLength.w = length; in USBH_GetDescriptor() 227 phost->Control.setup.b.bmRequestType = USB_H2D | USB_REQ_RECIPIENT_DEVICE | \ in USBH_SetAddress() 230 phost->Control.setup.b.bRequest = USB_REQ_SET_ADDRESS; in USBH_SetAddress() 232 phost->Control.setup.b.wValue.w = (uint16_t)DeviceAddress; in USBH_SetAddress() 233 phost->Control.setup.b.wIndex.w = 0U; in USBH_SetAddress() [all …]
|
/btstack/port/stm32-f4discovery-usb/Middlewares/ST/STM32_USB_Host_Library/Class/HID/Src/ |
H A D | usbh_hid.c | 590 phost->Control.setup.b.bmRequestType = USB_H2D | USB_REQ_RECIPIENT_INTERFACE | \ in USBH_HID_SetIdle() 594 phost->Control.setup.b.bRequest = USB_HID_SET_IDLE; in USBH_HID_SetIdle() 595 phost->Control.setup.b.wValue.w = (uint16_t)(((uint32_t)duration << 8U) | (uint32_t)reportId); in USBH_HID_SetIdle() 597 phost->Control.setup.b.wIndex.w = 0U; in USBH_HID_SetIdle() 598 phost->Control.setup.b.wLength.w = 0U; in USBH_HID_SetIdle() 621 phost->Control.setup.b.bmRequestType = USB_H2D | USB_REQ_RECIPIENT_INTERFACE | \ in USBH_HID_SetReport() 625 phost->Control.setup.b.bRequest = USB_HID_SET_REPORT; in USBH_HID_SetReport() 626 phost->Control.setup.b.wValue.w = (uint16_t)(((uint32_t)reportType << 8U) | (uint32_t)reportId); in USBH_HID_SetReport() 628 phost->Control.setup.b.wIndex.w = 0U; in USBH_HID_SetReport() 629 phost->Control.setup.b.wLength.w = reportLen; in USBH_HID_SetReport() [all …]
|
/btstack/test/hfp/ |
H A D | hfp_ag_client_test.cpp | 407 void setup(void){ in TEST_GROUP() 425 setup(); in TEST() 433 setup(); in TEST() 441 setup(); in TEST() 449 setup(); in TEST() 457 setup(); in TEST() 465 setup(); in TEST()
|
H A D | hfp_hf_client_test.cpp | 472 void setup(void){ in TEST_GROUP() 498 setup(); in TEST() 506 setup(); in TEST() 514 setup(); in TEST() 522 setup(); in TEST() 530 setup(); in TEST() 538 setup(); in TEST()
|
/btstack/port/arduino/examples/iBeacon/ |
H A D | iBeacon.ino | 9 * @text After BTstack.setup(), iBeaconConfigure() configures BTstack 15 void setup(void){ 17 BTstack.setup();
|
/btstack/port/arduino/examples/LEPeripheral/ |
H A D | LEPeripheral.ino | 8 * @text BTstack allows to setup a GATT Services and Characteristics directly 9 * from the setup function without using other tools outside of the Arduino IDE. 23 void setup(void){ 33 // setup GATT Database 39 BTstack.setup();
|
/btstack/port/arduino/examples/ANCS/ |
H A D | ANCS.ino | 34 * @text In the setup, the LE Security Manager is configured to accept pairing requests. 40 void setup(void){ 46 BTstack.setup(); 51 // setup ANCS Client
|
/btstack/port/arduino/examples/iBeaconScanner/ |
H A D | iBeaconScanner.ino | 9 * @text After BTstack.setup(), BTstack is configured to call 15 void setup(void){ 17 BTstack.setup();
|
/btstack/3rd-party/lc3-google/test/ |
H A D | makefile.mk | 18 $(V)cd $(TEST_DIR) && python3 setup.py && PYTHONPATH=build python3 run.py 25 $(V)cd $(TEST_DIR) && python3 setup.py clean > /tmp/zero
|
H A D | setup.py | 18 from setuptools import setup, Extension 47 setup(name = 'LC3',
|
/btstack/port/stm32-f4discovery-usb/port/ |
H A D | usbh_bluetooth.c | 204 … phost->Control.setup.b.bmRequestType = USB_H2D | USB_REQ_RECIPIENT_INTERFACE | USB_REQ_TYPE_CLASS; in USBH_Bluetooth_Process() 205 phost->Control.setup.b.bRequest = 0; in USBH_Bluetooth_Process() 206 phost->Control.setup.b.wValue.w = 0; in USBH_Bluetooth_Process() 207 phost->Control.setup.b.wIndex.w = 0U; in USBH_Bluetooth_Process() 208 phost->Control.setup.b.wLength.w = cmd_len; in USBH_Bluetooth_Process()
|
/btstack/port/zephyr/ |
H A D | README.md | 13 The first step needs to done once. Step two is needed every time to setup the environment. 25 To setup your environment to build a BTstack example, run the provided setup in `env.sh`.
|
/btstack/test/le_audio/ |
H A D | README.md | 1 …://bluekitchen-gmbh.com/bluetooth-pts-with-nordic-nrf52840-usb-dongle/) or an equivalent setup like 5 …(https://www.zephyrproject.org/) build environment is required, where the setup of Zephyr is beyon…
|
/btstack/port/arduino/docs/docs/ |
H A D | tutorial.md | 22  36 BTstackManager::setup()
|
/btstack/3rd-party/lc3-google/ |
H A D | pyproject.toml | 19 setup = ['-Dpython=true'] qkey
|
/btstack/test/sdp_client/ |
H A D | service_search_query.cpp | 58 void setup(void){ in TEST_GROUP()
|
/btstack/port/mtk/docs/ |
H A D | ruggear-gettingstarted.tex | 125 …/or \MSYS{} installed. The RugGear device is connected to an USB port during setup and development. 260 A setup with one device that sends Advertisements and one device that receives them, can be complet… 267 …om BCM20702A0. We used two LE Peripherals. As the first LE Peripheral, we setup another device wit… 276 …setup. For each of the two measurement, we retrieved the packet logs from the device. We processe… 291 …applications. We further analyzed the RugGear vs. nio Tag setup in more detail. For this setup, we… 298 …resource limitations or scheduling problems. In the intermittent scanning setup, the RugGear devic…
|
/btstack/test/gatt_service_server/ |
H A D | tx_power_service_server_test.cpp | 34 void setup(void){ in TEST_GROUP()
|
H A D | heart_rate_service_server_test.cpp | 36 void setup(void){ in TEST_GROUP()
|
/btstack/test/btstack_link_key_db/ |
H A D | btstack_link_key_db_fs_test.cpp | 20 void setup(void){ in TEST_GROUP()
|
/btstack/test/gatt_client/ |
H A D | gatt_client_crypto_test.cpp | 78 void setup(void){ in TEST_GROUP()
|
/btstack/test/obex/ |
H A D | obex_parser_test.cpp | 34 void setup(void){ in TEST_GROUP() 155 void setup(void){ in TEST_GROUP()
|
/btstack/test/ble_client/ |
H A D | ad_parser_test.cpp | 117 void setup(void){ in TEST_GROUP()
|
/btstack/port/arduino/examples/LECentral/ |
H A D | LECentral.ino | 68 * @text In the setup, various callbacks are registered. After that 72 void setup(void){ 83 BTstack.setup(); 295 * the result in the status argument. As we're done with the initial setup of the remote
|