UNPKG

ble-central

Version:

## Requirements

21 lines (19 loc) 587 B
<script type="text/x-red" data-help-name="ble-central-advertising"> <h1>BLE Central</h1> <h2>Advertising</h2> <p>Wrapper on <b>noble</b> node module. Returns advertisment datas from the selected peripheral device in <code>msg.payload</code>:</p> <pre> { "localName":"My Peripheral", "txPowerLevel":0, "manufacturerData":<Buffer object>, "serviceData":[], "serviceUuids":[], "solicitationServiceUuids":[], "serviceSolicitationUuids":[] } </pre> </script> <script type="text/x-red" data-help-name="ble-central-connection"> BLE Central connection </script>