I actually eventually got it to work with this
#include <SoftwareSerial.h>
SoftwareSerial mySerial(7,8); // RX, TX
void setup() {
Serial.begin(115200);
mySerial.begin(57600); //required when using the hm-10 with an arduino nano
mySerial.listen();
}
char data[20];
byte indx = 0;
void loop() {
while (mySerial.available () > 0) {
char d = mySerial.read();
data[indx] = d;
indx ++;
if (d == ';') {
Serial.println(data);
data[0] = (char)0;
indx = (byte)0;
}
}
}
I still nee to implement strtok() and more but your link sent me in the right direction. Thank you so much.
I apologize if I was difficult to assist, but I greatly appreciate your help.