You are reading a single comment by @MaBe and its replies. Click here to read the full conversation.
  • Use a Puck to advertise data and try to read them via MQTT client, but data is not visible via mqtt client.

    Configuration and snipped to advertise taken from the the Espruino Hub repo page

    Device: d9:c7:0b:0a:48:20 - Puck.js 4820 (RSSI -59)

    snippet on for Puck.js 4820

    function onInit(){
          var data = {a:"1",b:2};
          NRF.setAdvertising({},{
                showName:false,
                manufacturer:0x0590,
                manufacturerData:JSON.stringify(data)
          });
    }
    
    setTimeout(save,1E3);
    

    Advertising is visible on Espruino Hub and BluefruitConnect.

    Connect to the mqtt server and subscribe to /ble/advertise/d9:c7:0b:0a:48:20/espruinĀ­o and /ble/advertise/d9:c7:0b:0a:48:20/#. Get many payloads for the second sub but none for the first.

    Any hints what's missing?


    2 Attachments

    • Bildschirmfoto 2021-05-13 um 17.57.51.jpg
    • Bildschirmfoto 2021-05-13 um 18.02.50.jpg
About

Avatar for MaBe @MaBe started