Some questions about the NB-IoT workshop demo sketch

Hi,
Last Friday I participated in the NB-IoT workshop in Hilversum. Thanks for your hospitality and for a very learningful day. I have some questions about the nice demo sketch we got to transfer sensor data to AllThingsTalk platform.

  • The size of the ‘message’ buffer is set to 8, the demo sketch however writes 14 bytes into this buffer. So there is a risk of buffer overflow…
  • I think the line ‘if (message[i] < 10) {’ should be ‘if (message[i] < 0x10) {’, so 0x10 instead of 10
1 Like

Hi,

Thanks for reporting.
I will update the sketches.

Best regards,
Jan