RomainQuidet / LELocation-framework-iOS

Bluetooth 4.0 Location & Navigation Service stream to CoreLocation iOS framework
Other
15 stars 4 forks source link

Cannot reconnect if iPhone is in locked state #5

Open vincent290587 opened 4 years ago

vincent290587 commented 4 years ago

When biking, disconnections can happen, and it would be extremely nice if the device could automatically reconnect to the phone. It is linked to the phone resuming advertising automatically. Please have a look at a discussion I started on Nordic's forum: https://devzone.nordicsemi.com/f/nordic-q-a/46279/nrf52-ble-central-auto-reconnect-to-iphone

Thanks a lot for the great app !!

RomainQuidet commented 4 years ago

Hi Vincent, Thanks for this feedback, I'll have a look at this discussion.

What devices are you using ?

vincent290587 commented 4 years ago

Hi ! And thanks for the much appreciated support !

I currently have an iPhone 8, and using the nRF52840 on the central side. The nRF52840 looks for a device advertising the LNS service and then tries to connect to it.

When biking my phone being in the back pocket, the signal can drop and disconnects I guess

RomainQuidet commented 4 years ago

Ok I see. Your nFR52840 device is a prototype of yours or a commercial device ? I'll try to add an option for auto reconnection if link is lost.

vincent290587 commented 4 years ago

This is a prototype of an open-source bike computer, you can have a look at the project there: https://github.com/vincent290587/stravaV10

Your app is very useful as a backup GPS signal, and also for feeding the GPS chip an initial fix for faster initialisation !