Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungLetzte ÜberarbeitungBeide Seiten der Revision | ||
projekte:grossprojekte:lorawan:7_lora_node_scetch [2020/11/09 14:11] – fablab_wiki | projekte:grossprojekte:lorawan:7_lora_node_scetch [2020/11/30 15:56] – fablab_wiki | ||
---|---|---|---|
Zeile 287: | Zeile 287: | ||
// Reset the MAC state. Session and pending data transfers will be discarded. | // Reset the MAC state. Session and pending data transfers will be discarded. | ||
LMIC_reset(); | LMIC_reset(); | ||
+ | LMIC_setLinkCheckMode(0); | ||
+ | LMIC.dn2Dr = SF9; | ||
+ | LMIC_setDrTxpow(DR_SF7, | ||
// Start job (sending automatically starts OTAA too) | // Start job (sending automatically starts OTAA too) | ||
do_send(& | do_send(& | ||
Zeile 394: | Zeile 396: | ||
const unsigned TX_INTERVAL = 60; | const unsigned TX_INTERVAL = 60; | ||
- | // Pin Mapping für Graduino | + | // Pin Mapping für Dragino |
const lmic_pinmap lmic_pins = { | const lmic_pinmap lmic_pins = { | ||
.nss = 10, | .nss = 10, | ||
Zeile 555: | Zeile 557: | ||
\\ | \\ | ||
\\ | \\ | ||
- | Stand: | + | Stand: |