BLE advertise several values ?

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

BLE advertise several values ?

Postby jumjum123 » Sun Mar 04, 2018 10:40 am

Is there an example how to advertise several values ?

Idea is to advertise values for example:
0x1809, 0x180f, 0x1804, ...

Going the hard way to convert everything to hex by myself is an (IMHO ugly) option, any better idea ?

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: BLE advertise several values ?

Postby kolban » Mon Mar 12, 2018 4:46 am

It feels like you might get some mileage from the esp_ble_gap_config_adv_data_raw. This allows you to advertize anything you choose that is a legal BLE advertisement.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: Baidu [Spider], Remenyo and 244 guests