You are reading a single comment by @user133055 and its replies. Click here to read the full conversation.
  • Glad you got it sorted!

    I believe you should be able to do:

    NRF.setAdvertising({},{
      showName:false,
      manufacturer:0x0590,
      manufacturerData:E.toJS("Your text") 
    });
    // or failing that
    NRF.setAdvertising({},{
      showName:false,
      manufacturer:0x0590,
      manufacturerData:E.toJS({t:"Your text"}) 
    });
    

    I don't think there is a specific attribute type in EspruinoHub for text yet though - about the closest is Eddystone for URLs

  • The result of your solution above
    /ble/advertise/c6:65:c2:3d:e6:a7/data "123,116,58,34,89,111,117,114,32,116,101­,120,116,34,125"
    The message contains only digits and no text.
    We are writing software for our healthcare robot and we need to send plain text to the MQTT server and in a later stadium the sensor data of the heartbeat. so the robot can pick it up and react on the data it received.

About

Avatar for user133055 @user133055 started