0 1 2 3 4 5 6
Description Year Month Day Hour Minute Second
Minimum 1582 1 1 0 0 0
Maximum 9999 12 31 23 59 59
Then one could pass options {filters: [{serviceData:{"2a08":{}}}]} and it should work. I tried it with ESP32 running espruino and it worked for me
On ESP32 I've run
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.
Oh nice :-)
BTW one possibility for Service Data is to advertise "Date Time" 0x2A08 as per https://forum.micropython.org/viewtopic.php?t=9577&p=53698
it is 7 bytes format
Then one could pass options
{filters: [{serviceData:{"2a08":{}}}]}
and it should work. I tried it with ESP32 running espruino and it worked for meOn ESP32 I've run
and then on another device this worked