lora
Christopher Young 2017-04-28 23:58:01 -04:00
rodzic db37baedd5
commit e783c03b5f
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -697,7 +697,10 @@ func heartBeatSender() {
} else {
// Send the uatsynth'd message to the normal parser for relaying.
for _, m := range encodedMessages {
s := "+" + string(m) + ";rs=0;" //"ss=0;" //FIXME.
hexEncodedMsg := make([]byte, hex.EncodedLen(len(m)))
hex.Encode(hexEncodedMsg, m)
s := "+" + string(hexEncodedMsg) + ";rs=0;" //"ss=0;" //FIXME.
o, msgtype := parseInput(s)
if o != nil && msgtype != 0 {
relayMessage(msgtype, o)