Page 1 of 1

example showing usage of blufi along side of another ble service

Posted: Fri Jan 05, 2024 3:09 pm
by cmorgan
Hello.

I'd like to provide a blufi interface to enable mobile clients to configure wifi while at the same time providing a BLE interface to enable them to control and query my device.

I've reviewed the ble_multi_adv example, and tried to combine the blufi example with a peripheral example. In that case the blufi only works if I don't call ble_gap_adv_start(). If I do call ble_gap_adv_start() blufi reports an internal error when it tries to call ble_gap_adv_start(), rc == 2, which is BLE_HS_EALREADY.

It would be helpful to have an example showing how to combine the two.

Re: example showing usage of blufi along side of another ble service

Posted: Mon Jan 08, 2024 2:43 am
by ESP_zhanghaipeng