Wykres commitów

85 Commity (698e1d3cde962de7109ac9629f37af00ceacc53b)

Autor SHA1 Wiadomość Data
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
Bertrik Sikken d6507b43b5 Update HabitatUploader logging. 2017-08-23 20:46:00 +02:00
Bertrik Sikken 14ca831b95 Simplify/reduce/rename configuration items a bit. 2017-08-23 19:06:17 +02:00
Bertrik Sikken 2f4b7960fc Fix javadoc. 2017-08-23 13:04:50 +02:00
Bertrik Sikken 5cc5bc7a02 Put the antenna altitude in the listener doc "antenna" field. 2017-08-23 12:45:27 +02:00
Bertrik Sikken 96062144e7 Always pass a locale to String.format() 2017-08-23 12:44:25 +02:00
Bertrik Sikken f8cc50d5aa Move MQTT listener process to its own module. 2017-08-23 12:31:29 +02:00
Bertrik Sikken 9884c5b949 Enable logging to file. 2017-08-23 11:32:36 +02:00
Bertrik Sikken 18f7634cd6 Enable PMD check. 2017-08-22 13:07:43 +02:00
Bertrik Sikken 32396d43e5 Add unit test to HabitatUploaderTest. 2017-08-22 13:07:11 +02:00
Bertrik Sikken db2c2a4f49 Fix some issues found by PMD/FindBugs. 2017-08-22 12:50:15 +02:00
Bertrik Sikken 9e17d368f6 Make gradlew executable 2017-08-22 11:21:44 +02:00
Bertrik Sikken 7e0ad70315 Add travis configuration file. 2017-08-22 11:06:21 +02:00
Bertrik Sikken 421448f645 Cleanup and refactor. 2017-08-22 10:54:38 +02:00
Bertrik Sikken 37f63f47d1 Fix eclipse paho mqtt client version. 2017-08-22 10:51:48 +02:00
Bertrik Sikken 63177a5be5 Add eclipse launch file. 2017-08-22 10:49:15 +02:00
Bertrik Sikken ec2d365938 Remove unneeded gradle directory. 2017-08-22 10:45:10 +02:00
Bertrik Sikken ab663c6bad Some getter renaming. 2017-08-22 02:27:45 +02:00
Bertrik Sikken 2fa6b004aa Implement bulk of TtnHabBridge, add configuration. 2017-08-22 02:14:50 +02:00
Bertrik Sikken 87ac94d809 Disable two tests, they should be done manually (if ever). 2017-08-22 02:14:15 +02:00
Bertrik Sikken ba17d8300b Add link to specification. 2017-08-22 02:12:54 +02:00
Bertrik Sikken a7787218df Add toString() method to HabReceiver. 2017-08-22 02:00:16 +02:00
Bertrik Sikken 0ebdf8ef20 Add comments to SodaqOnePayload 2017-08-22 01:59:50 +02:00
Bertrik Sikken 6a235d0520 Simplify test for data received over MQTT. 2017-08-21 15:38:32 +02:00
Bertrik Sikken 74197b5f0c Update logging and exception handling. 2017-08-21 15:37:34 +02:00