Fix POS APRSD message call sign and a few other minor edits.

pull/4/head
CInsights 2018-04-20 10:20:50 +10:00
rodzic 48010e1c37
commit 844d2030d3
5 zmienionych plików z 9 dodań i 7 usunięć

Wyświetl plik

@ -11,7 +11,7 @@ const conf_t conf_flash_default = {
// Primary position node
.pos_pri = {
.thread_conf = {
.active = false,
.active = true,
.cycle = TIME_S2I(60*30),
.init_delay = TIME_S2I(30)
},
@ -122,7 +122,7 @@ const conf_t conf_flash_default = {
.aprs = {
.thread_conf = {
.active = true,
.init_delay = TIME_S2I(20)
.init_delay = TIME_S2I(20),
},
.rx = { // The receive identity for APRS
.radio_conf = {
@ -147,7 +147,8 @@ const conf_t conf_flash_default = {
.fixed = true,
.lat = -337331175,
.lon = 1511143478,
.alt = 144
.alt = 144,
.interval = TIME_S2I(60*30)
},
.base = {
// The base station identity - how and where tracker originated messages are sent

Wyświetl plik

@ -51,7 +51,7 @@ void startSDU(void) {
* @notes TRACE output is sent to USB serial.
* @notes TRACE output is suspended when any key is pressed on terminal.
* @notes A new shell is invoked and remains active until logout.
* @notes TRACE output is then resotored.
* @notes TRACE output is then resumed.
*
* @api
*/

Wyświetl plik

@ -124,7 +124,7 @@ void pktPowerUpRadio(radio_unit_t radio) {
* RADIO_SDN is configured to open drain as it is pulled up on PCB by 100K.
* The radio powers up in SDN mode.
*
* CS is set as pushpull and initialized to HIGH.
* CS is set as push-pull and initialized to HIGH.
*/
// Power up transceiver

Wyświetl plik

@ -73,9 +73,9 @@ THD_FUNCTION(posThread, arg)
* There is no acknowledgment requested.
*/
packet = aprs_compose_aprsd_message(
APRS_DEVICE_CALLSIGN,
conf_sram.aprs.base.call,
conf_sram.aprs.base.path,
conf_sram.aprs.base.call);
APRS_DEVICE_CALLSIGN);
if(packet == NULL) {
TRACE_WARN("POS > No free packet objects "
"or badly formed APRSD message");

Wyświetl plik

@ -132,6 +132,7 @@ typedef struct {
int32_t lat;
int32_t lon;
int32_t alt;
sysinterval_t interval; // Beacon interval (0: continously)
} thd_tx_conf_t;