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

Setting up multiple Thingy52 nodes with Raspberry Pi 4 [Python]

I have been able to recieve data from individual Thingy52 modules on RPi 4 in Python.

How can I setup my RPi to communicate with multiple modules?

A straightforward approach of directly connecting them throws error. Do I need to configure Thingy for this purpose?

Parents Reply Children
  • I am currently retrieving the motion data from the Thingy modules.

    I am polling notification on the Pi by creating delegate object which handles the notification( https://ianharvey.github.io/bluepy-doc/notifications.html).

    The issue is that it only processes one module until the count(1000 iterations) runs out and then moves to another module.I want to switch between the modules ,ie, recieve data as in Module0-Module1-Module2 manner rather than polling one Thingy and then processing others.

    I have deployed the BLE devices as seperate threads

  • Hi,

    Sorry, what is "count"? We are moving into the specifics of bluepy and python now, and I am afraid I know less about that. The question seems to be how to get your bluepy script to process incoming notifications concurrently, which has little to do with nRF and Thingy.

    I am sure there are other channels (e.g. forum, mailing list, chat room, or other) that are better suited for getting help with programming with python and bluepy.

    Regards,
    Terje

Related