Commit Graph

104 Commits

Author SHA1 Message Date
Pieter de Rijk
2677322c98 Added guidance lsb in the description for new users 2021-01-20 11:37:25 +01:00
Pieter de Rijk
f411d4d446 Generic User Experience improvements
- Avoid conflicting messages on joining versus joined TTN
- Enabled boot logo if ALWAYS_SHOW_LOGO is set
- Avoid accidentally pressing second button too long to discard network prefs. Set PREFS_DISCARD to enable
2021-01-14 15:08:37 +01:00
Kyle Gabriel
cf540faa74 fix compilation errors for v07 2020-08-24 23:11:01 -04:00
Kyle Gabriel
8d51d1b666 remove credentials.h 2020-08-20 16:42:23 -04:00
Kyle Gabriel
08a9fe4ce0 v1.2.0 release 2020-08-20 16:39:13 -04:00
Kyle Gabriel
5b67743915 Merge branch 'geeksville-master' 2020-08-20 15:13:31 -04:00
Kyle Gabriel
37ebfbc9f0 Merge branch 'master' of https://github.com/geeksville/ttgo-tbeam-ttn-tracker into geeksville-master 2020-08-20 15:11:32 -04:00
Kyle Gabriel
af94073022
Merge pull request #23 from oseiler2/master
Add correct sub band for AU915 region
2020-08-20 14:48:59 -04:00
Oliver Seiler
c4b9cc80fc
Merge pull request #1 from oseiler2/oseiler2-au915
Added AU916 sub band configuration
2020-08-07 21:24:42 +12:00
Oliver Seiler
598d96c9fc
Added AU916 sub band configuration 2020-08-07 21:24:25 +12:00
Kyle Gabriel
f4b7577d05
Merge pull request #17 from DooMMasteR/master
If the AXP192 is present, also display battery voltage and current.
2020-03-27 21:25:37 -04:00
Steffen Arntz
7a9dbb3b1f when the AXP192 is present, also display battery voltage and current.
this will give a good estimate on the current battery state.
2020-03-05 11:09:03 +01:00
geeksville
be4983b056 add explicit dependency on SPI lib 2020-02-01 08:28:18 -08:00
geeksville
128c10ca88 make sure user doesn't accidentally put their credentials in git 2020-02-01 08:06:30 -08:00
geeksville
ccc35bb1f9 use a larger spreading factor 2020-02-01 06:34:28 -08:00
geeksville
afc0549206 vscode data file 2020-02-01 06:15:01 -08:00
geeksville
5e18cd1171 If user presses button for 3 secs, discard all lora settings 2020-02-01 06:14:49 -08:00
geeksville
f655882cfa dynamic probing for devices works 2020-02-01 05:40:08 -08:00
geeksville
b1da652d41 let the main cpu mostly sleep until we have gps lock 2020-02-01 05:39:35 -08:00
geeksville
e890e7a80a deep sleep now powers down GPS and lora radio 2020-02-01 05:30:08 -08:00
geeksville
2a2e8172e3 show screen messages out serial port (for screenless devices) 2020-02-01 05:02:45 -08:00
geeksville
fb662abe6d debug console is 115200 bps 2020-02-01 05:02:27 -08:00
geeksville
e1189839fe on initial powerup GPS generates a fake zero alt report (before lock) 2020-02-01 05:02:12 -08:00
geeksville
1f01b71d4a require radio now that I've tested with real hardware 2020-02-01 05:01:22 -08:00
geeksville
e84a840190 if prefs file open fails, don't try other operations 2020-01-20 10:51:58 -08:00
geeksville
5a11a7a880 to facilitate development make radio optional for now 2020-01-20 10:51:35 -08:00
Kyle Gabriel
29533fa70e Move LMIC_startJoining() outside "#ifdef SINGLE_CHANNEL_GATEWAY" (#6), update version to 1.1.1 2020-01-20 11:33:47 -05:00
Kyle Gabriel
4d4f0545f7
Merge pull request #11 from tkerby/master
Bug fixes - frame counter, link checking and battery charge status
2020-01-20 11:11:15 -05:00
geeksville
8863cb7d5c enter deep sleep as soon as we send one packet 2020-01-19 10:59:30 -08:00
geeksville
a35c6dcbe9 dynamically probe for screen and don't even use it if...
waking from deep sleep timer
2020-01-19 10:12:48 -08:00
geeksville
2da1f623ff read wake reason at boot 2020-01-19 10:01:05 -08:00
geeksville
ddf47aa134 begin implementing deep sleep (and powering down gps/lora/display) 2020-01-18 18:01:28 -08:00
geeksville
716c355b21 move axpinit and document LDO & LED usage on V1 hardware 2020-01-18 17:41:17 -08:00
geeksville
4018141a45 generate DevEUI based on macaddr if not defined 2020-01-18 14:11:00 -08:00
geeksville
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
geeksville
c263355ada Store joinned network info in flash, so that OTAA will work nicely 2020-01-18 13:21:00 -08:00
geeksville
fdc0edee88 make lora packet count persist in flash (also remove some unneeded init) 2020-01-18 12:37:39 -08:00
geeksville
73bac3be45 we are supposed to use 0xff to mark unused gpios 2020-01-17 21:30:41 -08:00
geeksville
67b6555cc0 remove old settings 2020-01-17 21:29:38 -08:00
geeksville
33483b3d53 share common init and make OTAA work correctly with a non single-ch gway 2020-01-17 21:00:10 -08:00
geeksville
6a0382cba5 fix warning about nop redefinition of axp192 address 2020-01-17 15:39:01 -08:00
geeksville
6f2fd78ae2 switch to V10 BEAM, fix incorrect reset pin binding 2020-01-17 15:37:37 -08:00
geeksville
bb01201e57 we don't want warnings about missing initalizers 2020-01-17 15:22:03 -08:00
geeksville
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
geeksville
e36d706c95 add vscode workspace definitions 2020-01-17 15:16:42 -08:00
geeksville
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
Tim Kerby
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
Kyle Gabriel
8bad9225c2 remove redundant os_runloop_once() (#5) 2019-08-29 17:06:50 -04:00
Kyle Gabriel
c7e014fb38 Add CLOCK_ERROR option to enable/disable feature (#4) 2019-08-28 20:10:32 -04:00
Kyle Gabriel
d0ece33e8e fix error if SINGLE_CHANNEL_GATEWAY not enabled 2019-08-28 19:55:30 -04:00