Open bshambaugh opened 1 year ago
// refactor this with sendStringoverWebSocket // getthepublicKey void websocketSendMessage() { // voidArray(64,messageString); // mergeArray(64,'fun',messageString); sprintf(txpacket+strlen(txpacket),"%s","message"); // add another thing (by bret) sprintf(txpacket+strlen(txpacket),"%s",","); // add another thing (by bret) sprintf(txpacket+strlen(txpacket),"%s","something_is_wrong"); // add another thing (by bret), make this messageString // sprintf(txpacket+strlen(txpacket),"%s","\n"); // add another thing (by bret) Serial.println(txpacket); webSocketClient.sendData(txpacket); // voidArray(129,messageyString); voidArray(BUFFER_SIZE,txpacket); }