-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yet Another Protocol (YAP) #2
Conversation
General question: How do we differ between YAP and LOG information? |
In the simulation this has been solved by routing the print() methods to the console, and the write() method to the SocketServer; which may not be ideal in the architecture, but allows for nice debugging. In the target this is not possible, as both print and write are routed to the Serial interface. Ideally the LOG information would be sent on its own YAP Data channel, meaning that the Logging Module should be able to write to the YAP Server somehow (only the App knows the YAP Server Instance, so it is not an ideal solution). And maybe only the INFO level Logs, not the DEBUG logs. Other solution is turning Logs completely off on the target, and any information to be transmitted must be available for the App to read and re-route. |
Used as Stream output for Serial
Moved private members and includes to source file. Prevents conflict in re-definition of PSTR
Implementation and Testing of the Yet Another Protocol (YAP) protocol.
Note:
The following files are shown as complete replacements; however these have not been modified. This is due a problem in the Line Encoding, which has since been resolved. Sorry for the inconvinience.