kopia lustrzana https://github.com/DL7AD/pecanpico10
Fix POS APRSD message call sign and a few other minor edits.
rodzic
48010e1c37
commit
844d2030d3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue