Is it possible to bond with multiple devices with nrf8001? If it is possible, could you add some examples about it
Is it possible to bond with multiple devices with nrf8001? If it is possible, could you add some examples about it
Does this mean that:
a) If you are bonded to multiple devices, you can practically be bonded just to one device (nrf8001 would store here just one bond)? Like you have to restore bond information after disconnection using bond_data_restore when you notice that disconnection happened because of lost bond information. This won't work in practise. Other end will delete bond information after it has noticed that bond is lost.
b) You can be connected just to one device and you can store multiple bonds in nrf8001.
Does this mean that:
a) If you are bonded to multiple devices, you can practically be bonded just to one device (nrf8001 would store here just one bond)? Like you have to restore bond information after disconnection using bond_data_restore when you notice that disconnection happened because of lost bond information. This won't work in practise. Other end will delete bond information after it has noticed that bond is lost.
b) You can be connected just to one device and you can store multiple bonds in nrf8001.
Based on your nRF8001 SDK, it seems that you can have at least 2 simultaneous bonds with nrf8001. How many bonds it is possible to store?
You can be connected to just one at the time, but you can read out and store various bond information and put this back into the nRF8001 and hence be bonded to several units, but not at the same time. You have to shuffle through the various bonds one at the time.
And this basically means that you have to reconnect to nrf8001 if it does not have correct bonding information at the time of connection establishment? Or can you restore bonding information so that reconnection is not needed?
You have to do a re-connect every time, but this can be re-connect towards an already known central or what's called directed advertising. You have to re-connect, it's not possible to just start sending data and assume the central is listening. You have the option of doing slave latency. This enables you to skip connection intervals seen from the peripheral side, but only for a few intervals. You can't load different pairing information in between.