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

Bluetooth system setup problem about nRF52832 Central and Peripheral

Design background and goals,

1.Both ble_central and ble_peripheral are used nRF52832.

2.All nRF52832 UUID are the same.

3.Devices of different groups can’t be connected to each other.

4.All devices support DFU upgrade.

Now, I have implemented the following functions,

1.ble_central_and_peripheral.

2.Achieve binding and pairing between ble_central and ble_peripheral.

Now I don’t know how to make production easier and the system stable. Looking forward to the Nordic engineers can give some suggestions.

Best regards,

John

Parents
  • 1.Both ble_central and ble_peripheral are used nRF52832.

     

    2.All nRF52832 UUID are the same.

     

    3.Devices of different groups can’t be connected to each other.

     Do you mean should not, or can not? Is it because they are not within range, or because they should not (because of the way the application works?)

     

    4.All devices support DFU upgrade.

     

    I don't really see any questions here. Did you encounter any specific issues? Or are you looking for general suggestions?

  • 1+2+3, make easy, I use nRF52832 as ble_central and ble_peripheral, I have multiple groups which have the same UUID, but ble_central of Group1  only connect ble_peripheral of Group1 , same for other groups.

    4, I want to do it through a whitelist, but DFU needs to be upgraded through a mobile phone. If ble_peripheral is in the whitelist broadcast mode, then ble_peripheral cannot be connected.

Reply
  • 1+2+3, make easy, I use nRF52832 as ble_central and ble_peripheral, I have multiple groups which have the same UUID, but ble_central of Group1  only connect ble_peripheral of Group1 , same for other groups.

    4, I want to do it through a whitelist, but DFU needs to be upgraded through a mobile phone. If ble_peripheral is in the whitelist broadcast mode, then ble_peripheral cannot be connected.

Children
  • role_2099 said:
    4, I want to do it through a whitelist, but DFU needs to be upgraded through a mobile phone. If ble_peripheral is in the whitelist broadcast mode, then ble_peripheral cannot be connected.

     That is correct. You need to be able to connect to a phone when you want to perform a DFU. Perhaps the central can also connect to a phone (the central needs to advertise as a peripheral), and you can connect to it with the phone and tell the central to tell one of the peripheral (the one that you want to update) to disable it's whitelist? At that point, you may even change the advertisement, so that the other centrals (ble_central_n) doesn't attempt to connect to it, but the phone that wants to perform the DFU will look for that device specifically?

    Another alternative is that you press a certain button on the device that you want to update, and it can change the advertisement and disable the whitelist so that the phone can connect.

    BR,
    Edvin

    BR,

    Edvin

Related