problems with service_data field on advertisement packets
-
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.
thanks -
Hi @fbt said in problems with service_data field on advertisement packets:
it is possible to configure the wipy not to send those fields?
Sorry, this is not yet possible.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login