Commit graph

295 commits

Author SHA1 Message Date
0604062966 Add aes-js to decrypt the incoming data, but we haven't put it to use just yet 2019-07-15 11:46:41 +01:00
5b97ada857 Revise ethics form based on ethics review feedback 2019-07-15 11:46:18 +01:00
4914d5a492 Bugfix data processor 2019-07-11 14:07:55 +01:00
70da049d49 Implement initial data processor, but it's untested. 2019-07-11 14:03:27 +01:00
d0d303bc4b Bugfix: Squash sd card writing issue 2019-07-11 13:17:01 +01:00
f80571e444 Write test program for the SdFat library 2019-07-11 13:10:24 +01:00
a77fcf637c Change MicroSD card test serial speed 2019-07-11 12:52:05 +01:00
8d822c33c0 Tidy up logging 2019-07-10 14:44:52 +01:00
1ee184d82d Bugfix: Use latitude and longitude instead of lat long 2019-07-10 14:32:58 +01:00
70d29a9517 Bugfix: Correct SQlite db intialisation code 2019-07-10 14:20:46 +01:00
08a4ebe9f1 Bugfix: Reference db_template currectly when initialising the db connection 2019-07-10 14:13:47 +01:00
bd08aae1da Asyncify everything so that we can do dependency injection 2019-07-10 14:11:46 +01:00
121cfc2418 Write some glue code to insert the measurement info into the database
....but it's untested.
2019-07-10 12:21:38 +01:00
855cbc0c1b Insert into ReadingRepo, but it's not tested yet 2019-07-09 17:31:08 +01:00
3123215f11 Make sure SQLite repos reflect the database template 2019-07-09 14:07:23 +01:00
489aac2263 Update SQLite repositories to use awilix container 2019-07-09 14:05:42 +01:00
d494998ff8 Update .gitignore 2019-07-09 13:41:32 +01:00
d65f512003 Pass message on to message handler 2019-07-09 13:14:25 +01:00
380f984253 Bugfix: Correct payload decoder 2019-07-09 13:14:12 +01:00
3f1cf278e9 Fix ttn app server action in build script 2019-07-09 13:13:11 +01:00
46bb1d9047 Add a decode-test action to the Node.js server. 2019-07-09 13:12:54 +01:00
b95505eaff Try to fix the sd card issue, but there's no change :-/
For some crazy reason it's not writing to the cd card anymore. At all. 
Arghhhh!
2019-07-09 13:12:32 +01:00
7dba01bff1 Bugfix: Cast longitude to longitude byte array 2019-07-09 13:11:31 +01:00
321b154105 Decode incoming messages as JSON 2019-07-09 11:46:35 +01:00
5aa990b421 Use mqtt directly instead of simple-mqtt-client 2019-07-08 16:06:06 +01:00
42841d07e8 Finish switching over to simple-mqtt-client, but it's still broken 2019-07-08 15:42:05 +01:00
cc3c0d9d63 Bugfix: Correct power signalling issues 2019-07-08 14:48:09 +01:00
1a39c5902e Start switching over to simple-mqtt-client, but it's not finished yet 2019-07-04 20:53:00 +01:00
e3a667cb69 Implement the ttn client connection, but it throws a syntax error. 2019-07-04 17:18:38 +01:00
4cff3cea91 Remove settings.toml from git repo.
It was committed by accident.
2019-07-04 16:24:41 +01:00
135c7694f8 Default to a frame counter of 0 2019-07-02 14:07:11 +01:00
3251a1d4a2 Print transmit frame sequence counter to serial console 2019-07-02 13:06:27 +01:00
c7012c621d Persist the frame counters in EEPROM
....but we don't initialise it to a value if it hasn't been written to 
yet.
2019-07-02 12:58:55 +01:00
6763a5e66e Split housing & lid for easier 3d printing 2019-07-01 17:49:04 +01:00
5e39b0e9c4 Update .gitignore 2019-07-01 15:49:51 +01:00
1fbd864af8 Merge branch 'master' of git.starbeamrainbowlabs.com:sbrl/Msc-Summer-Project 2019-07-01 15:05:03 +01:00
d65462b8aa Adjust the housing based on expert feedback from Mike 2019-07-01 15:04:45 +01:00
97a89ebf02 Add small debug message 2019-07-01 12:33:57 +01:00
a24fd9894c Add todo note 2019-06-28 14:11:25 +01:00
eb3f377d28 Make ENABLE_RADIO debug symbol actually do something 2019-06-28 14:04:21 +01:00
1bbb1fe535 Comment out ram monitoring code with macro 2019-06-28 14:02:44 +01:00
40f4e9130b Rewrite to use TinyGPS instead of TinyGPS++, but it's still not small enough! 2019-06-28 13:57:39 +01:00
04cc89ea50 Build the raw byte message ahead of transmitting it 2019-06-28 13:34:30 +01:00
34bee82abe Add TinyGPS as it's got a smaller program size then TinyGPS++
The intent is to switch TinyGPS++ out for TinyGPS (it's predecessor)
2019-06-28 13:34:13 +01:00
35b2dd447c Add automatic library configuration to build setup task 2019-06-28 13:33:16 +01:00
3e3f0b6bb3 microSD card writing is now functional. Hooray :D 2019-06-27 17:26:22 +01:00
4e6da5604e Don't use gps.time unless we're in debug mode 2019-06-27 16:28:28 +01:00
5b4b36ddad Refactor gps a teeny bit 2019-06-27 16:27:33 +01:00
bbf12da323 Fix compilation warnings 2019-06-27 15:58:01 +01:00
18342c55fc Finish SdFat refactor, but it's untested. 2019-06-27 15:49:39 +01:00