Problems such as the title, we are now want to each device address, were found in the official instance 4 related content.
Findings:
Define USER_CFG_PRIV_GEN_STATIC_RND, although address is randomly generated, but unable to save, change electric address will next time.
Define USER_CFG_PRIV_GEN_RSLV_RND, although even if the reboot after binding address will not be changed, broadcasting also can be found, but unable to connect to the device.
How is this to return a responsibility excuse me?
Device:
hello
Could you tell me which is based on the engineering development?
Hello!
Er is based on the official example 4: security
hello
What you say official instance, which refers to the document?
Please describe your use project belongs to the SDK version, such as SDK5.0.4 ble_app_barebone in engineering.
In addition, the connection is not on, mobile phone have what tips, what printing equipment information (if you have open print)?
Hello!
Is the ble_app_security SDK5.0.4.And only change the # define USER_CFG_PRIV_GEN_RSLV_RND
I use the NRF connect test, it is can be found after binding equipment, but connect and disconnect once, will not be able to connect again.
With BLE Scanner test, could not be found directly after binding equipment.
"I use the NRF connect test, it is can be found after binding equipment, but connect and disconnect once, will not be able to connect again."
May be you didn't put the phone system setup bluetooth pairing information deleted in the list of equipment
"With BLE Scanner test, could not be found directly after binding equipment."
Is probably already connected.Suggest bluetooth after turn off the phone, open again
Hello!
With BLE scanner, can be found after restart the mobile phone bluetooth, but unable to connect.
You in front of a word is what mean?Why do you want to delete the binding?
Bluetooth encrypted connection, a few steps
1, connect
2, paired, secret key information, exchange way there are several kinds of common, is the mobile phone will pop up a matching window, users point was determined, complete the authorization process, after the match
3, binding, will step 3 involves the secret key information, stores it
4, link encryption, encryption transmission
Complete binding equipment, the next time the connection, no need to match, can be directly from the binding of stored information, obtain the secret key, link encryption.
When mobile phones, equipment has lost the binding information by a party, would result in a connection failure
When removing the binding information in mobile phones, equipment, can match again, binding.
Clear cell phone paired list, can remove this information
Hello!
But I now have no binding information lost?
My steps are:
Connection, binding, input "123456", disconnected, behind will not be able to connect again.
Unable to connect again, the general reason is one of pairing information had been lost.At that time, you need to empty the both sides of the matching information, connect again.
Way is clear on both sides of the matching information, mobile terminal, clear in the list of paired devices;Equipment, if it is keil debug mode, then back to electricity, if be burn into the flash, burning program again.
Well, why is lost?This is not even the binding binding?
If I equipment to normal after using for a long time, what to do.
Pairing information can be stored in the flash, the processing of related, see app_bond_db. C
Hello!
Engineering the default is to bond the db stored in spi flash of ah, I use a snippet tool also did successfully saved.
hello
For questions:"I use the NRF connect test, it is can be found after binding equipment, but connect and disconnect once, will not be able to connect again"
Is your test phone models, please?Will there be the problem with other cell phone?
In addition, the problem was caused by a change bluetooth address types?With the default public bluetooth address, will there be the problem?
Hello!
I use a mobile phone is one plus five, system version for 8.1.0, with other mobile phone also has this problem.
Yes, use the default public and static.
But I want to do after each device has a random address and binding, can save the address no longer change.But with the static electricity again would be to regenerate the new address.
hello
What is the purpose?
Uh, resoveable of high safety, isn't it?
Public subsequent mass production to use burn unit isn't it?
hello
Public address points and random type.If you want to keep the bluetooth address in the life of the product remains the same, can only use public type