Hi,
I am trying to talk to an Arduino using the UART protocol. I am able to successfully read the data from Arduino but unable to send the text to it. In my Top Topology , I have the following connections for UART
<!-- GPS Connections
Here we add the connections that aren't part of standard connection patterns, namely we attach the serial ports to
the Gps and to drivers.
-->
<connection name = "uartIn">
<source component = "gpsSerial" port = "serialRecv" type = "Drv::SerialRead" num = "0"/>
<target component = "gps" port = "serialRecv" type = "Drv::SerialRead" num = "0"/>
</connection>
<connection name = "uartOut">
<source component = "gpsSerial" port = "serialSend" type = "Drv::SerialWrite" num = "0"/>
<target component = "gps" port = "serialSend" type = "Drv::SerialWrite" num = "0"/>
</connection>
<connection name = "uartBuff">
<source component = "gps" port = "serialBufferOut" type = "Drv::BufferSend" num = "0"/>
<target component = "gpsSerial" port = "readBufferSend" type = "Drv::BufferSend" num = "0"/>
</connection>
but I am getting an error
build-fprime-automatic-native/App/Top/AppTopologyAppAc.cpp:200:15: error: ‘class Drv::LinuxSerialDriverComponentImpl’ has no member named ‘set_serialSend_OutputPort’; did you mean ‘set_serialRecv_OutputPort’?
gpsSerial.set_serialSend_OutputPort(0, gps.get_serialSend_InputPort(0));
^~~~~~~~~~~~~~~~~~~~~~~~~
set_serialRecv_OutputPort
/home/sheershak/F-Prime/App/build-fprime-automatic-native/App/Top/AppTopologyAppAc.cpp:200:48: error: ‘class App::GpsComponentImpl’ has no member named ‘get_serialSend_InputPort’; did you mean ‘get_serialRecv_InputPort’?
gpsSerial.set_serialSend_OutputPort(0, gps.get_serialSend_InputPort(0));
^~~~~~~~~~~~~~~~~~~~~~~~
which essententially means that the gpsSerial module doesn't have serialSend Port but I crosschecked and both the modules have serialSend Port initialized. Am I missing something?