- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to achieve very simple task. I want to get public address of the BLE device which I have set as 00A055-000124 in BLE component's setting with silicon option unchecked. But if I follow the below code I am getting some random values like FF4922190091 inside the localAddr.bdAddr
CYBLE_GAP_BD_ADDR_T localAddr;
localAddr.type = 0u;
CyBle_GetDeviceAddress(&localAddr);
I called the above code after the CyBle_Start(AppCallBack) call.
Could you please tell if I am doing something wrong here? or missing something?
Thanks in advance
Kind Regards,
Jitender
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You need to actually wait for the STACK_ON event and then use the GetDeviceAddress API.
Regards,
-Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Madhu,
I am using GetDeviceAddress API to get the ble device public address. It works correctly for few of the psoc devices but for some it is returning incorrect address. What could be the reason for this?
Any advice would be helpful. Thanks in advance.
Kind Regards,
-Jitender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am programming same family of devices (i.e. psoc 4127LQI-BL473)