This is an old revision of the document!
Since Software version 4.4.0.100 all netmodule device supports Bluetooth Low Energy via SDK. The following step by step description will guide you to configure a BLE Scanner on a NB800.
Since the latest version 4.4.0.100 all netmodule device provide a Bluetooth Interface on the WEB - GUI. For using Bluetooth via SDK you need to change mode from “Virtualisation” to “SDK” environment:
Afterwards you can run the following BLE Script, which is scanning available BLE Tags in the surroundings.
nb_bt_mode(BT1, BT_MODE_SCAN); for (i = 0; i < 20; i++) {
devices = nb_bt_dev_list(BT1); printf("%d: %d\n", i, length(devices)); for (d = 0; d < length(devices); d++) { dev_info = nb_bt_dev_info(BT1, devices[d]);
dump(dev_info);
} sleep(1);
} nb_bt_mode(BT1, BT_MODE_OFF);