danielkucera commented on issue #2354:
URL: https://github.com/apache/mynewt-core/issues/2354#issuecomment-775518981
Ok, the last missing value to correctly connect to TTN was:
```
LORA_NODE_PUBLIC_NWK: 1
```
so the final config is:
```
SPI_0_MASTER: 1
SPI_0_MASTER_PIN_SCK: 30
SPI_0_MASTER_PIN_MOSI: 2
SPI_0_MASTER_PIN_MISO: 3
# repos/apache-mynewt-core/net/lora/node/include/node/lora_band.h
LORA_NODE: 1
LORA_NODE_REGION: 6
LORA_MAC_TIMER_NUM: 0
LORA_NODE_PUBLIC_NWK: 1
# lora pins
#SX1276
SX1276_SPI_IDX: 0
SX1276_SPI_CS_PIN: 29 # NSS?
SX1276_HF_USE_PA_BOOST: 1
```
and pins in `bsp.h`:
```
#define SX1276_DIO0 (31)
#define SX1276_DIO1 (4)
#define SX1276_DIO2 (5)
#define SX1276_DIO3 (26)
#define SX1276_DIO4 (28)
#define SX1276_DIO5 (25)
#define SX1276_NRESET (27)
```
But I have to say that the documentation is very poor. :-1:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]