client/advetising: Allow use of EA data length

The code was supporting a maximum of 25 bytes (31 - 6) to be entered as
advertising data, but in case of EA is used that allows up to 245 bytes
(251 - 6) to be entered.
This commit is contained in:
Luiz Augusto von Dentz 2023-07-07 14:59:24 -07:00
parent 153aaeda2b
commit 4578395b53

View File

@ -28,7 +28,7 @@
#define AD_IFACE "org.bluez.LEAdvertisement1"
struct ad_data {
uint8_t data[25];
uint8_t data[245];
uint8_t len;
};