cattledog:
In your testing, did you add the extra terminator to the transmission and again at the receive when the end marker is found?
Yes.
This is the code in the transmitter used to send the packet of data:
Serial.print('<'); // this section for HC-12 transmission
Serial.print(cycleValue); // ref Robin2's Serial Output Basics
Serial.print(','); // http://forum.arduino.cc/index.php?topic=396450.0
// Serial.print(temperatureT1); // send temperature read from analog input temperaturePin
Serial.print(get3231Temp()); // read DS3231 temperature
Serial.print(',');
Serial.print(batteryVoltage); // send battery voltage
Serial.print(',');
Serial.print(now.minute(), DEC); // send minute
Serial.print(',');
Serial.print(now.second(), DEC); // send hour
Serial.print(",A.>"); // send sensor identifier
Serial.println();
This is the code at the receiver to parse the last section (the identifier A, or B, or C or D):
strtokIndx = strtok(NULL, "."); // identifier parsing
cattledog:
Are the transmitted values always that length, or can the number of digits in the floats or integers change?If the length is constant, and I count correctly, tempchars[23] should be the letter, tempchars[24] should be the final separator(',' or '.'), and tempchars[25] should be '\0'.
Yes, the length always is constant.
Ok, I try that suggestion; the reason I kept 32 is because at the time this was still in prototype testing. By now I know this length will not alter anymore.