As @MaBe says some devices (especially Apple iOS) don't update the advertised services of devices, so even when told to refresh might show you the wrong list
If you're connected to a device and then you call setServices it's unlikely it'll be able to work straight away - you'll need to disconnect and reconnect to see the services
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
There are 2 potential issues...
setServices
it's unlikely it'll be able to work straight away - you'll need to disconnect and reconnect to see the services