Bertrik Sikken
|
8e98a0aba4
|
Replace Date in Sentence with new Java8 Instant.
|
2017-09-16 17:49:29 +02:00 |
Bertrik Sikken
|
8fd8cbe622
|
Remove obsolete TODO comment.
|
2017-09-09 20:43:29 +02:00 |
Bertrik Sikken
|
3e4577b69f
|
Refactor CayenneItem / CayenneMessage a bit.
|
2017-09-09 20:42:54 +02:00 |
Bertrik Sikken
|
bcbe5daa41
|
Add cayenne decoding to ttnhabbridge.
|
2017-09-08 19:27:26 +02:00 |
Bertrik Sikken
|
6078b8eaff
|
Update CayenneMessage: it's now a list of CayenneItems.
|
2017-09-08 01:27:27 +02:00 |
Bertrik Sikken
|
4d9d9bb675
|
Make enum inside TtnHabBridgeConfig explicitly immutable.
|
2017-09-07 14:13:20 +02:00 |
Bertrik Sikken
|
8af5cabec4
|
Allow the payload encoding format to be specified in the configuration file.
|
2017-09-06 01:23:55 +02:00 |
Bertrik Sikken
|
a435653b07
|
Add temperature and battery voltage to a UKHAS sentence for a sodaqone binary payload.
|
2017-09-05 12:58:00 +02:00 |
Bertrik Sikken
|
35d52c6c87
|
Add configuration item to specify the payload format.
|
2017-09-05 12:33:59 +02:00 |
Bertrik Sikken
|
2189d9bad3
|
Fix calculation of battery voltage in binary sodaqone payload.
|
2017-09-05 12:26:11 +02:00 |
Bertrik Sikken
|
f34b7aee4f
|
Add unit test for cayenne payload.
|
2017-09-05 12:23:10 +02:00 |
Bertrik Sikken
|
3a14aa20f3
|
Add uncaught exception handler.
|
2017-09-04 02:09:57 +02:00 |
Bertrik Sikken
|
442df50422
|
Make the configuration class work with streams instead of files.
|
2017-09-04 01:53:53 +02:00 |
Bertrik Sikken
|
dec6fb2711
|
Clarify some conditional statements with parentheses.
|
2017-09-03 23:40:09 +02:00 |
Bertrik Sikken
|
2f37c3c01b
|
Some fixes, as suggested by PMD.
|
2017-09-01 15:30:09 +02:00 |
Bertrik Sikken
|
f16a42d61d
|
Move PMD configuration to top level build.gradle file and explicitly specify version.
|
2017-08-31 18:03:07 +02:00 |
Bertrik Sikken
|
94f6d0fc4e
|
Re-enable PMD with UselessParentheses disabled, hope it behaves this time.
|
2017-08-31 15:47:34 +02:00 |
Bertrik Sikken
|
edd011f0a5
|
Fix second/millisecond conversion.
|
2017-08-31 15:14:36 +02:00 |
Bertrik Sikken
|
208cffa824
|
Get timestamp from payload data for sodaq payload, instead of using TTN time.
|
2017-08-31 14:56:26 +02:00 |
Bertrik Sikken
|
d588942184
|
Add cayenne subproject to main gradle file.
|
2017-08-31 14:03:54 +02:00 |
Bertrik Sikken
|
3da33c7498
|
Add a cayenne subproject, for parsing/formatting 'cayenne' type data payloads.
|
2017-08-31 13:35:37 +02:00 |
Bertrik Sikken
|
60bc2961a9
|
Add log4j as a default test dependency, remove jetty dependency.
|
2017-08-31 13:13:28 +02:00 |
Bertrik Sikken
|
163e5f6616
|
Catch a more specific WebApplicationException instead of an Exception.
|
2017-08-31 13:08:58 +02:00 |
Bertrik Sikken
|
12fca083ef
|
Add check on result of getUUID web method.
|
2017-08-31 13:00:15 +02:00 |
Bertrik Sikken
|
698e1d3cde
|
Add MIT license
|
2017-08-29 17:05:29 +02:00 |
Bertrik Sikken
|
dce3e356c6
|
Fix habitat REST interface comments.
|
2017-08-29 13:25:06 +02:00 |
Bertrik Sikken
|
36cd64e814
|
Disable PMD: it produces incorrect results with warning UselessParentheses!
|
2017-08-29 13:13:20 +02:00 |
Bertrik Sikken
|
5b6492d0ab
|
Make gateway cache expiration time configurable, with a default of 600 seconds.
|
2017-08-28 15:42:38 +02:00 |
Bertrik Sikken
|
c986e8f576
|
- fix upload logic: we should still send payload telemetry for GWs that are cached
- move location validation from TtnMessageGateway to Location
|
2017-08-28 15:03:21 +02:00 |
Bertrik Sikken
|
7bf95882a1
|
Configure explicit PMD rule sets in an attempt to fix failing builds on travis.
|
2017-08-28 14:43:26 +02:00 |
Bertrik Sikken
|
b4b3dc0b31
|
Add unit tests.
|
2017-08-28 14:38:19 +02:00 |
Bertrik Sikken
|
57f56c9e8a
|
Implement proper check on whether a GW has a location and add a gateway cache.
|
2017-08-28 14:38:03 +02:00 |
Bertrik Sikken
|
aab2ef03f6
|
Refactor logging and method names in HabitatUploader.
|
2017-08-28 14:37:08 +02:00 |
Bertrik Sikken
|
73e2179769
|
Make logging of payload telemetry upload consistent with other types of upload.
|
2017-08-28 13:57:55 +02:00 |
Bertrik Sikken
|
5fb524bf79
|
Apparently latitude/longitude/altitude of a GW are optional fields, so prepare for that and don't report these GWs.
|
2017-08-27 20:51:03 +02:00 |
Bertrik Sikken
|
f5e8a77034
|
Add link back to the wiki page.
|
2017-08-25 01:07:53 +02:00 |
Bertrik Sikken
|
5d77d73db9
|
Fix PayloadDecoder comment.
|
2017-08-25 00:48:05 +02:00 |
Bertrik Sikken
|
b34e456bea
|
- move/update .properties file in src/dist
- add start scripts
|
2017-08-25 00:44:45 +02:00 |
Bertrik Sikken
|
00b6317156
|
PMD warning fix.
|
2017-08-25 00:25:21 +02:00 |
Bertrik Sikken
|
6cbe624a73
|
Add temperature and voltage to payload decoder.
|
2017-08-25 00:20:35 +02:00 |
Bertrik Sikken
|
a448cb50c2
|
Move payload decoding into a separate module, add support for another payload format and update unit tests.
|
2017-08-24 17:35:33 +02:00 |
Bertrik Sikken
|
30496489bf
|
Use memory persistence (iso file persistence), use MqttClient to generate the client id.
|
2017-08-24 00:51:28 +02:00 |
Bertrik Sikken
|
b6683db8cc
|
Static code analysis fixes.
|
2017-08-24 00:41:02 +02:00 |
Bertrik Sikken
|
0166377b92
|
Warning fixes.
|
2017-08-24 00:32:32 +02:00 |
Bertrik Sikken
|
5ef8ea05d3
|
gradle caching stuff for travis
|
2017-08-23 22:41:42 +02:00 |
Bertrik Sikken
|
d17c7d5d72
|
- make logger final
- simplify mqtt topic
|
2017-08-23 22:35:10 +02:00 |
Bertrik Sikken
|
a75d558ee2
|
Add SodaqOnePayloadTest.
|
2017-08-23 22:34:40 +02:00 |
Bertrik Sikken
|
c065f5bfad
|
Verify *two* listener uploads: infomation doc + telemetry.
|
2017-08-23 22:25:36 +02:00 |
Bertrik Sikken
|
3eeeb974b1
|
Use the reception date as reported in the metadata received from TTN, not the local system time.
|
2017-08-23 21:49:01 +02:00 |
Bertrik Sikken
|
b0c9202e6f
|
Refactor listener and payload docs a bit.
|
2017-08-23 21:10:06 +02:00 |