iOS Core Bluetooth no disconnect notification

I'm developing an app using CoreBluetooth and I need to be notified if the bluetooth connection is lost. I establish connection with many BLE devices, put the app into background mode and wait for disconnect notification. The problem is I get didDisconnect method is invoked only if I push the off button on my BLE device but not when I get out of range. Do you have any idea why this could happen?

Thanks in advance for your reply.

Upvotes: 3

Views: 896

Answers (1)

Aboelseoud
Aboelseoud

Reputation: 555

Devices don't disconnect automatically when they get away from each other. You have to do that by yourself.

Upvotes: 1

Related Questions