11 Commits

Author SHA1 Message Date
Philip Romano
3f25d8b535
Change FPP enums to smallest representation (#4342)
For all FPP enums in the framework, set the representing type to the minimum
width that can represent the enum's member constants.
2025-10-22 15:44:10 -07:00
Thomas Boyer-Chammard
89bccfa438
Differentiate sync/async ByteStreamDriver and update ComStub to work with both (#3987)
* Update ByteStream interface, interface implementations (and UTs) and ComStub

* Update ComStub UTs

* Fix RHEL8 static cast failure

* spelling

* Update Async driver to async port

* Make code more readable... part 1

* Refactor code for human readability

* Update docs

* Remove unused helper
2025-08-06 11:21:06 -07:00
Thomas Boyer-Chammard
d0246f148b
Add Framer FPP interface, implement FprimeFramer and adapt ComQueue (#3486)
* Initial FprimeFramer and FprimePacketizer

* Code clarity + set up UTs

* Rework ComQueue and ComStub to use DataWithContext

* Add packets to RefPackets.fppi

* Fix ComQueue tests

* Add hotfix to FileDownlink instead of ComQueue

* Fix cancelPacket as well

* Fix ComQueue UTs by removing hotfix

* Refactor DataWithContext to use an FPP object for context instead of Fw.Buffer

* Touch up testing

* Add docs

* more docs

* More docs

* Rework buffer deallocation pattern to pass-through ComQueue

* Update ComStub UTs

* Restore original FileDownlink.cpp

* Formatting tweak

* Update deprecated getSerializeRepr() calls

* deserialization methods

* Fix spelling

* add cast for safety

* CMakefile change

* Bump ComQueue depth

* Update RPI deployment with new Downlink stack

* Rename comQueueIn port to comPktQueueIn

* Fix comQueueIn to comPktQueueIn change

* Remove legacy Svc.Framer

* Fix CMake UTs

* Fix RPI topology config

* Fix FprimeProtocol.fpp module

* Fix namespacing

* Use const reference for FrameContext port

* Review comments EXCEPT port passback refactor

* Rework ComStub with new ByteStream

* New ByteStream - ComInterface model

* Rework TcpClient / TcpServer with new bytestream

* Adapt UDP component for new ByteStream

* Adapt FrameAccumulator for new ByteStream

* Adapt FprimeFramer for new ByteStream

* Update Ref topology with new ByteStream model

* Remove all legacy deallocates from Drivers; reintroduce DEPRECATED model types

* Fix spelling and include error

* More spelling....

* RPI and RpiDemo fixes

* Fix conversion warning on RPI

* static_cast for short int on RPI

* Standardize port names

* Remove legacy Drv types and merge RECV/SEND enum type, delete StreamCrossover

* Update SDDs

* Update SDDs

* Fix ComInterface <-> Framer interfaction, clarify comments and fix annotations

* Switch ComStub from ASSERT to log failure and return buffer

* Add history size check + clarify test handler overrides

* Fix RPI topology to wire comStub on Uplink

* Rename comm to comDriver in RPI topology

* Update communication adapter interface docs
2025-04-29 16:40:36 -07:00
Johan Bertrand
652c670e68
Fix warnings in tcp/udp UT (#2744)
* Fix warnings in TCP/UDP UT

* Clean unit tests

* Fixes from review

* Fixes from review 2

* Revert changes

* Fix indentation

* Fix from merge request

* Fix log format

* Fix indentation

* add another status for no data available and allow retry in UTs

---------

Co-authored-by: crsmith <celeste.r.smith@jpl.nasa.gov>
2024-10-07 14:48:34 -07:00
M Starch
a56426adbb
Converting ByteStreamDriverModel into an interface (#2252)
* Converting ByteStreamDriverModel into an interface

* Fixing Tcp unit tests

* Make reusable builder use pr-check ref as default

* Reusable workflows now build on devel as default

* Review fixes I
2023-08-29 08:39:59 -07:00
M Starch
ef28ed5be6 lestarch: fixing fpp+cmake for latest release/v3.0.0 2021-08-11 20:22:21 -07:00
bocchino
8a66b4fe91 Cosmetic change to FPP 2021-06-28 18:53:13 -07:00
bocchino
51c1843d7d Revise Ref topology
Add ByteStreamDriverModel component
2021-06-28 16:37:07 -07:00
bocchino
191071a4d6 Update locs
Restore ByteStreamDriverModel.fpp
2021-06-25 14:17:40 -07:00
Josh Weadick
4f3d772a6a restarting ByteStreamDriverModel 2021-06-24 11:12:37 -07:00
Joshua Weadick
f74afad6a4 pre redo all in Drv/ByteStreamDriveModel 2021-05-27 12:49:14 -07:00