Sensors values:
float temperature = 29.5;
float humidity = 32.56;
float lightLevel = 17365.83;
int co2 = 452;
int noise = 583;
String dataString = ""+String(temperature)+","+String(humidity)+","+String(lightLevel)+","+String(co2)+","+String(noise)+"";
The String will look like: "29.50,32.56,17365.83,452,583"
The hexstring would look like: "32392e35302c33322e35362c31373336352e38332c3435322c353833aa"
The modem I use will only accept AT commands and requires the data payload to be
payload in hexadecimal format strings (maximum length is 242 bytes)
Example Command: AT+SEND=1:1:32392e35302c33322e35362c31373336352e38332c3435322c353833aa
I am unable to create "AT+SEND=1:1:32392e35302c33322e35362c31373336352e38332c3435322c353833aa" programmatically in the Arduino.
How do you convert the dataString to the hexstring?
aaat the end of the hexstring come from? It's not part of the original string.