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
Check out the link that I sent.
Ask313 said:Also, it will must be in secure.
And
Ask313 said:I need to communicate two devices without pairing...
Are oposites. You want pairing. Perhaps you want bonding. Please read the answer marked as answer (marked in green) in the link.
Dear Edvin,
My project is control the motor or light or something through BLE(nRF52832).
The BLE will receive command from Android. So every time BLE we don't need to pairing with Android.
if we give command from Android it will receive at anytime.
The BLE(device) always powered. So give your comments it will help for our project.
You should use bonding, so that you don't have to manually insert the passkey every time you connect (only the first time).
I don't really see any questions. Do you have any?
Did you open the link that I sent in the first reply?