Simultaneous communication as central and perihperal for the nRF52840

Hello,

I have to develop a new device that has to connect as a central device to three sensors, and has to connect as a peripheral to a smartphone. The type of connection would be 1Mbps PHY. The sequence of events would be the next:

 1.- Capture the information of sensor 1.

2.- Repeat the information of sensor 1 to the smartphone.

3.- Repeat the former steps for sensor 2 and sensor 3.

The quantity of information is quite long for each sensor (around 110KBytes), so I will have to divide the communication of the buffer information in many packets. What do you think could be the maximum packet size I could receive and send using the nRF52840 and the present SoftDevice version?

There is then a problem about the time delay between the capture of the information of the three sensors and the reception in the smartphone. For reducing the time delay one option would be resend a packet to the smartphone at the same time that it's readed from one sensor. Do you think the only way to do that would be assembling 2 modules based on nRF52840? Or is it possible to interleave the Rx as central with the Tx as peripheral?

Thank you very much in advance.

Best Regards,

Joel Invers

Parents
  • Hi Kenneth,

    Thank you for your answer.

    The sensors have a very small range, so this new device is, in fact, a repeater to the smartphone.

    The latency requirement all the way sensors-relay-phone may be 1 or 2 seconds.

    About the througput, there is no specific data. So the question is how to get a compromised setup the full set. The sensors are BLe 5 compliant.

    Best Regards,

    Joel

Reply
  • Hi Kenneth,

    Thank you for your answer.

    The sensors have a very small range, so this new device is, in fact, a repeater to the smartphone.

    The latency requirement all the way sensors-relay-phone may be 1 or 2 seconds.

    About the througput, there is no specific data. So the question is how to get a compromised setup the full set. The sensors are BLe 5 compliant.

    Best Regards,

    Joel

Children
Related