anyone managed to set the appearance – service: 0x1800 characteristic: 0x2A01 ? it gets overridden by default Puck.JS (name and appearance in 0x1800).
NRF.setServices({ 0x1800: { 0x2A00: { value: 'Appearance Test', readable: true, writable: true, }, 0x2A01: { readable: true, value: [961], // BLE_APPEARANCE_HID_KEYBOARD }, } }, { advertise: ['1800']}); NRF.on('connect', function(addr) { digitalPulse(LED1, 1, 50); }); setWatch(function() { digitalPulse(LED3, 1, 50); }, BTN, { repeat:true, edge:"rising", debounce:50 });
@tbd started
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.
anyone managed to set the appearance – service: 0x1800 characteristic: 0x2A01 ?
it gets overridden by default Puck.JS (name and appearance in 0x1800).