Re: need to reboot device to get btle working again question
Re: need to reboot device to get btle working again question
- Subject: Re: need to reboot device to get btle working again question
- From: Ming Leung <email@hidden>
- Date: Mon, 18 Mar 2013 11:30:38 -0400
I have the exact problem and I am using an external central device. So I guess the problem is with CBPeripheralManager.
When this problem occurs, I saw CoreBluetooth[ERROR] XPC and BT was reset. After it recovers, sometimes it never can send notification (via updateValue:forCharacteristic:onSubscribedCentrals:) even you restart the app or turn off/on the Bluetooth in Settings). The only way to get out that situation is to hard reset (or off/on) the device.
../ming
On Monday, March 18, 2013, Matthew Chung wrote:
Hello,
I have an ipad mini and iphone 5 both running ios 6.1.2. One is acting as the central and the other as the peripheral, where the central is receiving data via notifications.
Intermittently, my call to updateValue in the peripheral
didSend = [self.peripheralManager updateValue:chunk forCharacteristic:self.transferCharacteristic onSubscribedCentrals:nil]
always returns false and
peripheralManagerIsReadyToUpdateSubscribers
never gets called. also my central delegate callback
- (void)peripheral:(CBPeripheral *)peripheral didUpdateValueForCharacteristic:(CBCharacteristic *)characteristic error:(NSError *)error
does not get called. normally, restarting the app or rebuilding in xcode works fine, but at times, I need to reboot the device to get notifications working again. This is even if the central has successfully subscribed.
I'm not sure if the issue is in the Central or Peripheral. Anyone have any thoughts as to why this may be?
Thank you.
_______________________________________________
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