Skip to content

Joining a hashtag channel is hard #21

@Peetz0r

Description

@Peetz0r

Hey, I wanted to join a hashtag channel. So I looked at the commands. At first I couldn't find a join_channel or add_channel command, or something that mentions joining or adding in the help text.

After a while I figured out that I needed to look at my "channel slots", and set the fields for an onused one of those to the values for the nel channel with set_channel:

    set_channel n nm k     : set channel info (nb, name, key)

Which implies that I need to find and add the key myself. I actually figured out how to do that, to then be confronted with an error like this:

Peetz0r|*> set_channel 3 #example 8e224e0c4eec7863aac7eaa6c69db105
ERROR:meshcore:Unknown command : 8e224e0c4eec7863aac7eaa6c69db105, ['8e224e0c4eec7863aac7eaa6c69db105'] not executed ...

Only after trying some more stuff, I figured out that I could just do set_channel 3 #example.

So that too me a while, and leaves me with 2 suggestions:

  1. Change the text for help so that it becomes obvious that you should not provide a key for hashtag channels
  2. Add a command add_channel or join_channel that automatically takes the first unused slot if any

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