You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
554 B
15 lines
554 B
#include "AEEStdDef.idl" |
|
|
|
interface qflight { |
|
// sensor calls |
|
long get_imu_data(rout sequence<uint8> outdata); |
|
long get_mag_data(rout sequence<uint8> outdata); |
|
long get_baro_data(rout sequence<uint8> outdata); |
|
|
|
// UART control |
|
long UART_open(in string device, rout int32 fd); |
|
long UART_set_baudrate(in int32 fd, in uint32 baudrate); |
|
long UART_read(in int32 fd, rout sequence<uint8> buf, rout int32 nread); |
|
long UART_write(in int32 fd, in sequence<uint8> buf, rout int32 nwritten); |
|
long UART_close(in int32 fd); |
|
};
|
|
|