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

Two nrf51 module and a smartphone

Hi!

I'm am working on a project where there I need to connect two nrf51 modules and a phone. Say: Module A, module B and phone P.

The setup i a bit tricky to explain, but here goes:

Module A shall be a peripheral. It has a sensor connected to it, and it shall notify B and P if certain sensor parameters are breached.

Module B is always present, but A and P might not be present. If B cannot connect to A, then it shall make an alarm(eg. LED, buzzer etc.).

Phone might not be present, but if it is, it shall connect to B and A if A is present. If the phone is present it wants to read sensor data from the two other modules.

I am kind of confused on how to set up roles for the setup. Module be will always be present, so to this sounds like a central. But then how do I connect the central to both phone and A if they are present?

Maybe an alternation of the multilink example? But can a Android phone act as a multilink peripheral?

Any what about 130 dual role?

Any thoughts on this would be much appreciated.

/Christian

Parents Reply Children
No Data
Related