Random disconnection happens when LE link is being kept with only NULL packets.
Random disconnection happens when LE link is being kept with only NULL packets.
- Subject: Random disconnection happens when LE link is being kept with only NULL packets.
- From: Daisuke Matsuoh <email@hidden>
- Date: Wed, 04 Jul 2012 20:49:02 +0900
- Organization: Citizen Watch CO., LTD.
Hi,
I don't think we coded our app correctly..., but sometimes our test
LE app disconnects every approximately 10 minutes. But sometimes
our App can sustain the link more than 10 minutes.
I don't know why but the situation is something like this: when
there are no traffics on Bluetooth link for about 10 minutes,
suddenly iOS seems to disconnect the link automatically. For test,
we didn't implement any disconnect codes, and result was same.
Regarding the air log, iPhone emits the "LL_Terminate_IND" command
even we never codes any disconnecting methods. There were no
errors, no meaning packets before disconnection, just NULL packets
for sustaining the link were exchanged between our test App and peer
device.
Does anyone has had same experience? We code our App on iOS 5.1.1.
We assume that this is related with background and suspend matter.
We use "Bluetooth-central" label for UIBackgroundModes Key. Are
there any cases that iOS disconnects the link without reporting to
App?
I would like to debug this situation, but I couldn't get any reasons
of disconnection. Could I know the reason why the link was lost
using the APIs like "Remote user terminated"or "Time out"? (
Whenever I check error object of
centralManager:didDisconnectPeripheral:error:, it is 'nil'. This is
another question though...)
Thanks for your cooperation.
Best Regards,
Daisuke
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden