Commit Graph

73 Commits

Author SHA1 Message Date
ddf47aa134 begin implementing deep sleep (and powering down gps/lora/display) 2020-01-18 18:01:28 -08:00
716c355b21 move axpinit and document LDO & LED usage on V1 hardware 2020-01-18 17:41:17 -08:00
4018141a45 generate DevEUI based on macaddr if not defined 2020-01-18 14:11:00 -08:00
c6e1053ed1 oops - though these pins are no connects, we need to lie to the lmic
library because it has an assertion check that will fail.
2020-01-18 13:28:12 -08:00
c263355ada Store joinned network info in flash, so that OTAA will work nicely 2020-01-18 13:21:00 -08:00
fdc0edee88 make lora packet count persist in flash (also remove some unneeded init) 2020-01-18 12:37:39 -08:00
73bac3be45 we are supposed to use 0xff to mark unused gpios 2020-01-17 21:30:41 -08:00
67b6555cc0 remove old settings 2020-01-17 21:29:38 -08:00
33483b3d53 share common init and make OTAA work correctly with a non single-ch gway 2020-01-17 21:00:10 -08:00
6a0382cba5 fix warning about nop redefinition of axp192 address 2020-01-17 15:39:01 -08:00
6f2fd78ae2 switch to V10 BEAM, fix incorrect reset pin binding 2020-01-17 15:37:37 -08:00
bb01201e57 we don't want warnings about missing initalizers 2020-01-17 15:22:03 -08:00
a1166364a7 altitudeGps is an integer, fix the format string.
/home/kevinh/development/lora/ttgo-tbeam-ttn-tracker/main/gps.ino: In function 'void buildPacket(uint8_t*)':
/home/kevinh/development/lora/ttgo-tbeam-ttn-tracker/main/gps.ino:83:42: warning: format '%f' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=]
         sprintf(t, "Alt: %f", altitudeGps);
2020-01-17 15:19:18 -08:00
e36d706c95 add vscode workspace definitions 2020-01-17 15:16:42 -08:00
1e9fedcbd7 minor changes needed to build with platformio
I prefer platformio over the arduino IDE because
it automatically does library dependencies and
has lots of other goodness.

To build and install to a connected device just do:

pio run
2020-01-17 15:15:00 -08:00
4a1f360697 Bug fixes - frame counter, link checking and battery charge status
Fixed frame counter (was unsigned char, should have been uint_32) which caused TTN to ignore device after 255 frames and rollover when frame count checks enabled

Turned off link checking when ADR not in use as it was forcing confirmed links

Added display of battery charging status
2020-01-13 17:14:09 +00:00
8bad9225c2 remove redundant os_runloop_once() (#5) 2019-08-29 17:06:50 -04:00
c7e014fb38 Add CLOCK_ERROR option to enable/disable feature (#4) 2019-08-28 20:10:32 -04:00
d0ece33e8e fix error if SINGLE_CHANNEL_GATEWAY not enabled 2019-08-28 19:55:30 -04:00
ce145d8751 TEST update 2019-08-28 19:49:13 -04:00
6334c93b38 Add LMIC_setClockError (#4) 2019-08-28 19:08:13 -04:00
b7f3b809f2 update README 2019-08-27 18:20:55 -04:00
5d31b90d19 update README 2019-08-27 18:20:42 -04:00
37040fc480 update README 2019-08-27 18:18:04 -04:00
28c8cd891c update README 2019-08-27 18:12:50 -04:00
468c0dbeae update serial print messages 2019-08-26 18:05:23 -04:00
6b073a2136 Fix sats calculation (#3) 2019-08-26 17:53:43 -04:00
e5bb5dd000 fix missing variable for Rev0 2019-08-25 20:58:12 -04:00
e7c53e4d34 update with scani2cdevice 2019-08-25 20:55:00 -04:00
27dc8c2cd0 Fix missing Wire.h for Rev1 2019-08-25 20:44:56 -04:00
359183da20 add reference to Rev1 code 2019-08-25 14:01:04 -04:00
ba4c897cee Rev1 updates 2019-08-25 13:56:43 -04:00
36eacfc4a2 minor update 2019-08-25 13:47:15 -04:00
f0f709c508 minor update 2019-08-25 13:46:33 -04:00
43549cd5d7 Update for Rev1 2019-08-25 13:46:03 -04:00
bb9a6ebf31 uncomment Serial.print lines 2019-08-25 13:29:56 -04:00
ad61ee1ea1 minor fix 2019-08-25 13:26:21 -04:00
1348a3f9b7 fix missing variable declaration 2019-08-25 13:24:48 -04:00
b873b80279 update README 2019-08-25 13:09:27 -04:00
c93ecaf6c6 update README 2019-08-25 13:08:04 -04:00
fcc5268977 update README 2019-08-25 13:05:53 -04:00
08c4bdee67 update README 2019-08-25 13:04:27 -04:00
d608c91bb4 update README 2019-08-25 13:00:58 -04:00
5ee5b3e794 Add code for Rev1 T-Beam 2019-08-25 12:57:37 -04:00
b8f6df7f53 progress update 2019-08-23 18:05:07 -04:00
0e6586a55a Update README 2019-08-23 11:21:39 -04:00
cc201e1509 Update README 2019-08-23 11:19:07 -04:00
025de1a445 update README 2019-08-23 10:33:00 -04:00
7b252cf3f4 minor change 2019-08-23 10:24:30 -04:00
e9c24695c6 Update to version 1.1.0 2019-08-23 10:22:03 -04:00