Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ble [2019/01/10 13:58]
ble [2022/04/16 12:22] (current)
Line 1: Line 1:
 +===== TODO =====
 +
 +  * https://pypi.org/project/bluepy/# SOFTWARE
 +  * https://github.com/makebluetooth/bleno-lock# 
 +
 +===== MISC =====
 +
 +@TaG: HcI
 +
 +  sudo apt  install bluez-hcidump
 +  sudo hcidump -t -x
 +  # Error: Unsupported Remote Feature / Unsupported LMP Feature
 +
 +<code>
 +2018-06-27 12:45:55.333554 > HCI Event: LE Meta Event (0x3e) plen 19
 +    LE Connection Complete
 +      status 0x00 handle 64, role slave
 +      bdaddr 00:1A:7D:DA:71:11 (Public)
 +2018-06-27 12:45:55.333871 < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
 +  40 00
 +2018-06-27 12:45:55.336918 > HCI Event: Command Status (0x0f) plen 4
 +    LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
 +2018-06-27 12:45:55.338272 < ACL data: handle 64 flags 0x00 dlen 7
 +    ATT: MTU req (0x02)
 +      client rx mtu 256
 +2018-06-27 12:45:55.636486 > ACL data: handle 64 flags 0x02 dlen 9
 +    ATT: Error (0x01)
 +      Error: Request not supported (6)
 +      MTU req (0x02) on handle 0x0000
 +2018-06-27 12:45:55.665174 > HCI Event: Number of Completed Packets (0x13) plen 5
 +    handle 64 packets 1
 +2018-06-27 12:45:55.736005 > HCI Event: LE Meta Event (0x3e) plen 12
 +    LE Read Remote Used Features Complete
 +      status 0x1a handle 64
 +      Error: Unsupported Remote Feature / Unsupported LMP Feature
 +2018-06-27 12:45:55.747028 < ACL data: handle 64 flags 0x00 dlen 9
 +    ATT: Error (0x01)
 +      Error: Request not supported (6)
 +      Error (0x01) on handle 0x0000
 +2018-06-27 12:45:56.040205 > HCI Event: Number of Completed Packets (0x13) plen 5
 +    handle 64 packets 1
 +2018-06-27 12:45:58.036295 > HCI Event: Disconn Complete (0x05) plen 4
 +    status 0x00 handle 64 reason 0x13
 +    Reason: Remote User Terminated Connection
 +2018-06-27 12:45:58.114330 < HCI Command: LE Set Advertise Enable (0x08|0x000a) plen 1
 +  01
 +2018-06-27 12:45:58.114807 > HCI Event: Command Complete (0x0e) plen 4
 +    LE Set Advertise Enable (0x08|0x000a) ncmd 1
 +    status 0x00
 +</code>  
 +  
 +
 +===== Mesh =====
 +
 +  * https://github.com/Leiaz/python-awox-mesh-light/blob/master/awoxmeshlight/__init__.py
 +  * http://www.awox.com/wp-content/uploads/2016/07/UserGuideMESH_v1.10.pdf
 +  * https://www.amazon.com/AwoX-SML-c9_US-SmartLIGHT-Color-Smart/dp/B00NP2ESBM/ref=rzr-21#
 +  * https://www.ebay.com/itm/AWOX-Ampoule-couleur-connectee-E27-LED-SmartLIGHT-Color/283335498184?hash=item41f81c99c8:g:RYcAAOSwZqlcQuJj:rk:19:pf:0
 +  * http://jbtled.com/product/detail/179.aspx
 +  * http://jbtled.com/cms/27.aspx
 +
 +
 +
 +===== HARDWARE =====
 +
 +  * https://os.mbed.com/components/X-NUCLEO-IDB05A1-Bluetooth-Low-Energy/
 +    * https://github.com/STMicroelectronics-CentralLabs/mbed-js-st-libs/tree/master/mbed-js-st-x-nucleo-idb0xa1
 +
 +===== LEGO =====
 +
 +  * https://github.com/LEGO/lego-ble-wireless-protocol-docs#
 +  * https://github.com/undera/pylgbst#
 +  * https://www.lego.com/fr-fr/product/boost-creative-toolbox-17101#
 +
 +Usage:
 +
 +<code>
 +lsusb
 +Bus 002 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
 +
 +
 +cat examples/demo.py
 +
 +if __name__ == '__main__':
 +    logging.basicConfig(level=logging.INFO)
 +    conn = GattConnection("hci0")
 +    mac = '00:16:53:ab:9e:91' # must use lowercase
 +    conn.connect(mac)
 +    hub = MoveHub(conn)
 +    demo_all(hub)
 +    hub.disconnect()
 +
 +
 +</code>
 +===== MISC =====
 +
 +  * https://github.com/bt-skyrise/bluetooth-blog-post
 +  * https://www.skyrise.tech/blog/tech/bluetooth-raspberry-pi-bleno-part-1-ibeacon/
 +  * https://developer.rigado.com/docsets/Working-with-the-Rigado-Vesta-Gateway/latest/tutorials/node1.html
 +  * http://shawnhymel.com/703/bluetooth-low-energy-peripherals-with-javascript/
 +  * https://randomnerdtutorials.com/esp32-bluetooth-low-energy-ble-arduino-ide/
 +  * https://hackaday.com/2018/08/24/how-to-mash-up-ble-nodejs-and-mqtt-to-get-internet-of-things/
 +  * https://developer.qualcomm.com/project/emulating-ble-heart-rate-sensor
 +  * https://www.instructables.com/id/Reading-Values-From-a-BLE-Device-Using-CSR1010-and/
 +  * https://www.instructables.com/id/DragonBoard-Communicating-With-a-Chat-App-for-Andr/#
 +  * http://processors.wiki.ti.com/images/a/a8/BLE_SensorTag_GATT_Server.pdf
 +  * https://acassis.wordpress.com/2016/06/27/getting-started-with-bluetooth-low-energy-on-linux/
 +  * https://github.com/danielsmith-eu/playbulb-live/blob/master/package.json# NoBLE
 +  * https://www.instructables.com/id/Reverse-Engineering-Smart-Bluetooth-Low-Energy-Dev/# 
 +  * https://www.instructables.com/id/Simple-WiFi-to-BLE-Bluetooth-Low-Energy-Bridge/# HardWare DiY
 +  * https://www.espruino.com/Web%20Bluetooth# WeB
 +
 +===== MORE =====
 +
 +@TaG: BlE BlueTooth HcI
 +
 + 
 +<html><iframe src="//www.slideshare.net/slideshow/embed_code/key/MqTxveMdYJJR8d" width="595" height="485" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> <div style="margin-bottom:5px"> <strong> <a href="//www.slideshare.net/jacopsd/bluetooth-bluetooth-low-energy-internals" title="Bluetooth &amp; Bluetooth Low Energy internals" target="_blank">Bluetooth &amp; Bluetooth Low Energy internals</a> </strong> from <strong><a href="https://www.slideshare.net/jacopsd" target="_blank">Davy Jacops</a></strong> </div></html>
  
ble.txt ยท Last modified: 2022/04/16 12:22 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki