Hi,
I have few questiones to initiate developing our project taking BLE Examples and BLE Services as reference.
- Now,First thing we have to do in examples is turn bluetooth on in mobile.
- Then nRF Chip will be advertising and in nRF Connect we have option to scan and then connect.
- If we choose to diconnect we have to open the app and disconnect it or we can turn-off the bluetooth on mobile.
The above is the procedure for disconnection and connection in BLE Examples.
For my application,I have a requirement like below
If I have to connect for the first time I should enter into pairup mode and store device in identities list,If I turn off bluetooth it should get disconnected.
For the next time when I just turn on bluetooth the device should get connected automatically and should be able to recieve notifications from the device.And For disconnection I need not open the app,if I turn off bluetooth it should get disconnected.
And the other thing is I can't reset the device everytime I want to get connect After first time connection,Every time If just bluetooth gets on in mobile then device should send be able to send notifications.
This means my application requirement needs nRFChip to be always on air.Even to recieve notifications we will not be able to open the app and check for change in values/notifications recieved instead we should be able to get notifications like mail alerts and messages do in regular usage.
What will be procedure to make device available after disconnecting other than repeating for scanning and advertising and opening app to connect for every connection.
Please let me know the way to follow to implement my requirement.
Thanks & Regards,
Swathi P.