Replies: 1 comment
-
You can simply cast the char buffer to uint8_t pointer. char buffer[5] = "data";
uint8_t *p = reinterpret_cast<uint8_t *>(buffer);
LMIC.setTxData2(2, p, 4, false); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I create a payload as a string with a uint_8 data type
Beta Was this translation helpful? Give feedback.
All reactions