Wykres commitów

63 Commity (master)

Autor SHA1 Wiadomość Data
Bertrik Sikken 65f524b1ef Remove unused fields from Ttnv3UplinkMessage 2021-09-16 01:08:11 +02:00
Bertrik Sikken c4a86a9c86 Use execute() instead of submit() on the habitat uploader executor. 2021-09-16 01:03:46 +02:00
Bertrik Sikken 99953281c4 Don't bother with application id 2021-09-16 01:00:10 +02:00
Bertrik Sikken 69ccd9f000 Actually enable Helium as a source for LoRaWAN messages 2021-09-16 00:48:51 +02:00
Bertrik Sikken 6a01360214 Use Double.NaN to indicate that a Helium gateway does not send altitude 2021-09-15 22:08:44 +02:00
Bertrik Sikken fe7815d840 Refactor configuration, uses YAML now, prepare for Helium 2021-09-15 21:42:36 +02:00
Bertrik Sikken feb06a273c Rename counter to fcnt 2021-09-15 19:52:13 +02:00
Bertrik Sikken c43f4428ba Verify decoded helium message in unit test. 2021-09-15 19:50:23 +02:00
Bertrik Sikken 0e0d8efdde Add method to convert HeliumUplinkMessage to common LoRaWAN uplink 2021-09-15 00:33:32 +02:00
Bertrik Sikken fb19695a85 Remove isRetry() from TTN uplink message, it no longer exists. 2021-09-15 00:18:44 +02:00
Bertrik Sikken 7199758e63 Add HeliumUplinkMessage class 2021-09-15 00:15:44 +02:00
Bertrik Sikken 59202b25a1 Rename classes, prepare for helium support. 2021-09-15 00:10:05 +02:00
Bertrik Sikken 2c0ced163f Add runner to verify multi-receiver support of habitat API. 2021-09-14 23:42:46 +02:00
Bertrik Sikken 896a35eb9c Remove support for TTN v2, always assume TTN v3 2021-09-14 23:41:55 +02:00
Bertrik Sikken 117efd9f79 Remove Ttnv2UplinkMessage (it is obsolete now that TTN v2 is read-only) 2021-09-14 23:26:26 +02:00
Bertrik Sikken 85a147c959 Fix spotbugs warnings. 2021-08-28 21:22:37 +02:00
Bertrik Sikken f2f8befb9f Update default settings for TTN V3 2021-07-11 17:50:15 +02:00
Bertrik Sikken 4662637342 Avoid the use of java-11 method String.isBlank() 2021-07-04 22:53:18 +02:00
Bertrik Sikken ad26b51da6 Add possiblity to specify TTN stack version (V2 or V3) 2021-03-07 14:59:14 +01:00
Bertrik Sikken 65a2cbf8b0 Cleanup Ttnv2UplinkMessage 2021-03-06 12:30:49 +01:00
Bertrik Sikken 1dc3101aff Fix spotbugs warnings and add port parameter. 2021-03-06 12:09:00 +01:00
Bertrik Sikken 4e676e69e7 Use Double.NaN instead of null to indicate missing location. 2021-02-28 23:09:06 +01:00
Bertrik Sikken 2ae6f9b83d Refactor / add support for TTN v3 MQTT messages. 2021-02-28 00:25:10 +01:00
Bertrik Sikken 5a844d6cba Skip TTN uplink messages with "is_retry" flag set. Add unit test. 2020-10-19 23:16:17 +02:00
Bertrik Sikken 19b0e6d748 Remove .properties file, a default should be generated automatically 2020-08-17 22:34:35 +02:00
Bertrik Sikken 5cf5dbea01 Fix type of "payloadFields" in JSON representation of TTN message.
This should be Object, not String.
2020-08-17 22:12:22 +02:00
Bertrik Sikken 84fa25f4b1 Fix spotbugs issue. 2020-07-24 00:35:45 +02:00
Bertrik Sikken a505632b57 Use map instead of JsonObject in TTN objects. 2020-07-19 20:44:59 +02:00
Bertrik Sikken 2818c3aaba Fix javadoc issues. 2020-06-14 14:04:05 +02:00
Bertrik Sikken e7283fea85 Gradle (-> 6.5) and libraries update. 2020-06-14 14:02:06 +02:00
Bertrik Sikken c38edbd022 Fix reconnect behaviour, re-subscribe in the connectComplete callback. 2020-06-14 13:12:17 +02:00
Bertrik Sikken d973ee7ae7 Reduce libraries for byte[] to ascii hex conversion. 2020-05-03 10:51:45 +02:00
Bertrik Sikken 4635e8c79e Update Cayenne code with support for packed encoding. 2020-05-02 10:36:54 +02:00
Bertrik Sikken dd9b7fa50e Enable MQTT automatic reconnect (untested). 2020-04-30 23:31:05 +02:00
Bertrik Sikken ee30731333 Make exception logging a bit more explicit, add missing catch. 2020-04-30 23:19:26 +02:00
Bertrik Sikken e1dc3c559f Fix unused import. 2020-04-27 23:32:45 +02:00
Bertrik Sikken 226a34f3e1 Move log4j properties out of cfg directory. 2020-04-27 23:32:22 +02:00
Bertrik Sikken 3eb356dc7d Update default properties file. 2020-02-06 01:22:34 +01:00
Bertrik Sikken 19dbf5069a Actually use \n ... as specified in previous commit message. 2020-02-05 23:54:34 +01:00
Bertrik Sikken ac892cac5e Add unit test to PayloadDecoderTest, update TtnMessage for testing. 2020-02-05 23:19:39 +01:00
Bertrik Sikken d1ccce94fa Update gradle version to 6.0.1 2019-12-08 17:12:05 +01:00
Bertrik Sikken 3512dae2e0 Fix spotbugs warning about modifiable byte[]. 2019-05-30 10:36:35 +02:00
Bertrik Sikken f1d7d2efaf Fix spotbugs warning about \n line endings ... 2019-05-30 10:36:03 +02:00
Bertrik Sikken b07b6c29c4 Fix spotbugs warning. 2019-05-30 10:14:25 +02:00
Bertrik Sikken 7ef299bbcd Pass payload encoding directly as an enum, not as string. 2019-05-16 09:03:09 +02:00
Bertrik Sikken 71048cc4d7 Add all Cayenne fields in the order they appear in to the UKHAS sentence 2019-05-15 23:39:39 +02:00
Bertrik Sikken a6134817c6 Specify GW timeout as a Duration. 2019-05-12 00:01:29 +02:00
Bertrik Sikken ff0b71c1d2 Fix compiler errors. 2019-05-11 23:57:06 +02:00
Bertrik Sikken 093f8fa0c3 Increase habitat timeout to 5 seconds. 2019-05-11 23:50:42 +02:00
Bertrik Sikken 493906f040 Specify habitat timeout as a Duration. 2019-05-11 23:49:53 +02:00