-
Hi all,
This simple code [1] works on one Puck.js(8a78) but doesn't on another one (5f09).
Both firm versions are 1v91. Other functions likeble_eddystone
orble_ibeacon
works well on 5f09.
So I wonder why only NRF.setServices does not work on it.
Followed by Troubleshooting guide, I've tried to reset 5f09, but the issue is not gone.
How to test this device?Thanks,
Takayuki[1]
NRF.setServices({ 0x1809 : { // Health Thermometer 0x2A6E: { // Temperature readable: true, value : [E.getTemperature().toFixed(2)] }}, 0x180F : { // Battery Service 0x2A19: { // Battery Level readable: true, value : [Puck.getBatteryPercentage().toFixed(0)] }}});
Hi Mabe, Gordon,
@Mabe is correct. After disabled and enabled bluetooth of my iPhone, I could see the services!
Thanks a lot.
Takayuki