I want to communicate with two nRF52 devices without pairing?
It is possible? Yes means kindly give the realtive examples.
Maximum data length...
Thanks.
I want to communicate with two nRF52 devices without pairing?
It is possible? Yes means kindly give the realtive examples.
Maximum data length...
Thanks.
It is definitely possible, but I suspect you are confusing pairing and connecting?
Please check out this thread answered by my colleague a while back:
https://devzone.nordicsemi.com/f/nordic-q-a/11939/connecting-bonding-pairing-and-whitelists
It describes the difference between pairing and connecting. After seeing this, do you mean pairing or connecting?
Maximum data length ... Depends on whether you are connected or not.
If you actually was talking about connection, and not pairing, I suggest you check out the example ble_app_uart from:
SDK16.0.0\examples\ble_peripheral\ble_app_uart
Maximum data length depends on what you are connected to (what length the other device can provide). If you connect to another nRF they can use the maximum length allowed by the BLE specification, 244 bytes of payload.
Best regards,
Edvin
Dear Edvin,
Thanks for your reply. Sorry for the confusion.
I need to communicate two devices without pairing...
For Example:
I want to send a command from Device (A) to (B) (or) (B) to (A) at any time. So, i don't need pairing access for every time.
Also, it will must be in secure.
Thanks
Thanks for your reply.
i saw that link.. In that link they mentioned bonding function works for already paired devices.
So i need to pair the device at least once? it's correct?
Give any example related to this...
Yes. That is correct.
In order to have a secure connection (encrypted) you need to pair. If you bond, the pairing data will be stored and used the next time, so you will only have to do it the very first time.
I am still not sure if we understand each other correctly. When you say that:
Ask313 said:Also, it will must be in secure.
Do you mean that the packets must be transferred, or that it has to be encrypted?
If you mean encrypted, please have a look at the ble_app_gls example.
BR,
Edvin
Edvin
Yes,that packet must be transferred. Now we don't need encryption.
Also give related example...
if so, check out the ble_app_uart example.
Best regards,
Edvin
if so, check out the ble_app_uart example.
Best regards,
Edvin