The open-source Arduino Integrated Development Environment allows the programmer to not only upload programs to a micro controller with a wired serial connection, but also over the network with the use of Over The Air programming, shortened to OTA. This protocol, however, does not support the sending of debug output from the micro controller to the serial console, because this functionality depends on a serial connection that is lost when using OTA. The goal of this diploma paper was reroute debug output over serial connection to debug output over network. We began by reviewing the source code and familiarized ourselves with the default process of sending the debug output over serial connection and the workings of Arduino’s serial console. Afterwards we developed an Arduino library which reroutes debug output over the network and then we modified the Arduino IDE to allow said debug output over network to be shown in its modified serial console. This diploma paper includes the description of our library’s source code, its functionality, the description of our modifications to the Arduino Integrated Development Environment as well as a simple use case of our library. Our library was tested on WEMOS D1 mini development board, which is based around the ESP8266 micro controller. In the course of development C++ and Java programming languages were used.
|