Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L lora
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container 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
  • Grepit
  • lora
  • Merge requests
  • !1

Drop TX if RX is on-going and a signal is detected

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Viktor Sonesten requested to merge viktor.sonesten/lora:evse-patch into master Feb 25, 2020
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 3

This patch polls the modem status register before sending a message: if a message is currently being received the outgoing message is dropped and an appropriate error enum is returned. Additionally, if the buffer happens to be too small for the outgoing message, another error is returned.

Note that the radio must be set to receive after a longfi_send so that the status register is reset.

While this patch may should lower the chance of collision, it does not protect against it.

Edited Feb 25, 2020 by Viktor Sonesten
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: evse-patch