This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: scanning issues with oneplus mobile

Part Number: CC2640R2F

Hello,

I am using CC2640R2F for my development. I am using simplelink_cc2640r2_sdk_1_40_00_45 SDK for my development. 

I observed this device is not getting listed when scanned by oneplus mobile. It gets connected with other mobiles. 

I tried installing nRF connect app on oneplus but it is not listed even with nRF too. 

Is this known issue? Any workaround available for this? 

Regards

Lakshmikanth. 

  • Hi Lakshmikanth,

    Which version of android are you using on the oneplus? If you use another BLE app like BLE Scanner or LightBlue, is the device listed?
  • Hi Jessica Heider,

    Thanks for your response. 

    I am using 8.1.0 version of android. I have tested with both the apps, but still the device not getting listed during scan. 

    Please find screenshot of Android version. 

    Regards

    Lakshmikanth 

  • Hi Lakshmikanth,

    What is the BDADDR on your device? Some versions of Android do not scan BLE devices if the peripheral's BDADDR is 5x:xx because it thinks it's an Random Private Address. If it starts with 0x5, try changing the address to start with a different number.
  • Hi Lakshmikanth,

    After looking into this further, since you are using Android 8.1 it could be that your ADV or ScanRsp data is not formatted correctly. According to this E2E post: 

    "Ed (TI): ** Update May 2018: TI has fielded inquires about peripheral devices not detected after upgrading to Android 8. Previously, these devices were detected with the same handset running Android 7 (or earlier). The issue has been traced to improperly formatted data within the peripheral's ADV or scan response (SCAN_RSP) PDU. Specifically, if the length byte in the ADV or scan response does not match the actual payload of the proceeding AD data type (e.g., Manufacture Specific Data), Android 8 will not present the peripheral device to the application. Please ensure that your advertData[] and scanRspData[] arrays properly set the "// length of this data" for the given AD data type."

  • Hi Lakshmikanth,

    Were you able to resolve your issue?
  • Hi Lakshmikanth,

    I'm going to close this post due to inactivity. To reopen this thread, just post a follow up question. Otherwise, after 30-days of inactivity from this post, this thread will lock. If you reject that this post has been potentially resolved, please indicate why you are rejecting it so we may better assist you.
  • Hi Jessica, 

    I have tried SCAN response formatting as my scan response was not having proper length. I adjusted length parameter. Still it is not being listed on OnePlus. 

    I found all my devices MAC ID's start with 0x5x, How can I change MAC addresss? And how can I assure the new MAC ID I choose doesn't conflict with any other devices around?

    Regards

    Lakshmikanth 

  • Hi Lakshmikanth,

    Are you using one of TI's examples or your own project for this? If you use the out of box Simple Peripheral example, are you able to scan the device on the OnePlus? Since you are using Android 8.1, your BD_ADDR should be OK because that issue was only seen with older versions of Android.
  • Hi Lakshmikanth,

    Any updates on this?
  • Hi Lakshmikanth,

    I'm going to close this post due to inactivity. To reopen this thread, just post a follow up question. Otherwise, after 30-days of inactivity from this post, this thread will lock. If you reject that this post has been potentially resolved, please indicate why you are rejecting it so we may better assist you.