From 047a78b931a7b862fd04a7c97ca9c49f557ebb75 Mon Sep 17 00:00:00 2001 From: NielsCoding Date: Wed, 23 Nov 2022 19:21:48 +0100 Subject: Demo and provisiong changes --- docs/img/Demo.PNG | Bin 0 -> 14245 bytes docs/img/RTTViewerConf.PNG | Bin 0 -> 5453 bytes docs/img/bluetoothdongleProblem.PNG | Bin 0 -> 1419 bytes docs/research.md | 18 ++++++++++++++++-- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 docs/img/Demo.PNG create mode 100644 docs/img/RTTViewerConf.PNG create mode 100644 docs/img/bluetoothdongleProblem.PNG diff --git a/docs/img/Demo.PNG b/docs/img/Demo.PNG new file mode 100644 index 0000000..db84644 Binary files /dev/null and b/docs/img/Demo.PNG differ diff --git a/docs/img/RTTViewerConf.PNG b/docs/img/RTTViewerConf.PNG new file mode 100644 index 0000000..3da746d Binary files /dev/null and b/docs/img/RTTViewerConf.PNG differ diff --git a/docs/img/bluetoothdongleProblem.PNG b/docs/img/bluetoothdongleProblem.PNG new file mode 100644 index 0000000..e706ad6 Binary files /dev/null and b/docs/img/bluetoothdongleProblem.PNG differ diff --git a/docs/research.md b/docs/research.md index 554756f..f0e82b0 100644 --- a/docs/research.md +++ b/docs/research.md @@ -105,11 +105,24 @@ Bluetooth mesh networking implements a publish/subscribe message-oriented commun ### Provisioning -Provisioning is the process by which a Bluetooth device (unprovisioned device) joins the mesh network and becomes a Bluetooth mesh node. This process is controlled by a provisioner. A provisioner and the unprovisioned device follow a fixed procedure as defined in the Bluetooth Mesh Profile [4]. A provisioner is typically a smartphone running a provisioning application. +Provisioning is the process by which a Bluetooth device (unprovisioned device) joins the mesh network and becomes a Bluetooth mesh node. This process is controlled by a provisioner. A provisioner and the unprovisioned device follow a fixed procedure as defined in the Bluetooth Mesh Profile [4]. A provisioner is typically a smartphone running a provisioning application. For a more in-depth look at different aspects of provisioning see links number 13. ## Demo +For this demo we are trying too understand the basics behind bluetooth mesh( picture below). +![Figure 5](img/Demo.png) + +### Difficulties +There were three difficulties for this demo: making the dongle work, making Bluetooth work on the dongle, and lastly debugging with RTT. The main problem was making the dongle work. + +After accidentally removing the bootloader in the dongle, it wasn't working properly. To solve this, a bootloader hex file is needed to erase and write in the dongle with a segger j-link and the nrf connect for desktop programmer. The bootloader will be referenced in GitHub. + +To make example nrf/samples/bluetooth/mesh/light or switch work with the dongle a change is needed in the .conf file. +![Figure 6](img/bluetoothdongleProblem.png) +After removing these two lines from the .conf file it will work exactly as you’d expect. For the development kit, it doesn't need to change. + +Lastly to make debugging work with the RTT viewer there needs to be configurations added to the .conf file(see below). +![Figure 7](img/RTTViewerConf.PNG) -WIP # Manual nRF toolchain installation @@ -178,3 +191,4 @@ These are the links used for Bluetooth mesh research 10. [Repairing dongle](https://devzone.nordicsemi.com/f/nordic-q-a/40924/how-can-i-restore-the-original-bootloader-of-a-pca10059) 11. [Mesh concepts](https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_bt_mesh_concepts.html#mesh-concepts) 12. [Mesh networking](https://www.mathworks.com/help/bluetooth/ug/bluetooth-mesh-networking.html) +13. [provision Mesh network](https://www.bluetooth.com/blog/provisioning-a-bluetooth-mesh-network-part-1/) \ No newline at end of file -- cgit v1.2.3