NCAR / NCAR/embedded-daq

rpi2-daq/usr/bin/btrn default auth mode

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The usage message for btrn says the default authorization mode is set to 0, no auth.
When configuring the radio, however, it does:

if cfg['Profile'] != 'SPP':
                # print("setting profile=SPP")
                cmd = 'S~,0'
                send_command(pexp, cmd)

So its always set to SPP. I think the usage message needs to be changed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open rpi2-daq/usr/bin/btrn and find the usage message describing the default authorization mode. Compare that wording with the S~,0 configuration command shown in the issue, then update the message so it describes the actual default mode and verify the usage text is consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.