example showing usage of blufi along side of another ble service

cmorgan
Posts: 89
Joined: Thu Aug 24, 2017 12:52 am

example showing usage of blufi along side of another ble service

Postby cmorgan » Fri Jan 05, 2024 3:09 pm

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.


Who is online

Users browsing this forum: No registered users and 78 guests