- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I had written a code which used BLE, emEEPROM and ADC blocks.
The code works fine on CYBL-11573-56LQXI and CYBL022001 PSoC 4 BLE modules. The device is discoverable on CySmart app and functionality also works.
The exact same code on CYBLE 012011 BLE module does not work. The device is not discoverable on CySmart app.
What could be the issue.
Thanks,
Ameya
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Tags:
- cyble-012011
- psoc4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ameya,
1) Sometimes the device gets disconnected (more so on specific devices, even though the android version of the device is same).
Ans: There will be some problem with particular mobiles. Can you please let us know the disconnection error that you are getting. For this in firmware, you can get the event parameter value from the CYBLE_EVT_GAP_DEVICE_DISCONNECTED event as follows:
Printf ("Error code is: 0x%x \r\n",*(uint8 *) eventParam);
2) On some devices the services are not discoverable (although the ble module is visible)
Ans: Can you change the default Bluetooth base UUID with a different base UUID. To do so, change the UUID from the Bluetooth base UUID, i.e., it should not be of the format 00000000-0000-1000-8000-00805F9B34FB (which is generated in BLE Component custom service/characteristic UUID). You must edit the number format of the custom characteristic / service UUID to make it different from the Bluetooth base format.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ameya,
Can you please check with different mobiles. Can you please share your project?
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello PY_21,
Thanks for replying.
Earlier it was not working on any device with the module. Then I changed the project, that is created new project with the same code.
It worked like other two modules. It is discoverable.
But there are some issues (irrespective of the module)
1) Sometimes the device gets disconnected (more so on specific devices, even though the android version of the device is same).
2) On some devices the services are not discoverable (although the ble module is visible)
Thanks,
Ameya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ameya,
1) Sometimes the device gets disconnected (more so on specific devices, even though the android version of the device is same).
Ans: There will be some problem with particular mobiles. Can you please let us know the disconnection error that you are getting. For this in firmware, you can get the event parameter value from the CYBLE_EVT_GAP_DEVICE_DISCONNECTED event as follows:
Printf ("Error code is: 0x%x \r\n",*(uint8 *) eventParam);
2) On some devices the services are not discoverable (although the ble module is visible)
Ans: Can you change the default Bluetooth base UUID with a different base UUID. To do so, change the UUID from the Bluetooth base UUID, i.e., it should not be of the format 00000000-0000-1000-8000-00805F9B34FB (which is generated in BLE Component custom service/characteristic UUID). You must edit the number format of the custom characteristic / service UUID to make it different from the Bluetooth base format.
Thanks,
P Yugandhar.