espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.78k stars 7.31k forks source link

【Issue Confirmation】 Can ESP-IDF support scan and adv simultaneously? (IDFGH-6115) #7793

Closed xiaolongba closed 3 years ago

xiaolongba commented 3 years ago

Hi Espressif Experts,

this question may be a bit stupid, that is the current esp-idf can support scan and adv simultaneously? the reason why I asked this is that I looked into the ibeacon example project, it showed me the following comment, as below:

/* Because current ESP IDF version doesn't support scan and adv simultaneously,
 * so iBeacon sender and receiver should not run simultaneously */

is that true? I checked from other tickets, it told me that it supported this feature already, so could you help me double check?

thanks in advance.

Alvin1Zhang commented 3 years ago

Thanks for reporting.

xiaolongba commented 3 years ago

any updates about it?

xulongzhuang commented 3 years ago

@xiaolongba Are you talking about BLE broadcasting and scanning at the same time? gattc_gatts_coex is a good example

xiaolongba commented 3 years ago

Are you talking about BLE broadcasting and scanning at the same time? gattc_gatts_coex is a good example

@xulongzhuang, Exactly, Bro. so the current esp-idf can support this feature? if yes, pls close this ticket, I just to confirm this feature if it is present.

BTW, it is better to update the comments of ibeacon example project, which will be easy to be misunderstood by users

xulongzhuang commented 3 years ago

yes,esp-idf can support scan and adv simultaneously,Our engineers will revise this comment in the follow-up, thank you for your report

xiaolongba commented 3 years ago

Perfect 👌 , you can close this ticket now