The code that handles this is at https://github.com/espruino/EspruinoHub/blob/master/lib/discovery.js#L135-L169
And as far as I can tell, if you sent any service data it should be relayed as /ble/advertise/DEVICE/SERVICE (as long as mqtt_advertise_service_data is set in the config)
So I guess you could use that? Obviously something similar could be implemented for manufacturer data but IMO using service data is just as easy.
© Espruino, powered by microcosm.
Report a problem