I have 3 questions: 1. How to set device to non-discovery mode? 2. Once the device is in non-discovery mode, How can host connect to it? 3. Can I use Master Control Panel to connect device which is in non-discovery mode?
I have 3 questions: 1. How to set device to non-discovery mode? 2. Once the device is in non-discovery mode, How can host connect to it? 3. Can I use Master Control Panel to connect device which is in non-discovery mode?
what's difference between General Discoverable and Limited Discoverable? and if no advertising, but we have bond before, can phone side do direct connect to nrf51822?
what's difference between General Discoverable and Limited Discoverable? and if no advertising, but we have bond before, can phone side do direct connect to nrf51822?
This is really a separate question and would be better off separately. However, there isn't really any conceptual difference between General discoverable and Limited discoverable advertising; they are just different modes defined by the spec. You can read about these in Volume 3, section 9.2.3 and 9.2.4.
Some devices may be using this flag to determine whether or not a device should be shown in a list of discovered devices.
If a device isn't advertising, it's impossible for any Central to connect to it. See this question for details: http://stackoverflow.com/questions/22097079/is-it-possibile-to-wake-up-a-deep-sleep-ble-device-in-android-sdk
Thanks for the reply, What I observe is after bonding, Master can connect without scan, but slave have to advertising, if no advertising, master can't connect as well, seems contradict with http://stackoverflow.com/questions/22097079/is-it-possibile-to-wake-up-a-deep-sleep-ble-device-in-android-sdk since we want to save slave's power, I wonder, is it possible the other way, which is slave doesn't need to advertising?