IPhone 5s BLE updata rate

This is a copy of a post I just put on TI's E2E forum...
I just got an iPhone 5s so I could test compatibility with a custom app/custom BLE circuit...
Note: after fixing some iOS7 issues, everything works fine on ALL BLE capable iPad and iPhone devices from Apple.
Again, all devices (except iPhone 5s) work with iOS5, iOS6 and iOS7. (just to be completely accurate, iPhone 5 and iPad 4 and mini's were not tested with iOS5)
My apps are using multiple BLE devices connected simultaneously.
When testing with the new iPhone 5s (note also that I tested with a second iPhone 5s just to make sure it was not my phone specific), the sampled data seemed to be rather "sluggish" and in fact would continue to be collected by the iPhone 5s even after the input from the transmitting devices ceased. (apparently caching)
Another note: with 3 devices transmitting simultaneously, I can capture sample rates up to 50 samples/sec for each transmitting device with the iPhone 5 and the iPad 4, and when I increase the sample rate on the transmitting devices (tested up to 1000 samples/sec) the iOS devices "topped out" at appx 50 samples/sec which is currently acceptable for my current application so I set the BLE transmitting devices to 50 samples/sec to conserve battery life.  The indicators on the app which are affected by the sample rate are responsive an (snappy) as the data changes and when sending more than 50 samples/sec, the "extra" data is apparently being disregarded (dropped) as the "real time" indicators are using the most recently transmitted data with no apparent "caching".
Note: apps were compiled with xcode5 in both iOS6 and iOS7 - no difference in testing.
When testing with only one device, transmitting at 50 samp/sec, if I continue transmitting long enough, I can get the BLE connection to fail (over running a buffer?).  I have to lower the transmission rate down to 20 samples/sec or lower to let the iPhone 5s "keep up".  this is rather disappointing as the iPhone 5s (64 bit) is supposed to be so much faster and I fear that the new iPad to be announced this month may have the same issues if it follows the iPhone 5s architecture.
I downloaded the current iOS keyfob app from TI's wiki (remember to change  type:CBCharacteristicWriteWithoutResponse]; to  type:CBCharacteristicWriteWithResponse];), and got 2 of my TI keyfobs and programmed them with the latest "keyfob" code (BLE-CC254x-1.3.2 stack), one with no changes (ACCEL_READ_PERIOD  50) 20 samples/sec, and the other one changed to (ACCEL_READ_PERIOD  20) 50 samples/sec. - you can even change to a faster sample rate to see a more dramatic depiction of what I'm describing.
Connect each of the keyfobs in turn and shake them and watch the "bars" and you can see the "delayed" reaction - (cached).  The 20 samples/second keyfob is more responsive but you can still see a small amount of delay even down to 20 samples/sec.
I also got out 2 of my "SensorTags" and repeated the same tests with the same results just to see if there was something in the older keyfob code that might be causing this vs. the newer styled coding the SensorTags utilize, but again, the results are the same which points me back the the iPhone 5s.
I can't find anything from Apple's side about the way the 5s may be different but it appears that the 5s caches BLE data and all the rest of Apple's previous devices apparently do not.  Also, I could not find anything in the iOS or xcode side that gives any options for turning caching on or off (if that is indeed what is really happening), but even if that were the case, the exact same code (iOS) can be run on all devices with only the 5s being different.
Any thoughts out there?
I think that this should be important to anyone out there who plans on collecting "real time" data and wants to be able to support the latest hardware...
I'd be happy to give more detail on any of the tests I've done if you are unable to replicate this.
Thanks,
evw

I just got the iPad Air and can confirm that it behaves identical to the iPhone 5s as described above...
Is anyone out there concerned about this?
I've submitted bug reports, informed DTS, and posted to TI's E2E, but still nothing...

Similar Messages

  • My Iphone 4 just updated to the iOS6.  I've connected it to my computer for the first time since then, and wanted to back up my photos in iPhoto.  However, although Iphoto recognized my phone, it shows no photos to upload or backup. ??

    My Iphone 4 just updated to the iOS6.  I've connected it to my computer for the first time since then, and wanted to back up my photos in iPhoto.  However, although Iphoto recognized my phone, it shows no photos to upload or backup.  It lists my phone in the "devices" category on the left bar, but no longer shows any of my photos.
    Does anyone have any suggestions?

    I've reread your question several times and am not sure I understand it.
    Are you trying to basically start over, as if you just took your iPhone out of the box?  If so, do:
    Settings > General > Reset > Erase all content and settings

  • TS3694 hey everyone.. i have a problem with my 3Gs iphone.. i updated to the ios5 and now when i open it says that i have to connect it with the itunes. when i connect it says that has an error 28 something like that.. can anyone help me to fix it?? Regar

    hey everyone.. i have a problem with my 3Gs iphone.. i updated to the ios5 and now when i open it says that i have to connect it with the itunes. when i connect it says that has an error 28 something like that.. can anyone help me to fix it?? Regards

    Error 23, 28, 29: These errors may indicate a hardware issue with your device. Follow the steps in this article. Also attempt to restore while connected with the white USB Dock Connector cable that shipped with your device, on a known good computer and network to isolate this issue to the device. The MAC address being missing or the IMEI being the default value, (00 499901 064000 0), can also confirm a hardware issue. Out-of-date or incorrectly configured security software can also cause these errors.

  • TS4083 Is there a way or a setting my folders in Mail to automatically update across all devices? if I transfer an email to a folder for follow-up on my PC, my folder in Mail on my iPhone doesn't update until I actually go into the folder and update manua

    Is there a way (or a setting) for my individual folders in Mail to automatically update across all devices? For example, if I transfer an email to a folder for follow-up on my PC - say 10th of the following month - the same folder in Mail on my iPhone doesn't update until I actually go into the folder and update manually.  Interestingly though, if I create a new folder on any of my devices they automatically appear on the other devices so it is just the actual contents that I am referring to here.  Appreciate any help or guidance.
    Regards
    Justin

    You can turn mail off in the settings but then you can't use it for anything, including the "test" that you want to perform.
    Settings>Mail, Contacts, Calendars>Account Name>Mail>Off. That totally turns off the mail account.
    As long as mail is turned on and you launch the app, it will look for an download new mail.

  • My 5s iPhone is stuck on Itunes icon and a cable. I tried to do a restore but the iPhone isn't updated. All the labs that i send it to, couldn't fix it, what I can to? help! thanks.

    My 5s iPhone is stuck on Itunes icon and a cable. I tried to do a restore but the iPhone isn't updated. All the labs that i send it to, couldn't fix it, what I can to? help! thanks.

    Sounds like a 'stuck' Shift key. You could try to take the key off and put it back on yourself (should be some info on that from ifixit) or just take it to your local Apple Store and have them fix it.
    Clinton

  • How im suppose to fix the auto shutdown problem in my iphone 3gs after updating to ios 5.1.1 this problem has made me a mobile ****** in my house and an loser in thing care so if any solution to this problem let me know

    how im suppose to fix the auto shutdown problem in my iphone 3gs after updating to ios 5.1.1 this problem has made me a mobile ****** in my house and an loser in thing care so if any solution to this problem let me know

    What "auto shutdown problem" are you talking about?

  • I have no service and i cant activate my iphone 3gs after update to ios 5.0.1 can anyone help ??

    i have no service and i cant activate my iphone 3gs after update to ios 5.0.1 can anyone help ??

    touch me wrote:
    it says ICCID: unknown
    Not a good sign. Try forcing the phone into recovery mode & restoring it. If this fails, make an appointment at an Apple store:
    Turn your phone off. Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new.

  • I am not able to send messages to multiple person from my iphone 5s after updating to ios 8.1.2. It shows message not delievered

    I am not able to send messages to multiple person from my iphone 5s after updating to ios 8.1.2. It shows message not delievered

    Hi waqaskhan91,
    Thank you for visiting Apple Support Communities.
    If you're not able to send text or iMessages to certain contacts after updating your iPhone, start with the troubleshooting tips in this article:
    iOS: Troubleshooting Messages - Apple Support
    If you only see this behavior with a few contacts, you may want to try these steps first:
    If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    If the issue occurs with a specific contact or contacts, delete and recreate the contact from the Contacts app. Send a new message to the contact.
    Best Regards,
    Jeremy

  • I have an iPhone 5 and updated it to iOS7 but now I can't use iMessage or FaceTime as it says "waiting for activation" and won't let me use my phone number to do iMessage or FaceTime either

    I have an iPhone 5 and updated it to iOS7 last night but now I can't use iMessage or FaceTime as it says "waiting for activation" As well as that, it won't let me use my phone number to do iMessage or FaceTime it will only let me use my apple ID which I don't want to do.

    Thank you for replying.    Yes I deleted the old email address..   

  • I updated my iPhone with latest update.  I was asked if I wanted to communicate with iCloud for all my devices.  I chose yes.  I than am told I need to check my email to verify my account and there is not an email for apple to verify

    I updated both my iPad and iPhone with latest update.  Love it!  However, I wanted to use the find iPhone using iCloud feature.  From the beginning of update it kept prompting me to verify my account when I wanted to use iCloud ???  Apple kept telling me to check my email to verify my account and there is not an email from them.   And I'm not talking about verifying by my alternate email which I was successful at.

    Blue
    It sounds like you restored from an old back-up.  Did you back-up just before your software update?  It will use your last one and if your last back-up was a ywear old then it will use that one.
    In general, if you are getting these messages on your iPhones select logout (when you get that Apple Id request) and then log back in with your newer ID.
    Sorry for your losses.
    Cheers

  • I'm using Iphone 5 .After updating it with the latest software i.e iOS 7.0.6 I'm not able to see the wats app and imsg on my notification until and unless i activate the "Show on Lock Screen" which was not same as in the earlier software version.Help plz

    I'm using Iphone 5 .After updating it with the latest software i.e iOS 7.0.6 I'm not able to see the wats app and imsg on my notification center when my phone is locked until and unless i activate the "Show on Lock Screen" under each application. which was not same as in the earlier software version.I dnt want my messages or watsapp msges to be displayed on home screen when locked but should be displayed on the notification center on lock condition.
    Please suggest a solution or @Apple please get a software release which can remove this bug .

    We aren't Apple, just users like you. Have you tried a reset? Hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • Iphone 3G Software Update Fixes security vulnerability associated with viewing malicious PDF files?

    Is there an Iphone 3G Software Update Fixes security vulnerability associated with viewing malicious PDF files?  Latest version I can download is 4.2.1
    I assume no fix is available, does anyone know if I'm still vulnerable to the security bug?

    No fix is needed since that vulnarability isn't in 4.2.1.

  • Lookout OPC Client – Asynchronous I/O and Update Rate serious problems (Sequence of data)

    I am using the Lookout OPCClient driver to connect to AB PLCs (EtherNet/IP protocol) and power measurement equipment (Modbus TCP protocol). The OPC server is the NI OPC Servers. The data that are read out from PLCs and PMs are energy meter readings, energy counters, power, voltage, current, frequency, power factor and el. energy quality measurements (THD). That energy meter readings are being stored in SQL database.
    I am experiencing a serious problem regarding the accuracy of the meter readings. Several times per day, randomly, meter readings are losing the time sequence. For example, sequence is: 167, after few seconds 165, 166.  In other words, present value followed by two previous old values. That generates a serious problem in our application that is expecting a naturally rising sequence of counter values.
    Analyzing further, I isolated the problem to the connection between Lookout OPCClient and OPC Server. I made a simple application in Lookout 6.7 (opcproc.lkp, attached) with OPCClient parameters: NIOPCServers, OPC2, Asynchronus I/O, Update rate: 10000, Deadband: 0.0, that is reading just one tag from NI OPC Servers demo application (simdemo.opf).
    By using OPC diagnostic tool from NI OPC Servers I record the sequence of OPC requests and responses.  I found out that OPCClient sends every 2.5 sec “IOPCAsyncIO2::Refresh2()” call that is request for refreshing of all items in one OPC group. Few milliseconds later OPC Sever responds with callback function “IOPCDataCallback:: OnDataChange()(Device Refresh)” that actually refresh the data.
    This periodic sequence is intrinsic to the OPCClient and cannot be disabled or changed (by my knowledge).  This sequence is periodically interrupted by “IOPCDataCallback:: OnDataChange()” caused by update rate parameter of OPCClient (client is subscribed to server for periodic update of changed items).
    In the case of demo application on every 4 refresh callbacks caused by refresh requests (2.5 sec) there is one update subscription callback determined by Update rate (10 sec).
    QUESTION 1:
    What is the purpose of update sequence and update rate when we have every 2.5 sec fresh values?
    PROBLEM
    The problem arises when we have a large number of items in OPC group. In that case the OPC Server starts to queue refresh requests because they cannot be fulfilled in 2.5 sec time because of large number of I/O points that must be scanned. At the same time update subscription callbacks are running at the period determined by Update rate. I observed in my production system that regular update callbacks has higher priority than refresh callbacks from the queue. That causes the loosing of timed sequence of data. After the update callback with fresh data, sometimes follow one or two refresh callbacks from queue with old (invalid) data. By adjusting Update rate parameter (1 hour, 2hours …) I can postpone the collision of data refreshes but I cannot eliminate it. Furthermore, the 2.5 sec automatic refresh are large burden for systems with many I/O points.
    QUESTION 2:
    Is there a way to disable automatic refresh request every 2.5 sec and just use update requests determined by Update rate?
    QUESTION 3:
    Is there a way (or parameter) to change the period of automatic refresh (2.5 sec)?
    This problem is discovered for Lookout 6.5, 6.6 and 6.7 so I could say it is intrinsic to OPCClient. If I use synchronous I/O requests there is not an automatic refresh, but that is not an option for large systems.
    Thanks!
    Alan Vrana
    System engineer
    SCADA Projekt d.o.o.
    Picmanova 2
    10000 ZAGREB
    CROATIA
    T +385 1 6622230
    F +385 1 6683463
    e-mail [email protected]
    Alan Vrana
    SCADA Projekt d.o.o.
    ZAGREB, Croatia
    Attachments:
    opcproc.zip ‏4 KB

    The physical connection from LV to the switch is (I believe) copper crossover to fiber converter into a switch.  Then, fiber from the switch to the end device (relay).  The relay has all of the typical modbus registries and has been verified by inducing signals in to the system and measured/polled in LabVIEW and observed Variable Monitor.  I am working with LV 8.2 and 8.5. 
    An OPC server would only add an additional translation of addressing within the configuration.  The only real draw back would be the network overhead required to do this processing and not being representative of the end design configuration.
    I will reiterated my question in another way:
    I must answer the question to management that relates to data collection, test results and analysis; how often are you polling the client in relation to the outcomes measured?  At this time I can not point at any configuration in the set up and execution that directs the data framing rate.  I only measure the traffic and work with results.  This needs to be clearly identified based on the relay modbus/tcp design capability of supporting an fixed number of client requests per second. 
    For testing purposes, I would like to be able to stress the system to failure and have prove capabilities with measured data.  The present problem is that I have no basis to establish varying polling rates that effect the measured data transmission. 
    This raises another question.  What handles the Variable Monitor data requests and how is this rate determined?
    Thanks for your interest in my efforts.
    Steve

  • FFT Frequency Resolution vs. Graph Update Rate of a Vibration Signal

    Hello,
    First, what I know:
    The frequency resolution (Hz) of an fft is 1/acquisitionTime (e.g. if 2 seconds of data are acquired, the frequency resolution is 1/2s = 0.5Hz).
    What I'm Wondering:
    Let's say I'm displaying an acquired signal on a graph and freq res = 0.5Hz.  The graph update rate is therefore approx 2sec.  This may appear to be an application with a problem from a user's perspective.
    Can I increase the update rate?
    It seems that with vibration data (i.e. mostly non-periodic) I could create a buffer that is 2sec long.  The first data acquisition sequence will fil the buffer with 2sec of data.  Then I could just acquire something shorter than 2sec of data (let's say 1/4sec).  If I am acquiring data continuously and I push the 1/4sec of data into the front of my buffer then perform the fft again, I have effectively increased my graph update rate to 1/4sec and my users think I'm great.
    Can anyone shed any light on whether or not (why/why not) this will work?
    Thanks for your time,
    Chris  

    The best tool NI provides for your application is the Zoom FFT.  This allows you to specify the span (frequency range of the FFT) and the zoom (the delta f such as 0.5hz) in the FFT.  The Zoom FFT has a built in buffer, called overlap and allows you to set the overlap so that it updates at the appropriate rate, event though you may need many seconds of data to get the delta-f in the FFT you are looking for.  We package all this and manage units to display the correct units for power density, power, linear, magnitude, rms, 0 to peak, peak to peak, etc.  We even provide a express VI for the zoom FFT and it is also part of the Sound and Vibration Assistant, requiring no programming at all.
    http://digital.ni.com/public.nsf/allkb/F70DB3441DC5AB9986256E97005BA825
    http://zone.ni.com/devzone/cda/tut/p/id/6107
    http://zone.ni.com/devzone/cda/epd/p/id/5505
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/12152
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • TS3694 my iphone crashed during update now i have to restore but dont have my latest photos backed up ? i have a picture of itunes with the usb on my screen and cant go any further? is there a way to get it back without the update?

    my iphone crashed during update now i have to restore but dont have my latest photos backed up ? i have a picture of itunes with the usb on my screen and cant go any further? is there a way to get it back without the update?

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
    worth looking at for the future to understand backing up etc

Maybe you are looking for

  • NI DAQMX Driver performance

    Hello all, I would like to build a SubVI to generate digital & analog output, but am concerned about possible performance issues.   In some extreme cases I will need to call this SubVI in rapid succession(50ms interval) hundreds of times.   It will c

  • Web Photo Galleries

    Hi I normally use the big guy, Photoshop, but I bought elements 9 because I thought it would have that automated web photo gallery from previous versions. That is that automated feature that makes a web site of a folder of pictures. I can't seem to f

  • Mic Button Doesn't work

    I just got the new iPhone 16GB Black today, and I plug in the buds that come with the iPhone, and I click the mic button to pause a song, and nothing happens, and when somoene calls I press it and yet again nothing happened, any suggestions?

  • Best way to manage rules?

    I have just maxed out the rules for iCloud (99 rules allowed). On the Mac you can have more complex rules so you can have one rule that says basically if I get an e-mail from (Lands End, L.L. Bean, Amazon, etc) file the e-mail into my "Stores" folder

  • How to parse reader comments in new source comment sections

    I enjoy reading through the comment sections to articles in various news sources.   However, the good comments are often hidden in the over abundance of spam and mind-numbing commentary.  I would like to write an application that will selectively ext