Skip to content

Add a sendStringoverWebSocket function from the remoteSignerNewRPC branch #16

@bshambaugh

Description

@bshambaugh
// 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);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions