I’m creating a server by hotspotting my computer (haven’t done it yet), but in the references it says “Server.begin(80);” Does that mean that the baud rate is max 80 or can it be faster like 9600. However, I only realized now that the 9600 baud refers to serial transmission, and I’m doing it wirelessly. “serial.begin(9600)”
Also, if you see anything wrong in my code, let me know, still trying to get the server up before checking the code.
Ahh ok, makes sense. And I’d think to put that in my server code and not my client (particle) code. Also, could a serial command be used for wireless transmission, or solely for wired connection?
What do you mean by that?
But the way I understand the question: No - not per se.
server and Serial are objects of a different kind which might share certain commands (due to shared ancestors in the OOP meaning of the term) but do act quite differently.
To illustrate:
Your house and your car are completely different objects but both share some properties like an "internal key hole" (flat door or ignition key).
You can insert a key in both, you can turn both, but the effect of both methods is quite different.
And you won't be able to use an accelerate() method on your house or run_a_bath() in your car (I guess ;-))
If you look at the methods TCPClient provides plus the methods provided by the “ancestor” class Stream, you should get pretty much what you need.
But as said, these are no “serial commands” but Serial has - just like TCPClient - also inherited from Stream which provided the methods for both (and other) classes.