ESP32 - Multiple Advertisment Packets
Posted: Sun Jun 06, 2021 5:17 pm
Hello Everyone,
Is it possible to support two advertisement packets with the ESP32 at the same time. Ideally, I'd like one advertisment packet to be used for configuration GATT server, and the other for a GATT Server which used the HID profile.
I can see there is support for multiple profiles - but I've struggling to determine how to setup multiple packets.
Can I setup up different advertisement data in the gatts_profile_event_handler when the gatts_if matches each correct GATT server?
Is it possible to support two advertisement packets with the ESP32 at the same time. Ideally, I'd like one advertisment packet to be used for configuration GATT server, and the other for a GATT Server which used the HID profile.
I can see there is support for multiple profiles - but I've struggling to determine how to setup multiple packets.
Can I setup up different advertisement data in the gatts_profile_event_handler when the gatts_if matches each correct GATT server?