Hi everybody,
my idea is to make an APP to smartphone and tablet where i can control diferents parameters of autopilot...plane...flaps... using
a python script that it connects to MySQL database and send data to virtual serial port. I made the APP, it connects to web server using
http where it make a request to PHP file that write the app data to MySQL. At the same time, a Python script read the database and write
to virtual serial port '/dev/tnt0' thats is connected to port '/dev/tnt1' where i execute 'flightgear --generic=serial,in,30,/dev/tnt1,9600,test'
using a file test.xml previously configured to recieve the data in this serial port.
The problem is that flightgear doesnt do anything, i think that the problem is in how python write the data to virtual terminal..
Here i let you some screenshots ... Hope you would help me =)
Screenshot from python script showing the data to write:
Screenchost from serial port /dev/tnt1: