WHy EASession inputStream isn't filling fast enough!!

Hi, I need to read data from external device using Bluetooth. My college , a hardware engineer, is filling

the external device(EAAccessory) with data , he writes each time a packet of about 100 bytes to the accessory , 100 times each second, so we are talking about rate of 10,000 bytes each second. I read the data from the accessory's input stream each time I get

NSStreamEventHasBytesAvailable event from the system into my EASession input stream and I observe that I get 100,000 bytes only after about 4.5 seconds instead of 1 sec.


Now it turns out that Apple is using a heavy security check each time my friend writes data to the Bluetooth buffer. so that might cause a delay, how can I bypass this security check to get much closer to real-time rate?


P.S -my friend tried writing bigger packets but fewer times each second to get 100K rate, but there was still a series delay when I tried to read from the Blutooth buffer.


anybody got a solution???


iPad, OS X Mountain Lion (10.8.4)

Posted on Nov 20, 2013 4:36 AM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

WHy EASession inputStream isn't filling fast enough!!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.