Hello every! I was transmit data from point1 to point2 with two nrf52840 board. Now I want to do forward this data to point3. Can i do that and how to implement? Have any example about that? thanks you!!!
Hello every! I was transmit data from point1 to point2 with two nrf52840 board. Now I want to do forward this data to point3. Can i do that and how to implement? Have any example about that? thanks you!!!
Hi MainOFF,
we have a BLE relay example in the nRF5 SDK, see this Infocenter page.
Best regards
Bjørn
can I transmit large data with this example?
Yes, you can send up to 254bytes in each packet, but it is not configured to do this by default. The maximum theoretical throughput with the nRF52840 when using the BT5 High Speed feature is about 1.4Mbps.
do you think can I combine two example : BLE relay and att_mtu_throughtput? I want to transmit 1~2 Mbytes data from point1 to point2, point2 forward this data to point3. if you have other idea, please tell me. I thinks I have use two nrf52 in each point. one to receive data via ble, then transmit this data to 2nd mcu via SPI or UART or IC2. 2nd mcu transmit data via ble to other device. but SPI data rate thoughtput do not enough high to do that. am I correct?
Yes, it should be possible to modify the ble relay example to expand the ATT MTU and increase the the data length of the packets. You do not need to have 2 nRF52s in one unit, one nRF52 can operate in bot peripheral and central role at the same time.