pull/516/head
Christopher Young 2016-10-24 15:22:57 -04:00
rodzic 5eb079dae6
commit 04ee9d8b1b
4 zmienionych plików z 48 dodań i 48 usunięć

Wyświetl plik

@ -749,7 +749,6 @@ type WeatherMessage struct {
TowerLon float64 TowerLon float64
TowerLat float64 TowerLat float64
TisId byte TisId byte
} }
// Send update to connected websockets. // Send update to connected websockets.

Wyświetl plik

@ -4,13 +4,14 @@ import (
"encoding/hex" "encoding/hex"
"errors" "errors"
"fmt" "fmt"
"log"
"io/ioutil" "io/ioutil"
"log"
"strconv" "strconv"
"strings" "strings"
) )
var elementIdentifier byte var elementIdentifier byte
const ( const (
UPLINK_BLOCK_DATA_BITS = 576 UPLINK_BLOCK_DATA_BITS = 576
UPLINK_BLOCK_BITS = (UPLINK_BLOCK_DATA_BITS + 160) UPLINK_BLOCK_BITS = (UPLINK_BLOCK_DATA_BITS + 160)