Pairing specific pairs among many

Hello, we're trying to make products using BLE with nRF52840(central) and nRF52833(peripheral).

We did make custom boards and also made a program that once paired(bonded), it won't connect with others.

(eg, once nRF52840 and nRF52833 is paired, it will not connect with others)

We were wondering is there a way to make specific central connect with specific peripheral?

Is there a way to make each central/peripheral unique so that pairing process can be done without interference?

We got concerned that wrongly paired(or bonded) devices might ship out.

At our current stage, pairing wrong central/peripheral is possible.

Other infos.

nRF52840-central has 2 buttons, while nRF52833-peripheral has none

We're using SDK 17.1.0 S140 Segger Studio

has NUS(communication) and BAS(battery check) BLE services

thanks

edit:

extra question: is there a way to write certain unique number/MAC address on flash during flash write and then read it during application?

How do I know which address of flash is used or not?(want to avoid  collision with bonded info)

Is there a download tool beside nRF Connect Programmer?

Parents
  • June20 said:
    Does pairing/bonding affect power consumption?

    The pairing procedure can consume a bit of power, especially if you use LESC. But this is a one time operation. Using encrypted packets on the link does not contribute significantly to power consumption.

    June20 said:
    Can you please add rough code of central whitelisting just in case I decide to add IRK address please?

    If you want to use IRK (to use resolvable private address), then you need to bond. There are examples of bonding and whitelisting as central, for instance GATT Service Server Example Application. If you want to use resolvable address (in any role), you can refer to this post.

    June20 said:
    I planning to change this thread into public since I didn't post my code, is it ok?

    Yes, that is more than OK. Public threads are preferable Slight smile

Reply
  • June20 said:
    Does pairing/bonding affect power consumption?

    The pairing procedure can consume a bit of power, especially if you use LESC. But this is a one time operation. Using encrypted packets on the link does not contribute significantly to power consumption.

    June20 said:
    Can you please add rough code of central whitelisting just in case I decide to add IRK address please?

    If you want to use IRK (to use resolvable private address), then you need to bond. There are examples of bonding and whitelisting as central, for instance GATT Service Server Example Application. If you want to use resolvable address (in any role), you can refer to this post.

    June20 said:
    I planning to change this thread into public since I didn't post my code, is it ok?

    Yes, that is more than OK. Public threads are preferable Slight smile

Children
No Data
Related