2020-03-15 03:38 AM
I'm trying to advertise with Scan Response, as I need to advertise more data than 31 bytes (Advertisement limitation).
as I understand the way to publish more data before connecting/pairing, is by using Scan Response.
there is an example with the STM32WB55 Evaluation Board?
Thanks,
Lior
2020-04-29 06:47 AM
Unfortunately we do not have such example.
You can use hci_le_set_scan_response_data (sizeof(service_data), service_data);
with
uint8_t service_data[] =
{
26, /*< Length. */
AD_TYPE_MANUFACTURER_SPECIFIC_DATA, /*< Manufacturer Specific Data data type value. */
0x4C, 0x00, 0x02, 0x15, /*< 32-bit Manufacturer Data. */
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
0x01,
};
before sending the aci_gap_set_discoverable function.