I am attempting to transfer an array of 6 variable from the spark core to a web server, can anyone advise on the best way to achieve this?
I am trying to transfer a MAC address which is contained in this array
char detectedDeviceString[6];
Any advice would be appreciated.
Usually we can join them using
sprintf(myIpString, β%d.%d.%d.%dβ, detectedDeviceString[0], detectedDeviceString[1], detectedDeviceString[2], detectedDeviceString[3]);
OR consider this:
Letβs say you have looked at the Getting Started with Spark.publish() tutorial, but you need to send data that needs more processing once it gets to its destination on the web. You have a lot of choices for the data format, but one simple choice is...
Reading time: 23 mins π
Likes: 63 β€
Thanks for the article link, after a bit of trial and error I am almost there.
Just trying to debug some odd behaviour but its now transferring the string.
1 Like