Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
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 5 years ago
  • 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 5 years ago by Viktor Sonesten

Activity

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
  1. 25 Feb, 2020 1 commit
    • Viktor Sonesten's avatar
      drop TX if RX on-going and a signal is detected · 6a3ceab0
      Viktor Sonesten authored 5 years ago
      Additionally, if a message is not sent, an enum type describes the
      reason why.
      6a3ceab0
  2. 24 Feb, 2020 1 commit
    • Viktor Sonesten's avatar
      radio/sx1276: add masks for MODEMSTAT registers · 7a34520f
      Viktor Sonesten authored 5 years ago
      7a34520f
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 Participant
Viktor Sonesten
Reference: grepit/lora!1
Source branch: evse-patch

Menu

Explore Projects Groups Topics Snippets