Differences

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

Link to this comparison view

Next revision
Previous revision
app-notes:ble-with-bluetooth-smart-dongle [2015/04/03 14:03]
127.0.0.1 external edit
app-notes:ble-with-bluetooth-smart-dongle [2023/04/03 09:31] (current)
fricker
Line 1: Line 1:
 +<WRAP round alert 100%>
 +[[configuration/​bluetooth-low-energy-ble|This Page is deprecated please visit our Bluetooth low energy page]]
 +</​WRAP>​
 +
 +
 ====== Bluetooth Low Energy (BLE) with NB1600 and Bluegiga Bluetooth Smart Dongle ====== ====== Bluetooth Low Energy (BLE) with NB1600 and Bluegiga Bluetooth Smart Dongle ======
 This article shows you how to use [[https://​www.bluegiga.com/​en-US/​products/​bled112-bluetooth-smart-dongle | Bluegiga'​s BLE Dongle BLED112]] with NB1600. This article shows you how to use [[https://​www.bluegiga.com/​en-US/​products/​bled112-bluetooth-smart-dongle | Bluegiga'​s BLE Dongle BLED112]] with NB1600.
Line 13: Line 18:
 cdc_acm ​               15221  0 cdc_acm ​               15221  0
 </​code>​ </​code>​
-If the kernel module is not loaded, we need to load it and check again after some seconds+If the kernel module is not loaded, we need to load it and check again. ​
 <code bash> <code bash>
-~ $ insmod ​cdc_acm +~ $ insmod ​/​lib/​modules/​2.6.36/​cdc-acm.ko ​ 
-~ $ #check again with lsmod after a while+~ $ lsmod | grep cdc_acm
 </​code>​ </​code>​
 After plugging in the BLE USB dongle you should see some sign of life in the kernel messages. After plugging in the BLE USB dongle you should see some sign of life in the kernel messages.
Line 46: Line 51:
 </​code>​ </​code>​
  
-You will now be able to talk with the dongle via this interface.+You will now be able to talk with the dongle via this interface. ​The protocol to talk will be BGAPI
 For a simple scanning test, there is a python script available on For a simple scanning test, there is a python script available on
 https://​raw.githubusercontent.com/​jrowberg/​bglib/​master/​Python/​Examples/​bled112_scanner.py https://​raw.githubusercontent.com/​jrowberg/​bglib/​master/​Python/​Examples/​bled112_scanner.py
Line 85: Line 90:
 1426759309.186 -43 0 BC6A29AB6203 0 255 020105 1426759309.186 -43 0 BC6A29AB6203 0 255 020105
 </​code>​ </​code>​
 +
 +A python package for communicating with BlueGiga modules through their proprietary API can be found 
 +[[https://​github.com/​mjbrown/​bgapi | on github]].