diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2016-07-19 20:33:48 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2016-07-24 12:31:06 +0200 |
commit | 5bbbe11666720511a1079c042da12baa350737d9 (patch) | |
tree | c4c32631c364b67de546531f571674ee5b185cfa /src/bnetz/bnetz.h | |
parent | ce86f62b1188eb3ffd206ee7d1205eee92efa6d7 (diff) |
B-Netz: Rework on dialing start digit: New unknown type added
Diffstat (limited to 'src/bnetz/bnetz.h')
-rw-r--r-- | src/bnetz/bnetz.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bnetz/bnetz.h b/src/bnetz/bnetz.h index 0ecfec6..62bd18d 100644 --- a/src/bnetz/bnetz.h +++ b/src/bnetz/bnetz.h @@ -31,6 +31,13 @@ enum dial_mode { DIAL_MODE_NUMBER2, }; +/* current dialing type (metering support) */ +enum dial_type { + DIAL_TYPE_NOMETER, + DIAL_TYPE_METER, + DIAL_TYPE_UNKNOWN, +}; + /* current state of paging mobile station */ enum page_mode { PAGE_MODE_NUMBER, @@ -53,7 +60,7 @@ typedef struct bnetz { /* all bnetz states */ enum bnetz_state state; /* main state of sender */ enum dial_mode dial_mode; /* sub state while dialing is received */ - int dial_metering; /* set, if phone supports metering pulses */ + enum dial_type dial_type; /* defines if mobile supports metering pulses */ char dial_number[14]; /* dial string received */ int dial_pos; /* current position while receiving digits */ char station_id[6]; /* current station ID */ |