added custom function bits

master
cheetah 3 years ago
parent 9bb56dc6c8
commit 6e89bfbff9

@ -7,6 +7,7 @@ import (
// Message is a single POCSAG Alphanumeric message
type Message struct {
Addr uint32
Function uint8
Content string
IsNumeric bool
}
@ -265,7 +266,7 @@ func appendContentNumeric(content string) (int, Burst) {
func appendMessage(startpos int, msg *Message) (int, Burst) {
// expand the parameters of the message
addr := msg.Addr
function := byte(0)
function := byte(msg.Function)
type_ := 'a'
content := msg.Content

Loading…
Cancel
Save