This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Combining Mesh and Blinky examples

Hello everyone.

I would like to set-up a mesh network of Thingy:52 devices and an nRF52840, which would help me communicate from the an external stimulus to the phone, via this mesh network.

The steps that I have done are: I tried the the Light switch demo Ok & thingy52-mesh-provisioning-demo Ok and the BLE Blinky Application Ok. So, my goal is to send a notification on the phone, when a button on the other end is pressed. Something like that:

[external button -> on, to start communication] -------> [client starts Bluetooth communication (nRF52840)] ------> [server (Thingy:52), relay] ------> [phone running 'Blinky App', receives notification].

Do you have an idea/suggestion of how I should combine the two examples? From what I understand, the phone cannot participate in the Mesh, so the tricky part should be a code on the nRF52840, which helps the board (1) join the mesh and subscribe to notifications, while (2) also writing into a characteristic something, to send a notification on the phone.

Thank you in advance!

Parents Reply
  • Hi ! As you suggested me, I followed the links and now I'm trying to actually combine the two codes. But the documentation for this is a bit unclear to me - maybe because of my lack of experience. Anyway, I would like to ask if I understood correctly.

    I understand that I should follow the steps from this link. But I do not know if including the source files refers to (1)folders copy-paste or (2) actually #include files in C?

    That would be my first question. 

    My second question is: Where do all these files need to be copied? Should I make a specific folder with all of them in the SDK big folder? I guess that depends on how they are included in the other .c and .h files, but again - I do not know if I should change some C files too.

    Thank you very much.

Children
No Data
Related