problems with service_data field on advertisement packets
fbt last edited by fbt
Hi, i'm trying to set the "service_data" on the advertisement packets from my Wipy device, and i am having some troubles. when i try to set the service_data field to this value, everything is fine:
adv_data2 = bytes([0xFF, 0xCB, 0x11,0x39,0x01,0x25, 0x11, 0x16, 0x47, 0x14, 0x00, 0x04, 0x09, 0x06, 0x16, 0x44, 0x00]) bluetooth.set_advertisement(name=none, service_data=adv_data2)
but when i expand the adv_data2 array wwith an additional byte, the service_data field does not appear on the advertisement packets. i suppose the problem is related to reach the max number of bytes for a ble packet, but when i check the info contained on the advertisement packets, i saw that the fields "TXPower Level" and "Slave Conection Interval" are included by default, so thet reduce the max bytes available for, i.e. service_data field. it is possible to configure the wipy not to send those fields?
i would appreciate any help.
jmarcelino last edited by
it is possible to configure the wipy not to send those fields?
Sorry, this is not yet possible.