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.

CC2541: Simple Peripheral can't give scan resp when connected.

Part Number: CC2541

Hi 

Right now I am using 1.4.2 sdk to make a product which can change the ble name dynamically by our App.  I enabled PLUS_BROADCAST macro. After the device is connected to phone, it can continuous broadcast NON_CON advertisement, and when the name is changed, the advertisement content is also changed. This all works good. But when I use ios App to change the name, I found that the ios device can not get the latest local_name in the advertisement content, so, we use scan request, but when I use sniffer to capture the package, I found that the ble device didn't give scan resp at all. Do you know how to enable this function? Or is there any macro to enable? Thanks a lot in advance!

Br

lou

  • Hello Lou,

    Non-connectable ADV is not scannable and the iOS will not issue a scan request as per the BT core spec. Also, iOS will cache the device name after it connects to the device and reads the GAP Device Name characteristic. After that it will ignore the name in the ADV/Scan Rsp.

    Best wishes
  • Hi JXS,

    Thanks so much for your response.  According to you answer "Non-connectable ADV is not scannable", it means if the phone(including the iPhone) wants to get the device name of the connected peripherial device , it only can check the ADV. Thanks for clarify.

    But we always met that iPhone can't get the latest name of the device even we restart the iphone, shall we have to connected it to get the latest name? Thanks a lot.

    BR

    Lou