site_archiver@lists.apple.com Delivered-To: Bluetooth-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bluekitchen-gmbh.com; s=default; h=References:To:Cc:In-Reply-To:Date: Subject:Mime-Version:Content-Type:Message-Id:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=MJ19myXTxPHJdfTOqkDR6KHzH+QZ3FIu1eujk5ym0XM=; b=lJLiBzqcwL5PqDERLObEehfXK eS81Q0gTvlFUkvDtVV5CFVIq47G8P3KnlN3E7MX1Yqi9dyK2UcTwFO6QWEaoVS8RU07O0MkDNe/ce 6YElHV/eUAe6lJ5aU6vQOqZoRqXwiCsYwYAJjiO/32ucVjZvjhAIGHYj37X8wOEIBKg+UMDkMVijQ CppHkp0T3PisVCZgE24knB491znQCK2oSo4uEQPQgMzGhOV8peLPYb4gXvFRrt0RkKI1L726sNFEl ureEvM4zV8eVuKuQ6NqQkXaYIqkXylWFI8RtL4gRW0qU82UiJcWH4eTmlXe3fh6UgdEAS2QnxE2fs BS32FF+iw==; Hi Tommy I'm not sure how much we're allowed to talk about MFi - I would assume pretty little to nothing. Here's some very general ideas: - you could analyse the Bluetooth communication on your device and check what packets of the MFi EA you send and which you receive. - on a pre iOS 10 device with a Jailbreak, you could use the Packet Logger feature of the Bluetooth Companion extension from Cydia to check what's going on - finally, you could use the official ATS testing tool to test the communication as it probably points out missing packet and such. (public info: http://www.fte.com/products/BPA100.aspx <http://www.fte.com/products/BPA100.aspx>) As this sounds a bit strange, I would also suggest to try with different iOS device and/or version, maybe there's a pattern. Good luck Matthias — Dr. sc. Matthias Ringwald BlueKitchen GmbH, Zurich
On 19 Jun 2017, at 17:52, Tommy Le <tommy@pushstrength.com> wrote:
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/ExternalAccesso...
<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/matthias%40bluekitchen...
This email sent to matthias@bluekitchen-gmbh.com
_______________________________________________ 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