A-Netz / B-Netz: Add function to change state, debug with channel info

Change state uses a function rather than directly setting state
variable.

Some debug commands now use channel number. (for multi-trx setups)
This commit is contained in:
Andreas Eversberg
2016-12-06 17:47:58 +01:00
parent eed826387a
commit f111c50478
5 changed files with 119 additions and 47 deletions

View File

@@ -11,6 +11,7 @@ enum dsp_mode {
/* current state of b-netz sender */
enum bnetz_state {
BNETZ_NULL = 0,
BNETZ_FREI, /* sending 'Gruppenfreisignal' */
BNETZ_WAHLABRUF, /* sending 'Wahlabruf', receiving call setup */
BNETZ_SELEKTIVRUF_EIN, /* paging phone (switch to calling channel) */