Replies: 2 comments 3 replies
-
Not quite sure what you mean by this, That error can occur for many reasons, it's not very descriptive. I'd recommend going into |
Beta Was this translation helpful? Give feedback.
-
I ended up finding the source of the issue, the warning was just a result of not using the correct uplink port with fprime-gds. |
Beta Was this translation helpful? Give feedback.
-
I'm sure this is a stupid question, but I have been scratching my head for hours with no good leads and I don't think it is too specific so it may benefit people.
I'm connecting Fprime to a third party application, i.e. something that will act as a TCP server for sending telecommands and as a UDP sink for telemetry packets. Our application is set up to use TlmPacketizer, and I have added a Udp component to replace comm for the downlink because the documentation seemed to say the ground side would have to trigger telemetry which I do not want. The uplink is left untouched, and I expect to be able to send commands with the proper protocol through the port given in CLI and it will just work but this is not the scope of this question. Note this is just a demonstration and a test for the other side, so it does not have to be clean, though it is planned for later so feel free to say if anything should be done cleaner still.
I'm starting from the Ref application, here is how our app diverges:
tlmSend.setPacketList(RefPacketsPkts, RefPacketsIgnore, 1);
telemComm.configureSend(state.hostname, state.telemPort);
next tocomm.configure(state.hostname, state.port);
instance telemComm: Drv.Udp base id 0x4E00
in the passive componentsdownlink.framedOut -> comm.$send
comm.deallocate -> staticMemory.bufferDeallocate[Ports_StaticMemory.downlink]
<channel name="Ref.tlmSend.SendLevel"/>
<channel name="Ref.cmdSeq.CS_Errors"/>
(otherwise the fpp-tools complains)inputs.telemPort = port_number+1;
next toinputs.port = port_number
U32 telemPort;
next toU32 port;
Then I call the application with
./build-artifacts/Linux/Ref/bin/Ref -a "127.0.0.1" -p 50050
And I get the error:
. I traced this back to
UdpComponentImpl::send_handler()
, fwBuffer.getSize() is 84.Any idea?
Beta Was this translation helpful? Give feedback.
All reactions