Hello,
I use the websockt client exaple so connect to web socket and send commands to ESP32 over WWW.
the socket server is not the B4X socket server... i need to use a given one.
the websocket server have only one "send massege" function that return only one String.
the "incoming" function of websocketclient in B4R get's two parameters- a string for functionName and an array.
i found the way to pass the functionName. but the i can't find the corect bytes to send string as array...
i mean- if i need to send a,b,c as three section array, and i can only send it as string from the server- can i use some kind of dilimeters in the string/ Bytes so it will be considered as array?
I use the websockt client exaple so connect to web socket and send commands to ESP32 over WWW.
the socket server is not the B4X socket server... i need to use a given one.
the websocket server have only one "send massege" function that return only one String.
the "incoming" function of websocketclient in B4R get's two parameters- a string for functionName and an array.
i found the way to pass the functionName. but the i can't find the corect bytes to send string as array...
i mean- if i need to send a,b,c as three section array, and i can only send it as string from the server- can i use some kind of dilimeters in the string/ Bytes so it will be considered as array?