Anthony T Marasco

Results 9 comments of Anthony T Marasco

Thank you very much for this clarification! Could you also clarify the following: - What method in this library is the closest to .emit() in JS? Is it .send or...

Hi again, I'm working on parsing the incoming JSON from my server, but I'm getting only errors thrown from the Deserialization of the JSON. Working off of the example you...

That is good advice, I’ll work on filtering out the /hub. At the point in this example that payload is being sent into the deserializeJSON, what is its data type?...

And in your example where you add the ID in to the payload, you’re passing payload into deserislize as a char *, correct? On Mon, Apr 5, 2021 at 9:15...

Or, I should also ask: what data type does the payload regularly return as in your arduinoWebsockets library? On Mon, Apr 5, 2021 at 9:18 AM Anthony Marasco ***@***.***> wrote:...

So then in my code, the pointer is being moved to the first char which is a / because of the inclusion of the “/hub,” at the start of my...

So this is very helpful and I think it's on the right track. The issue I'm running into now is type conversion. Here is my new code, working right now...

Hello again, I'm back to trying to tackle this problem with no success, and I'm wondering if you can point me in the direction of how to properly convert the...

A-ha! Solved it. Code for dynamically shifting the payload after namespace names of various character lengths works after some extra casting: ``` if (payload[0] == '/') { payload = (uint8_t...