Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Ratpack
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Frontend
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
- [https://codeberg.org/Capstone/Interface Interface Repo] The frontend is a browser-based tool for operating the async radio device. It also contains debug tools for developing and debugging the device. == Message Exchange == When a user enters a message on the frontend, it is sent Frontend to Board, and then Board to Board (radio communication). When a message is received and displayed, it is sent Board to Board, and then Board to Frontend. In both cases, special USART characters are used to wrap messages, flagging them for each system while remaining invisible to terminal users. === Frontend to Board === Message format: <blockquote><code>\x1c</code>[message sender]<code>\x1d</code>: <code>\x1e</code>[message text]<code>\x1f</code></blockquote> Messages are sent in this format when entered into the frontend text bar. The board parses this format as a command, isolating the sender and text strings. In the future, those strings will be entered into the board's message storage. === Board to Frontend === <blockquote><code>\x01</code>[message sender]<code>\x02</code>: <code>\x03</code>[message text]<code>\x04</code></blockquote> Messages are sent in this format when using the <code>msg</code> command. In the future, this format will also be used to transfer message history to frontend. '''In both cases, Message_To_Frontend should be used (currently private to usart, but will be made public)''' The frontend parses this format as a message, isolating the sender and text strings. These strings are entered into the frontend's message storage and display.
Summary:
Please note that all contributions to Ratpack may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Ratpack:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)