Peripheral Device Not Found in IoS

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
user_1277361
Level 1
Level 1

Hi,

We have developed a Peripheral device on CYBLE-212020-00 device. It has lots of custom characteristics and use read/write/notify functions of BLE 4.2. We also developed a chrome based mobile app. On Android devices, the chrome app is able to find our device and connect to it then read/write to our custom characteristics successfully. But iPhone devices can not find our peripheral device neither on our chrome app nor settings->bluetooth.

We also downloaded the CySmart ios application and interestingly it is able to find our peripheral device. I think if we can solve the issue about finding our device in settings->bluetooth in the iphone device, our chrome app will be able to find it either.

I found below article and tried the suggestions there but none of them worked:

Making a BLE Device Discoverable on iOS Devices - KBA223312

I copied my BLE component to an empty project and archived that project here. After programming the project to the cyble module, you should be able to see it with the name "TEST_PERIPHERAL" on android devices but not on ios devices. Can anyone please help me to solve this issue? Otherwise our device will only be used on Android device which is not acceptable for us.

Best Regards,

Abdullah.

0 Likes
1 Solution

Hello,

Yes, iPhone might not be able to recognize the customer services in your device. I tested with the "BLE_HID_Keyboard" example project available in PSoC Creator and iPhone is listing BLE device under Settings->Bluetooth.

We suggest you to refer "Accessory Design Guidelines for Apple Devices" available at, https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf  to design your BLE application.

Thanks and Regards,

Sudheesh

View solution in original post

0 Likes
8 Replies
SudheeshK
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Hello,

I am getting an error "Can't find file TEST_PROJECT0.cyprj" while opening the project you attached in PSoC creator.

Could you please check and attach your project again?

Thanks and Regards,

Sudheesh

0 Likes
lock attach
Attachments are accessible only for community members.

Hello Sudheesh,

Sorry for the trouble, I fixed that and attached the project again.

Best Regards,

Abdullah.

0 Likes
AlanH_86
Employee
Employee
100 replies posted 50 replies posted 25 solutions authored

I read that KBA... I didn't know about its existence.. that is a nice document.

I haven't looked at the project... but my intuition says your project isn't the problem.  My bet is that you have a iOS software problem

Alan

0 Likes

Thank you for the answer. We tried it on several different iPhone devices

and as you already know there are not much ios devices that customers can

use. I mean we can tolerate the problems happening on specific android

devices but apple already has only bunch devices and they most of the time

functions same.

So we are trying to find the issue related to this problem. The project I

attached does not include the differences suggested by that article,

instead it has the default settings we use. But I also tried those

suggestions but it didn't solve the problem.

20 Eki 2020 Sal 17:41 tarihinde AlanH_86 <community-manager@cypress.com>

şunu yazdı:

<http://www.cypress.com>

Cypress Developer Community

<https://community.cypress.com/?et=watches.email.thread>

Peripheral Device Not Found in IoS

reply from AlanH_86

<https://community.cypress.com/people/AlanH_86?et=watches.email.thread>

in PSoC 4 BLE - View the full discussion

<https://community.cypress.com/message/253999?et=watches.email.thread#253999>

0 Likes
lock attach
Attachments are accessible only for community members.

Hello,

One of the reasons why iPhone does not list your peripheral under "settings->bluetooth" can be that you are using a customer BLE profile and iPhone does not recognize it. I tested with our heart rate sensor example project, it was getting listed under "settings->bluetooth" on iphone. I have attached it with this response for your reference.

Since, CySmart installed on iPhone is able to list your peripheral, you can refer the CySmart source code available from our website and make changes to your own app. Source code for CySmart is available at: https://www.cypress.com/documentation/software-and-drivers/cysmart-mobile-app .

Thanks and Regards,

Sudheesh

0 Likes

Hi,

Thanks for the answer.

We already have the source code of CySmart but it is written on Native language, not as a browser app. We are running our app on a browser so it won't help us. Our BLE device has custom services, I tried setting device availability as Human Interface Device for example, but it was not seen either. Should we have to use it as a well-known profile like hearh rate sensor?

Regards,

Abdullah

0 Likes

Hello,

Yes, iPhone might not be able to recognize the customer services in your device. I tested with the "BLE_HID_Keyboard" example project available in PSoC Creator and iPhone is listing BLE device under Settings->Bluetooth.

We suggest you to refer "Accessory Design Guidelines for Apple Devices" available at, https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf  to design your BLE application.

Thanks and Regards,

Sudheesh

0 Likes

This is correct

0 Likes