Do not check for advertised Nordic UART service for BLE devices that are requested directly by -p ma:ca:dd:re:ss or -d devicename. This is how it already works for official devices with known names.
This is both a workaround for bug in noble-winrt and also way to force connection to device with missing advertising info.
This was the most straightforward solution. Feel free to cleanup/fix poor javascript coding.
Do not check for advertised Nordic UART service for BLE devices that are requested directly by
-p ma:ca:dd:re:ss
or-d devicename
. This is how it already works for official devices with known names.This is both a workaround for bug in noble-winrt and also way to force connection to device with missing advertising info.
This was the most straightforward solution. Feel free to cleanup/fix poor javascript coding.