logo elektroda
logo elektroda
X
logo elektroda

ESP32 Bluetooth - Changing the broadcast type does not work, always sets ADV_IND

dawid_sw1 1020 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17002507
    dawid_sw1
    Level 11  
    Hello, I have been programming an ESP32 module for some time. I'm creating an application using Bluetooth and I've come across a serious problem for me, which is that I can't change the broadcast type. Whichever mode I set it always sets ADV_IND. I have set every type, taken all the examples from espresif and changed the types and nothing. I found a topic like this
    https://github.com/espressif/esp-idf/issues/396
    but it also did not change anything.
    Coincidentally I also came across in the documentation from late November that BLE mode is not yet supported. Only BTDM is supported. Maybe now only this type is supported but that seems absurd.
  • ADVERTISEMENT
  • #2 17017308
    dawid_sw1
    Level 11  
    As if it was of interest to anyone, I found the reason. To set the type ADV_SCAN_IND and ADV_NONCONN_IND the minimum broadcast interval must be 100ms.
ADVERTISEMENT