We offer many ready-to-use apps, among them a serial-over-IP (SoI) app and Modbus Gateway app.
Tibbo > Linux Ecosystem > C++ API
This step is optional.
It enables a debug server on your target device, which makes possible to remotely debug your program running inside LTPS with an IDE on your host PC: use breakpoints, watches, step-by-step execution, etc.
Two debug agents are available for LTPS:
gdbserver is the well-known general-purpose debugger that may be started remotely (by SSH for ex.), may accept the conections and execute debug commands from remote IDEs.
tcf-agent is mostly related to Eclipse. It supports different actions, including code patching and profiling.
Both tools are available for quick installation from the LTPS packets repository.
Open SSH connection or serial port console on your device and run the command "dnf install gdbserver"
root@tpp:~# dnf install gdbserver
......
Installing:
gdbserver cortexa8hf_neon 7.12.1-r0 oe-remote-repo 132 k
......
Is this ok [y/N]: y
Running transaction
Installing : gdbserver-7.12.1-r0.cortexa8hf_neon 1/1
......
Complete!
Run your browser and open the WebInterface on your device.
Click Packet Manager on the left menu.
Type "gdbserver" in the search field. Click Search and wait a couple of seconds.
Click install to the right of the "gdbserver" item.
TCF-agent installation process is very similar.