This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

advertising iphone using NRF connect 2.21 for IOS. (very basic). instuctions?

Sorry this is very basic. Not really for NRF connect for Desktop. But for NRF connect for IOS.

1.I'm just trying to  have my iPhone (iphone 6 ,  IOS 12.4.6) use NRF connect (for Ios version 2.21)  to advertise the Iphone itself.  I couldn't find any instructions,  [At this point I'm not even trying to create an actual connection]

2. Sometimes it works  - meaning iphone is seen as peripheral by a ble scan running on another device (android). The android is fine picking up all sorts of things on its scan.   But sometimes it doesn't find the iphone right next to it.

3. through trial and error I seem to have created an Advertiser Profile that works sometimes - though NRF connect kept giving be a "bad format" response when I tried to tap on the profile created.

4 I run the scanner (sometimes I get a 'problem with your blootooth error' but that goes away when I hit scan.  And then turn on the advertiser.i also changed Setting/Scanner/ Automatic Read after Write to YES.

Anyway - is there any basic documentation on this? Thanks very much,

  • Hi

    I just tested this a few times on a newer iPhone(X) and was not able to recreate this issue. Can you please provide some more details on your case while I try to track down an iPhone that is as old (or older) than iPhone 6? What kind of advertising profile are you setting up? I did not have this issue with the glucose preset advertiser nor the standard phone as an advertising device using nRFConnect (v.2.21). Do you see any difference when the iPhone screen is off and the phone is locked while advertising? It might be that the older iPhone stack doesn't allow it to advertise constantly.

    Best regards,

    Simon

    UPDATE: I got hold of an iPhone 5s and was not able to reproduce an error like this there either, so please give me some more details on the trouble you're experiencing.

  • thanks

    1. maybe it's the old phone - I'll borrow another phone and try that.

    2. but there isn't any documentation on this IOS App which I was just trying standalone -  is that all in the windows version of NRF Connect?

    3. i was just trying to use the default advertising, just to test. 

    4. the advertiser state says "yes" (see attached screen shots)

    5 the app wouldn't really let me do too much to tweak the advertiser.

    I choose advertiser.  Then new advertiser. then add service. App gives error "import error - the data couldn't be written  because it isn't in the correct format". But it also creates a "generic Access service" at the same time it gives me that error. 

  • you are right - NRF connect works on junior's Iphone 7.  thanks for your help. we can close this matter.

  • Glad you got it working. I updated the iOS version on the iPhone 5s I tried yesterday, and now I'm also seeing the "Import Error - The data couldn't be written because it isn't in the correct format" and provides a Generic Access service, so there seems to be an issue with older iPhones. I will report this internally, but I'm glad you got it working on the iPhone 7! Here is the nRFConnect app product page, you should find all available documentation there and on the GitHub page nRFConnect for Mobile GitHub page (iOS here) and (Android here).

    Best regards,

    Simon

Related