-
But it's also odd that the current solution works for us, but not for you
It is because for official devices you skip the check for advertised service uuids here
https://github.com/espruino/EspruinoTools/blob/master/core/serial_noble.js#L109I am trying with custom board name not in the list here
https://github.com/espruino/EspruinoTools/blob/master/core/utils.js#L665
which is used to skip the check.So that's why I suggested to skip this
hasUartService
check also when you pass-p ma:ca:dd:re:ss
or-d deviceName
because maybe you really want to connect to this no matter what. But also it is workaround for this bug.EDIT: as for https://www.npmjs.com/package/@jefflloyd/noble-winrt yes, it is worth trying
Thanks! I'll get a fix in for that.
Yes, you just do
-p ma:ca:dd:re:ss
I think?What's concerning actually is I'm using https://www.npmjs.com/package/noble-winrt but maybe I should actually be using https://www.npmjs.com/package/@jefflloyd/noble-winrt instead? It seems more actively maintained - and it's possible that even without that change it would behave better?
But it's also odd that the current solution works for us, but not for you