Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C CCSDS Software
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • source
  • CCSDS Software
  • Merge requests
  • !19

Increase amount of data that can be received (Ringbuffer)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Daniel Friedrich requested to merge friedrich/ringbuffer into master Aug 04, 2022
  • Overview 0
  • Commits 11
  • Changes 4
  • Updated the readme to clarify details about setup and added more details for Windows users

  • Receive logic changed to allow for bigger frames to be received

    • (almost) all "while" in the loop&receive functions were replaced with "if". This is to allow the program to periodically run through the loop function very quickly. The arudino code automatically runs Serial.Event() at the end of loop() when new data is available.
    • Introduced a receive flag that is set after a cmd is sent and reset when the response has been received
    • Introduced a timeout after which data reception is completed (since there is no more data incoming via Serial1)
    • Added flags for transmit/receive loop to make these loops possible with the new logic
    • TODO: Increase size of the arduino Serial buffer! As of now it is only possible to receive up to ~100 bytes of frame length due to the serial buffer being limited to 64 bytes.
  • Fixed a parsing error of data_length in the OBC response frame field.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: friedrich/ringbuffer