Dropped data when push notifications come in with Bluetooth Classic
site_archiver@lists.apple.com Delivered-To: Bluetooth-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pushstrength-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=6sPRcXX+Hq4OtpVUVbazPcAhv3OLQlwNlLFUWeAx9oY=; b=DbTS5wvphFoRrsKd2bdBJraEy2klcRAqapJsOEAcS3kUtg/pKzITN3t28VLttfhGNM MikxY/QBs4u7TEq8H8rkC4q0Tt/CMVWCg28NN45dbQfxa0HMuRfiAhCpB6nuIucYJjrZ knUWD27PQyjvfEb3FVdQzdQY3JhKszyQxSTpwmTQCbYlYBeLOv851+m1nZD12OWXqzrR wY101LlCU4PHKxxGQD84APcUuIEf4uC8rZ4eOZx5pD+Kggi/cQlWZpbMwa4VJfmTzVd0 knsbEx4R4Cv1yYbX+0ZtbK6uxLw3LMQWxpx18GXay3+QoPFqM8I2R5gs192hfo/7yTIm gR8w== Hi, My iOS application interfaces with a bluetooth classic device. Im using the External Accessories framework to read accelerometer and gyroscope data from the bluetooth device. The frequency of the data stream is about 200 Hz. However when the iOS device receives a push notification (ex an iMessage) there is some data loss. Any ideas why this is happening and what is causing the data loss? An interesting observation that I made: With the Xcode debugger I put a breakpoint in my code while data is streaming from the bluetooth device to pause execution of my application. When I resume execution 5 seconds later, I still receive the data that was being streamed while the app was suspended! Is this because iOS buffers the data and waits for my app to come back to life before calling the stream handleEvent delegate? Here is how I am communicating with the bluetooth device: https://developer.apple.com/library/content/featuredarticles /ExternalAccessoryPT/Articles/Connecting.html _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Tommy Le