Skip to content

feat: sensor address get and set cli#2831

Open
NickDunklee wants to merge 1 commit into
meshcore-dev:devfrom
NickDunklee:sensor-cli-address-change
Open

feat: sensor address get and set cli#2831
NickDunklee wants to merge 1 commit into
meshcore-dev:devfrom
NickDunklee:sensor-cli-address-change

Conversation

@NickDunklee

Copy link
Copy Markdown
Contributor

This PR adds the ability to get and set sensor addresses via CLI.

  • Can access via CLI on repeater, sensor, room server
  • Companion app should be able to probe this data with a code change, although no way for me to verify
  • usage:
    • sensor get addr_BME680
    • sensor set addr_BME680 0x77
  • Can be used in conjunction with PR 2830 sensors CLI

This is part 2 of the sensor CLI PRs, they should both be mergeable independent of each other.

Tested on:

  • RAK19003 repeater via LoRa in official MC app
  • RAK19007 repeater via LoRa in official MC app
  • RAK19001 sensor via USB
  • RAK3401 1W repeater via LoRa in official MC app
sensor-admin Example from in app. (The other command is in the previous PR.)

Tried to mimic existing behavior for various platforms, but was only able to test on RAK.

This PR adds the ability to get and set sensor addresses via CLI.

  - Can access via CLI on repeater, sensor, room server
  - Companion app _should_ be able to probe this data with a code
    change, although no way for me to verify
  - usage:
    - `sensor get addr_BME680`
    - `sensor set addr_BME680 0x77`
  - Can be used in conjunction with PR 2830 `sensors` CLI

This is part 2 of the sensor CLI PRs, they should both be mergeable
independent of each other.

Tested on:

  - RAK19003 repeater via LoRa in official MC app
  - RAK19007 repeater via LoRa in official MC app
  - RAK19001 sensor via USB
  - RAK3401 1W repeater via LoRa in official MC app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant