vovagorodok / ArduinoBleOTA

Upload firmware over Bluetooth
MIT License
24 stars 8 forks source link

need help #23

Closed sdetweil closed 1 year ago

sdetweil commented 1 year ago

due to a bluetooth bug on IOS (not rescanning for changed services), I have to implement your service at hardware startup.. BUT, I want it disabled until I explicitly enabled it so the the receive and the hw/sw info characteristics check a flag and silently returns, with no activity if not enabled

so I think this needs a new begin parameter to use this feature.. default is false. if we have to add a new parameter, can we make it a bit field, 0x80 is requires_enable and use another to advise auto advertising or not? (default yes) I need it to be no..I'll handle that that is to support #20 0x40 is no_auto_advertise

so 0x00 means default behavior, not requires_enable, auto_advertise

sdetweil commented 1 year ago

I see you had enable/disable on the lib.. hadn't fixed my fork for that..

sdetweil commented 1 year ago

closing as you have enable/disable (if I can get it to work)

already have #20 for advertising