Skip to content

API doesn't update radio params #11

@lincomatic

Description

@lincomatic

When adding a node, the API

https://meshcore.dev/api/v1/nodes

adds radio params just fine.

However, when updating a node with revised radio params, the new params are ignored. We recently switched from SF9 to SF7. New nodes reflect SF7, but when updating an existing node that has SF9 to SF7, it still displays on the map as SF9.

example data:

 Radio params: {
  "params": {
  "data": "{\"params\":{\"freq\":927.875,\"cr\":5,\"sf\":7,\"bw\":62.5},\"links\":[\"meshcore://1104c516de3253295af515f960f1b398d400fa8dcf65dfa92a61fb569108bbb361dd6f5ebf3ea5a8b369249df3cf3e182dbb96f6d858f9c26fa17a9fb218514f424f7bd469b0a279244070a3941d3f37c914d10ee41107d11bec54da898beda8562c24ad0137bb2ffc0a927e1d0d025c4ddbf8554353422052414b2052505452\"]}",
  "params": {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions