I need help with testing esp websocket .
I tried AdySan websocket: https://github.com/AdySan/WittyCloudTes ... yCloudTest ,
i working fast and stabile when sending one variable value in websocket response:
case WStype_TEXT:
switch(payload[0]){
case 'l': case 'L': // Request LDR
LDRvalue = analogRead(LDR);
delay(5);
webSocket.sendTXT(0,LDRvalue);
break;
I would like to send multiple variable values in websocket response . How it is possible ?
For example in case receiving "l" reply is :
webSocket.sendTXT(0,LDRvalue); sending only one variable value .
How I can send multiple values in response ?