You were so close!
It's basically the same:
Subscribe to /ble/data/c7:f9:36:dd:b0:ca/nus/nus_rx
Send a message to /ble/notify/c7:f9:36:dd:b0:ca/nus/nus_rx - can contain anything
Send "\x10Bluetooth.println(E.getTemperature())\n" to /ble/write/c7:f9:36:dd:b0:ca/nus/nus_tx
You should get /ble/data/c7:f9:36:dd:b0:ca/nus/nus_rx => "23\r\n"
© Espruino, powered by microcosm.
Report a problem