Documentation ¶
Index ¶
Constants ¶
View Source
const ( NoPriority uint8 = iota Priority1 Priority2 Priority3 )
Priority Levels
Variables ¶
View Source
var PriorityName = map[uint8]string{ NoPriority: "no priority", Priority1: "priority 1", Priority2: "priority 2", Priority3: "priority 3", }
PriorityName is a map of priority level to string.
Functions ¶
This section is empty.
Types ¶
type ServiceOptions ¶
type ServiceOptions struct { // Emergency service Emergency bool // Not defined in document Privacy bool // Broadcast service (only defined in group calls) Broadcast bool // Open Voice Call Mode OpenVoiceCallMode bool // Priority 3 (0b11) is the highest priority Priority uint8 }
ServiceOptions Conforms to ETSI TS 102-361-2 7.2.1
func ParseServiceOptions ¶
func ParseServiceOptions(data byte) ServiceOptions
ParseServiceOptions parses the service options byte.
func (*ServiceOptions) Byte ¶
func (so *ServiceOptions) Byte() byte
Byte packs the service options to a single byte.
func (*ServiceOptions) String ¶
func (so *ServiceOptions) String() string
String representatation of the service options.
Click to show internal directories.
Click to hide internal directories.