Struct p25::trunking::tsbk::UnitTrafficChannel
[−]
[src]
pub struct UnitTrafficChannel(_);
Indicates a pair of units have been granted a traffic channel.
Note that this decoder can be used with UnitVoiceGrant
, UnitVoiceUpdate
, and
UnitDataGrant
packets.
Methods
impl UnitTrafficChannel
[src]
pub fn new(tsbk: TsbkFields) -> Self
[src]
Create a new UnitTrafficChannel
decoder from the base TSBK decoder.
pub fn channel(&self) -> Channel
[src]
Parameters for tuning to the traffic channel.
pub fn dest_unit(&self) -> u32
[src]
Destination unit of the call.
pub fn src_unit(&self) -> u32
[src]
Originating unit of the call.