Skip to content

Narrowband Transport Layer#55

Draft
tillx4 wants to merge 23 commits intomainfrom
feature/narrowband
Draft

Narrowband Transport Layer#55
tillx4 wants to merge 23 commits intomainfrom
feature/narrowband

Conversation

@tillx4
Copy link
Copy Markdown
Contributor

@tillx4 tillx4 commented Apr 16, 2026

Implemented narrowband transport layer.

depends on

  • radiolib
  • LLCC68 radio chip with E220-400M30S PA module

features

  • continuous sensor data updates sent from rocket in a specified interval (rxtx_interval_in_ms)
  • listening for commands from ground station in between transmits
  • message fragmentation (right now max message size if 255 bytes, but can easily be increased if necessary)
  • seperate freeRTOS task for rxtx loop with interrupt based transmits/receives to save cpu time
  • easy c interface using freeRTOS queues (anything in the sensor data queue will be sent, any received commands are queued into the command queue)

to-do

  • acknowledgements for ground station commands, since they need reliability
  • !!TESTING!! i don't know if any of this actually works rn 😅
  • ground station loop (receiving sensor data all the time and sending commands if necessary), this will be quite easy since all of the hard work is done

tillx4 and others added 23 commits February 27, 2026 17:50
…function, which controls the narrowband comms main loop, started working on handle_receive interrupt service routine (isr)
…odule to use a static class instead of static variables
…(todo), isr handler and rxtx task as static member function, removed singleton pattern in facor of anonymus namespace with single class instance
…s returning size of packed buffer, added check to see if malloc fails
@tillx4 tillx4 self-assigned this Apr 16, 2026
Comment thread main/idf_component.yml
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to set the idf version >6.0.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yeah, that's an artifact because the branch is based on an old version of vigilant engine.
all of this is work in progress btw, just wanted to create a PR to have some overview of my changes

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea no worries, i thought that ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants