/AliOS-Things-master/components/py_engine/tests/multi_bluetooth/ |
A D | ble_mtu.py | 106 ble.config(mtu=200) 108 ble.config(mtu=400) 110 ble.config(mtu=50) 112 ble.config(mtu=290) 115 ble.config(mtu=256) 143 ble.active(0) 152 ble.config(mtu=300) 189 ble.active(0) 192 ble = bluetooth.BLE() variable 193 ble.active(1) [all …]
|
A D | ble_characteristic.py | 87 multitest.globals(BDADDR=ble.config("mac")) 94 ble.gatts_write(char_handle, "periph0") 105 ble.gatts_write(char_handle, "periph1") 123 ble.gatts_write(char_handle, "periph3") 131 ble.active(0) 140 ble.gap_connect(*BDADDR) 150 ble.gattc_read(conn_handle, value_handle) 187 ble.active(0) 190 ble = bluetooth.BLE() variable 191 ble.active(1) [all …]
|
A D | ble_gap_device_name.py | 62 ble.config(gap_name="GAP_NAME") 63 print(ble.config("gap_name")) 66 ble.gatts_register_services([]) 75 print(ble.config("gap_name")) 76 ble.gap_advertise(20_000) 82 ble.active(0) 96 ble.gap_connect(*BDADDR) 116 ble.active(0) 119 ble = bluetooth.BLE() variable 120 ble.active(1) [all …]
|
A D | ble_gap_pair.py | 71 multitest.globals(BDADDR=ble.config("mac")) 73 ble.gatts_write(char_handle, "encrypted") 90 ble.active(0) 99 ble.gap_connect(*BDADDR) 109 ble.gap_pair(conn_handle) 116 ble.gattc_read(conn_handle, value_handle) 123 ble.active(0) 126 ble = bluetooth.BLE() variable 127 ble.config(mitm=True, le_secure=True, bond=False) 128 ble.active(1) [all …]
|
A D | ble_l2cap.py | 77 def send_data(ble, conn_handle, cid): argument 89 def recv_data(ble, conn_handle, cid): argument 129 send_data(ble, conn_handle, cid) 138 ble.active(0) 147 ble.gap_connect(*BDADDR) 156 send_data(ble, conn_handle, cid) 161 ble.l2cap_disconnect(conn_handle, cid) 170 ble.active(0) 173 ble = bluetooth.BLE() variable 174 ble.active(1) [all …]
|
A D | ble_gap_advertise.py | 13 multitest.globals(BDADDR=ble.config("mac")) 17 ble.gap_advertise(100_000, b"\x02\x01\x06\x04\xffMPY", connectable=False) 21 ble.gap_advertise(20_000, b"\x02\x01\x06\x04\xffMPY", connectable=True) 25 ble.gap_advertise(None) 27 ble.active(0) 50 ble.config(rxbuf=2000) 53 ble.irq(irq) 54 ble.gap_scan(2 * ADV_TIME_S * 1000, 10000, 10000) 57 ble.active(0) 62 ble = bluetooth.BLE() variable [all …]
|
A D | ble_gap_pair_bond.py | 76 multitest.globals(BDADDR=ble.config("mac")) 78 ble.gatts_write(char_handle, "encrypted") 95 ble.active(0) 104 ble.gap_connect(*BDADDR) 114 ble.gap_pair(conn_handle) 121 ble.gattc_read(conn_handle, value_handle) 128 ble.active(0) 131 ble = bluetooth.BLE() variable 132 ble.config(mitm=True, le_secure=True, bond=True) 133 ble.active(1) [all …]
|
A D | ble_gap_connect.py | 43 multitest.globals(BDADDR=ble.config("mac")) 45 ble.gap_advertise(20_000, b"\x02\x01\x06\x04\xffMPY") 54 ble.gap_advertise(20_000, b"\x02\x01\x06\x04\xffMPY") 58 print("gap_disconnect:", ble.gap_disconnect(conn_handle)) 61 ble.active(0) 70 ble.gap_connect(*BDADDR) 79 ble.gap_connect(BDADDR[0], BDADDR[1], 5000) 83 ble.active(0) 86 ble = bluetooth.BLE() variable 87 ble.active(1) [all …]
|
A D | ble_gatt_data_transfer.py | 86 multitest.globals(BDADDR=ble.config("mac")) 90 ble.gatts_set_buffer(char_rx_handle, 100, True) 93 ble.gap_advertise(20_000, b"\x02\x01\x06\x04\xffMPY") 103 print("gatts_read:", ble.gatts_read(char_rx_handle)) 112 ble.gatts_notify(conn_handle, char_ctrl_handle, "OK") 117 ble.active(0) 126 ble.gap_connect(*BDADDR) 155 ble.active(0) 158 ble = bluetooth.BLE() variable 159 ble.active(1) [all …]
|
A D | ble_gattc_discover_services.py | 65 multitest.globals(BDADDR=ble.config("mac")) 66 ble.gatts_register_services(SERVICES) 68 ble.gap_advertise(20_000, b"\x02\x01\x06\x04\xffMPY") 74 ble.active(0) 83 ble.gap_connect(*BDADDR) 87 ble.gattc_discover_services(conn_handle) 93 print("gap_disconnect:", ble.gap_disconnect(conn_handle)) 96 ble.active(0) 99 ble = bluetooth.BLE() variable 100 ble.active(1) [all …]
|
A D | stress_log_filesystem.py | 122 ble.active(1) 123 ble.irq(irq) 124 multitest.globals(BDADDR=ble.config("mac")) 138 ble.active(0) 148 ble.active(1) 149 ble.irq(irq) 155 ble.gap_connect(BDADDR[0], BDADDR[1], 5000) 160 ble.gattc_discover_services(conn_handle) 172 ble.gattc_read(conn_handle, value_handle) 183 ble.active(0) [all …]
|
/AliOS-Things-master/components/ble_host/bt_host/ali_vendormodel_profile/ |
A D | README.rst | 4 This example demonstrates how to leverage the Alibaba ble mesh 10 Alibaba ble mesh profile APIs are encapsulated based on ported Zephyr 11 bluetooth mesh stack. If vendor has their own ble mesh stack, just need to 14 The ble mesh profile APIs could be found in the directory:
|
/AliOS-Things-master/components/py_engine/engine/extmod/btstack/ |
A D | btstack.mk | 22 include $(BTSTACK_DIR)/src/ble/Makefile.inc 32 $(addprefix lib/btstack/src/ble/, $(filter-out %_tlv.c, $(SRC_BLE_FILES))) \
|
/AliOS-Things-master/components/ble_netconfig/ |
A D | blecfg_cli.c | 104 ALIOS_CLI_CMD_REGISTER(BleCfg_cli_cmd_handler, ble_netCfg, ble netConfig commands)
|
/AliOS-Things-master/components/ble_host/ |
A D | README.md | 540 #include <aos/ble.h> 599 打开串口工具,在串口工具中输入ble,可看到ble的cli命令集。<br /> 607 在串口工具中输入ble adv start 020106,可以在串口日志中看到如下打印
|
/AliOS-Things-master/components/sensor/drv/ |
A D | drv_mag_st_lis3mdl.c | 381 static int drv_mag_st_lis3mdl_set_ble(i2c_dev_t *drv, uint8_t ble) in drv_mag_st_lis3mdl_set_ble() argument 392 if (ble == LIS3MDL_MAG_BLE_LSB) { in drv_mag_st_lis3mdl_set_ble()
|
A D | drv_mag_st_lis2mdl.c | 278 static int drv_mag_st_lis2mdl_set_ble(i2c_dev_t* drv, uint8_t ble) in drv_mag_st_lis2mdl_set_ble() argument 288 if (ble == LIS2MDL_MAG_BLE_LSB) in drv_mag_st_lis2mdl_set_ble()
|
A D | drv_acc_mag_st_lsm303agr.c | 944 static int drv_mag_st_lsm303agr_set_ble(i2c_dev_t* drv, uint8_t ble) in drv_mag_st_lsm303agr_set_ble() argument 954 if (ble == LSM303AGR_MAG_BLE_LSB) in drv_mag_st_lsm303agr_set_ble()
|
/AliOS-Things-master/components/ble_host/bt_host/ |
A D | build.mk | 135 L_SRCS += aos/ble.c
|
/AliOS-Things-master/ |
A D | README.md | 87 …inkkit_genie_demo案例:基于HaaS200通过Wi-Fi接入天猫精灵IoT生态的案例;新增genie_mesh_demo案例:基于HaaS200实现可被天猫精灵连接的ble mesh
|
/AliOS-Things-master/documentation/manual/ |
A D | mainpage.md | 87 …inkkit_genie_demo案例:基于HaaS200通过Wi-Fi接入天猫精灵IoT生态的案例;新增genie_mesh_demo案例:基于HaaS200实现可被天猫精灵连接的ble mesh
|
/AliOS-Things-master/components/py_engine/ |
A D | aos.mk | 23 modules/ble/modble.c 313 modules/ble/ \
|
/AliOS-Things-master/components/SDL2/src/hidapi/ios/ |
A D | hid.m | 207 …sharedInstance.bleSerialQueue = dispatch_queue_create( "com.valvesoftware.steamcontroller.ble", DI…
|