I cannot see how this works in the example link you provided. That sketch is processing SMS data received.
The code I was using is one of the examples “Hologram Dash hello world” that installed with the library. It does not use SMS. I can enter text using terminal program and the text gets to my dashboard in cloud ok but I cannot receive any data back from cloud when I send a message.
void setup() {
…
SerialCloud.begin(115200); /* Hologram Cloud /
SerialCloud.println(“Hello, World!”); / one-time message */
…
}
void loop() {
char currChar;
while (SerialUSB.available()) {
SerialCloud.write(SerialUSB.read());
}
while (Serial2.available()) {
SerialCloud.write(Serial2.read());
}
while (SerialCloud.available()) {
currChar = (char)SerialCloud.read();
SerialUSB.write(currChar);
Serial2.write(currChar);
}
delay(5);
}