jmlzone / PiPtr

Repeater controller
7 stars 4 forks source link

enhance command processing request #7

Open mhoffma opened 7 years ago

mhoffma commented 7 years ago

We had a nice intro session. (direct request from jml)

Here are some examples of next step things I have not worked out yet.

Lets say you press "123" on your radio and the "soft decode" process notices it will have "1", "2", "3" pun in the queue as separate items.

I want to process that as a command and say that "123" = add to the message queue to say the current date and time. We can assume for the moment there is a python stab that can be in the message queue to do that.

In general I need a whole "command parser". There is a whole long list of "user commands" and "system operator" commands that do things.

The command processing has 2 privilege levels. By default you are at user level but there is a "user command" that gets you to operator Level or having a bit set in that CTCSS array may indicate that you are in operator level. Operator commands issues at user love are ignored.