Skip to content

Duplex shift from iden_table not correct transmitted over the air #7

Closed

Description

@df1vb

A duplex shift in the iden_table is not correct transmitted in the bandplan data over the air. The part dehind the decimal is cutted off.

Example iden_table entry:
0,438100000,6.25,-7.600,12.5,

Bandplan over the air:
Bandplan #0: Base=438.1 Offset=-7 Spacing=6.25 BW=12.5

Activity

  1. gatekeep commented on Apr 16, 2022

    @gatekeep
    Member

    Commit bdc9973 should fix this problem. There was a rounding issue due to the use of abs() vs fabs().

  2. df1vb commented on Apr 17, 2022

    @df1vb
    Author

    Sorry, but now we do have:

    Bandplan over the air:
    ID=0 Base=438.1 Offset=-7.59375 Spacing=6.25 BW=12.5

    Example iden_table entry:
    0,438100000,6.25,-7.600,12.5,

    And in SN-DATA_CHN_ANN_EXP over the air we have:
    DSO=00 TXch=438.175 RXch=438.175 DAC=0001

  3. gatekeep commented on Apr 17, 2022

    @gatekeep
    Member

    Try the latest commit. I changed how this calculation was made, apparently the single line calculation and conversion from floating-point to integer caused weird rounding issues causing the issue. In my tests it seems to be properly calculating now.

  4. df1vb commented on Apr 17, 2022

    @df1vb
    Author

    Yepp, works fine!

  5. added 2 commits that reference this issue on Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions