This commit is contained in:
Wijnand Modderman-Lenstra 2015-12-08 14:51:17 +01:00
parent b88438b925
commit 09234cef4a

View file

@ -84,6 +84,9 @@ func (r *RepeaterConfiguration) String() string {
return b
}
// ConfigFunc returns an actual RepeaterConfiguration instance when called.
// This is used by the DMR repeater to poll for current configuration,
// statistics and metrics.
type ConfigFunc func() *RepeaterConfiguration
// CallType reflects the DMR data frame call type.
@ -150,6 +153,7 @@ func ParseFrame(data []byte) (*Frame, error) {
return f, nil
}
// StreamFunc is called by the DMR repeater when a DMR data frame is received.
type StreamFunc func(*Frame)
type authStatus byte