Commit a29921789bc5b63d6a7c51e46dd6314aca06b99e
1 parent
ee67b5ae
Change IP address of TTN server
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
main.cpp
@@ -85,7 +85,7 @@ static char description[64] = ""; /* used for free form d | @@ -85,7 +85,7 @@ static char description[64] = ""; /* used for free form d | ||
85 | 85 | ||
86 | // define servers | 86 | // define servers |
87 | // TODO: use host names and dns | 87 | // TODO: use host names and dns |
88 | -#define SERVER1 "54.229.214.112" // The Things Network: croft.thethings.girovito.nl | 88 | +#define SERVER1 "54.72.145.119" // The Things Network: croft.thethings.girovito.nl |
89 | //#define SERVER2 "192.168.1.10" // local | 89 | //#define SERVER2 "192.168.1.10" // local |
90 | #define PORT 1700 // The port on which to send data | 90 | #define PORT 1700 // The port on which to send data |
91 | 91 | ||
@@ -293,7 +293,7 @@ void SetupLoRa() | @@ -293,7 +293,7 @@ void SetupLoRa() | ||
293 | } else { | 293 | } else { |
294 | writeRegister(REG_MODEM_CONFIG3,0x04); | 294 | writeRegister(REG_MODEM_CONFIG3,0x04); |
295 | } | 295 | } |
296 | - writeRegister(REG_MODEM_CONFIG,0x072); | 296 | + writeRegister(REG_MODEM_CONFIG,0x72); |
297 | writeRegister(REG_MODEM_CONFIG2,(sf<<4) | 0x04); | 297 | writeRegister(REG_MODEM_CONFIG2,(sf<<4) | 0x04); |
298 | } | 298 | } |
299 | 299 |