Javino Libraries and Applications | ![]() |
![]() |
![]() |
![]() |
![]() |
---|---|---|---|---|---|
High Level | dpkg-javino | Javino | - | -- | -- |
Low Level | - | - | javinoCLibrary | javino2Python | javino2Arduino |
![]() |
---|
APT package for Debian, Ubuntu, Mint, and derivatives that provides the Javino, a message's error check protocol for communication over a serial channel. This repository provides the Javino-CLI (Command Line Interface) for High level side. |
There are some libraries that use the serial port to deal with one-sided messages. However, these libraries just provide message treatment for one platform side, leaving the other side to the programmer. The Javino aims to fill this gap because it offers a double-sided communication that provides a higher level of correctness in message exchange.
For this reason, every message is composed of a preamble, a field size and the message content. The preamble is a field composed of four hexadecimal characters that are used to identify the beginning of a message sent by an agent. The field size is composed of two hexadecimal characters that are used to calculate the message extension. Finally, the last field is the message content, up to 255 bytes. The preamble and the field size are used together to avoid errors in the event of a loss of information during the message transmission. For the sake of practice, Javino automatically mounts the message.
When a message is sent, the Javino library starts to listen on the serial port for arriving char-to-char messages. If there is any information arriving, the Javino stores this character, analyzing if it is part of the expected preamble. So, this process is repeated until the message has been completely received.
Once the preamble is not confirmed, the Javino discards all information received until it finds a valid preamble. Otherwise, the Javino verifies the field size value to identify the message length. This process avoids error insertions and defines where a message starts and ends.
In a terminal, execute the steps described below:
echo "deb [trusted=yes] http://packages.chon.group/ chonos main" | sudo tee /etc/apt/sources.list.d/chonos.list
sudo apt update
sudo apt install javino
Javino is licensed under a Creative Commons Attribution 4.0 International License. The licensor cannot revoke these freedoms as long as you follow the license terms:
- Attribution — You must give appropriate credit like below:
N. M. Lazarin e C. E. Pantoja, “A robotic-agent platform for embedding software agents using raspberry pi and arduino boards”, in Proceedings of 9th Software Agents, Environments and Applications School (WESAAC 2015), Niteroi: UFF, 2015, p. 13–20. Available at: http://www2.ic.uff.br/~wesaac2015/Proceedings-WESAAC-2015.pdf
Bibtex citation format
@inproceedings{chonOS,
author = {Nilson Lazarin and Carlos Pantoja and José Viterbo},
title = { Towards a Toolkit for Teaching AI Supported by Robotic-agents: Proposal and First Impressions},
booktitle = {Anais do XXXI Workshop sobre Educação em Computação},
location = {João Pessoa/PB},
year = {2023},
keywords = {},
issn = {2595-6175},
pages = {20--29},
publisher = {SBC},
address = {Porto Alegre, RS, Brasil},
doi = {10.5753/wei.2023.229753},
url = {https://sol.sbc.org.br/index.php/wei/article/view/24887}
}