Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Configuring BLE on nRF52 using modern TWS mechanism

Hi to you all. I have a question about how I can apply this mechanism in nRF52.

In modern TWS, it works like the phone or PC connects earbuds separately and sends and receives data between them. So, I want to apply this mechanism to the BLE service. While searching the BLE devices I want to see one name but when I connect BLE I want to get data from two devices. Which example of the nRF SDK meets my requirements while developing the BLE service? I just want to send data that I read from ADC to the PC or phone side of the system. PC or phone will connect two devices under the same name. 

Thanks for helping. Have a great day.

Parents
  • Hi Omer, 
    Could you let me know which SDK you are using ?
    If you are using nRF Connect SDK you can take a look here: https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/samples/bluetooth/central_and_peripheral_hr/README.html

    If you are using nRF5 SDK please look at \examples\ble_central_and_peripheral\experimental\ble_app_hrs_rscs_relay

    The way is work is that the relay device will act as both peripheral and central. It will collect data from the extra peer as the central . Then it will deliver the data to the phone as the peripheral to the phone. 

  • Hi Hung Bui,

    Thanks for your reply. I am using nRF5 SDK. Thanks for your advice. The working mechanism of this configuration is like master-slave right? One of them will be the slave and send data to the master device and the master device will communicate with a PC or phone. I will try this configuration.

    But I also try to make independent connections via Bluetooth. I want the phone or PC to be connected to the devices separately. Just like in modern TWS headphones. Can I integrate this? Does it allow such a configuration? If so, which examples should I review?

    Again thanks for your reply. Have a great day.

  • Hi Omer, 

    omerBzkrt said:
    But I also try to make independent connections via Bluetooth. I want the phone or PC to be connected to the devices separately. Just like in modern TWS headphones. Can I integrate this? Does it allow such a configuration? If so, which examples should I review?

    Please elaborate more on what you want on this. 
    So you want the possibility of connect to either of the device and then can request data from the other device, correct ? I think it's possible. You will need both device can act as central + peripheral and they can share data between each other. 

Reply
  • Hi Omer, 

    omerBzkrt said:
    But I also try to make independent connections via Bluetooth. I want the phone or PC to be connected to the devices separately. Just like in modern TWS headphones. Can I integrate this? Does it allow such a configuration? If so, which examples should I review?

    Please elaborate more on what you want on this. 
    So you want the possibility of connect to either of the device and then can request data from the other device, correct ? I think it's possible. You will need both device can act as central + peripheral and they can share data between each other. 

Children
No Data
Related