This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| configuration:bluetooth-low-energy-ble [2020/06/04 11:37] – [Step 2. Run Script] dodenhoeft | configuration:bluetooth-low-energy-ble [2021/08/04 09:14] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| Since Software version 4.4.0.100 all netmodule device support Bluetooth Low Energy via SDK. The following step by step description will guide you to configure a BLE Scanner on a NB800. | Since Software version 4.4.0.100 all netmodule device support Bluetooth Low Energy via SDK. The following step by step description will guide you to configure a BLE Scanner on a NB800. | ||
| - | ===== Step 1 Change Bluetooth Mode ===== | + | ===== Step 1. Change Bluetooth Mode ===== |
| For using bluetooth via SDK you need to enable the interface for the SDK environment via the WEB GUI: | For using bluetooth via SDK you need to enable the interface for the SDK environment via the WEB GUI: | ||
| {{: | {{: | ||
| - | ===== Step 2 Run Script ===== | + | ===== Step 2. Run Script ===== |
| Afterwards you can run the following BLE Script. The script is scanning the surrounded available BLE device/tags and will show you the bluetooth advertising data. It will stop automatically after 20 detected devices/ | Afterwards you can run the following BLE Script. The script is scanning the surrounded available BLE device/tags and will show you the bluetooth advertising data. It will stop automatically after 20 detected devices/ | ||
| Line 30: | Line 30: | ||
| </ | </ | ||
| + | For more BLE SDK functionality, | ||
| + | You can check the available data details of the surrounded beacons with adding " | ||
| + | |||
| + | <code - dump(dev_info); | ||
| + | struct(15): { | ||
| + | .Name = string[12]: " | ||
| + | .Trusted = bool: false | ||
| + | .Adapter = int: 0 | ||
| + | .LegacyPairing = bool: false | ||
| + | .Paired = bool: false | ||
| + | .ServicesResolved = bool: false | ||
| + | .Alias = string[12]: " | ||
| + | .Connected = bool: false | ||
| + | .ManufacturerData = array(1): { | ||
| + | [0] struct(2): { | ||
| + | .Value = array(20): { | ||
| + | [0] int: 0 | ||
| + | [1] int: 0 | ||
| + | [2] int: 140 | ||
| + | [3] int: 7 | ||
| + | [4] int: 0 | ||
| + | [5] int: 0 | ||
| + | [6] int: 71 | ||
| + | [7] int: 233 | ||
| + | [8] int: 126 | ||
| + | [9] int: 1 | ||
| + | [10] int: 238 | ||
| + | [11] int: 13 | ||
| + | [12] int: 0 | ||
| + | [13] int: 0 | ||
| + | [14] int: 252 | ||
| + | [15] int: 0 | ||
| + | [16] int: 167 | ||
| + | [17] int: 140 | ||
| + | [18] int: 0 | ||
| + | [19] int: 0 | ||
| + | } | ||
| + | .Key = int: 17 | ||
| + | } | ||
| + | } | ||
| + | .Address = string[17]: " | ||
| + | .Blocked = bool: false | ||
| + | .RSSI = int: -68 | ||
| + | .Addresstype = string[6]: " | ||
| + | .UUIDs = array(1): { | ||
| + | [0] string[36]: " | ||
| + | } | ||
| + | .TxPower = int: 0 | ||
| + | } | ||
| + | </ | ||