or just the 0x2a0c "Exact Time 256" which is without adjustReason
They are nested structures, see https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fstructexact__time__256__t.html or https://community.silabs.com/s/question/0D51M00007xeHRw/implementation-of-folded-ble-characteristics-in-gatt?language=en_US
my current ESP32 code is
// enable NTP require("Wifi").setSNTP("pool.ntp.org","+01") // advertise time setInterval(function(){ var d=Date(),y=d.getFullYear(),day=d.getDay(); NRF.setAdvertising({ // 0x2a08 : [y&255,y)>>8,d.getMonth()+1,d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds()] 0x2a0c : [y&255,y>>8,d.getMonth()+1,d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds(),day?day:7,d.getMilliseconds()>>2] }); },250);
@fanoush 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.
or just the 0x2a0c "Exact Time 256" which is without adjustReason
They are nested structures, see
https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fstructexact__time__256__t.html or https://community.silabs.com/s/question/0D51M00007xeHRw/implementation-of-folded-ble-characteristics-in-gatt?language=en_US
my current ESP32 code is