2070 Commits

Author SHA1 Message Date
nickAS21
8d3e30e8a3
Lwm2m: Fw/Sw updare with test successful/error (#4566)
* Lwm2m: start Sw

* Lwm2m: FwUpdate - new

* Lwm2m: SwUpdate - error

* Lwm2m: SwUpdate - successful/error -test ok

* Lwm2m: SwUpdate - change

* Lwm2m: add executor to observe

* Lwm2m: add operation observe_cancel_All

* Lwm2m: fix bug add software to profile

* Lwm2m: add for logs object to string

* Lwm2m: fix bug swUpdate

* Lwm2m: add new commands only for rpc
2021-05-19 12:45:31 +03:00
Volodymyr Babak
71791c6847 Refactored DAO to remove additional call to relation table - use spring query 2021-05-13 15:04:12 +03:00
Andrii Shvaika
d628624a9a Merge branch 'feature/lwm2m-certificate-verifier' of github.com:thingsboard/thingsboard into feature/lwm2m-certificate-verifier 2021-05-12 18:38:35 +03:00
Andrii Shvaika
b59c846885 Improvements to data converter 2021-05-12 18:38:12 +03:00
Volodymyr Babak
ab55619abf Merge branch 'master' of github.com:thingsboard/thingsboard into edge-3.3 2021-05-12 18:15:52 +03:00
Volodymyr Babak
a76d3a2b70 Cover cases when entities added during edge disconnect. Refactoring 2021-05-12 18:14:51 +03:00
Viacheslav Klimov
c39fb8c94d Refactor 2021-05-12 14:23:57 +03:00
Viacheslav Klimov
9873115d8b Implement created alarms limiting 2021-05-12 14:23:57 +03:00
nickAS21
a703dead7b
Lwm2m: add Update Fw && Sw (#4557)
* Lwm2m: add Update Fw && Fix bug toLwM2mObject (not add Lwm2mObject without resources)

* Lwm2m: fix bug test

* Lwm2m: fw_update_start

* Lwm2m: fw_update send state

* Lwm2m: add     registration_store_pool_size: "${LWM2M_REGISTRATION_STORE_POOL_SIZE:100}"
               clean_period_in_sec: "${LWM2M_CLEAN_PERIOD_IN_SEC:2}"

* Lwm2m: add Update Execute

* Lwm2m: add Update Execute Successful

* Lwm2m: send state to tningsboard if only Successful
2021-05-11 18:27:35 +03:00
YevhenBondarenko
92719c2ac2 added lwm2m x509 test 2021-05-11 16:32:02 +03:00
Igor Kulikov
5cc3a93cb9 Introduce default dashboard for device profile 2021-05-07 18:25:05 +03:00
Igor Kulikov
3094fb7240 Add customerId to alarm 2021-05-07 16:05:54 +03:00
Andrii Shvaika
4ec25beeb3 LwM2M Integration test 2021-05-06 17:11:24 +03:00
Igor Kulikov
d5b640d602 Add image fields for dashboard and device profile entities. Introduce getAllAlarms and getCustomerAlarms API 2021-05-06 17:01:46 +03:00
Andrii Shvaika
38843c839c Merge with the new data structures 2021-05-06 14:07:29 +03:00
Yevhen Bondarenko
7ca626a086
Created LwM2M credentials (#4546)
* Created LwM2M credentials

* psk endpoint
2021-05-06 13:49:51 +03:00
Andrii Shvaika
38af4d5d2d Implementation of custom L2M2M Authorizer 2021-05-06 13:48:09 +03:00
zbeacon
a4eb2df8ee Fix for device software/firmware response topic 2021-05-06 13:46:10 +03:00
zbeacon
281483121d Merge branch 'master' of https://github.com/thingsboard/thingsboard into feature/firmware-checksum-autogenerating 2021-05-06 11:38:02 +03:00
Andrii Shvaika
7322afac0b Implementation draft 2021-05-05 19:09:15 +03:00
nickAS21
89c1743fa0 Lwm2m: RPC finish 2021-05-05 18:57:15 +03:00
Andrii Shvaika
a8dd25a7c8 merge with master 2021-05-05 17:05:18 +03:00
Andrii Shvaika
c9bdce48a1 Merge with master 2021-05-05 17:00:48 +03:00
nickAS21
50209d91fe Lwm2m: add Write_Update many 2021-05-05 17:00:07 +03:00
Andrii Shvaika
72382a52e3 LwM2M Server refactoring 2021-05-05 12:48:49 +03:00
nickAS21
bacf822f15 Lwm2m: add Write_Update example #1 2021-05-05 11:17:24 +03:00
zbeacon
84944f1f16 Merge branch 'master' of https://github.com/thingsboard/thingsboard into feature/firmware-checksum-autogenerating 2021-05-05 09:27:02 +03:00
Andrii Shvaika
dd5195e8d7 Refactoring of LwM2MTransport 2021-05-04 12:54:31 +03:00
Andrii Shvaika
8a4c0a71ce Reduced warnings 2021-05-04 12:00:16 +03:00
Andrii Shvaika
54543ae4b5 Merge improvements from outdated PR 4527 2021-05-04 11:47:38 +03:00
Andrii Shvaika
8b3e34f0ef Refactoring of LwM2M transport 2021-05-04 10:33:54 +03:00
Andrii Shvaika
a787ca9d5d Refactoring of the lwm2m yml configuration 2021-04-30 16:35:21 +03:00
zbeacon
4843baf7b9 Merge branch 'master' of https://github.com/thingsboard/thingsboard into feature/firmware-checksum-autogenerating 2021-04-30 14:43:10 +03:00
Andrii Shvaika
ff334b5438 Improvements to support large files for firmware updates 2021-04-30 14:22:36 +03:00
Andrii Shvaika
00bd26f1f5 Merge with master 2021-04-30 11:25:56 +03:00
Andrii Shvaika
37891ec6c6 Minor refactoring 2021-04-30 11:14:29 +03:00
YevhenBondarenko
ab10dd4494 implemented software update 2021-04-30 10:58:32 +03:00
YevhenBondarenko
f264aa4330 fixed firmware tests and validation 2021-04-30 10:58:32 +03:00
zbeacon
b45d514b83 Removed unused method for getting supported checksum algorithms 2021-04-30 08:53:00 +03:00
nickAS21
e33420d3a8
Lwm2m: firmwareUpdate (#4516)
* Lwm2m: firmwareUpdate

* Lwm2m: firmwareUpdate with merge master

* Lwm2m: firmwareUpdate cleaned

* Lwm2m: delete Californium.properties

* Lwm2m: merge with master
2021-04-30 08:39:06 +03:00
Sergey Matvienko
5ad113ad1a queue consumer: not going to sleep after pull if time left less then 1 millisecond. topic added to logs 2021-04-29 14:17:46 +03:00
Sergey Matvienko
39f0775766
Thread pool naming CE (#4511)
* added ThingsBoardExecutors and ThingsBoardForkJoinWorkerThreadFactory to define the name for the pool thread

* thread poll named for the AbstractListeningExecutor

* thread poll named for the RestClient. ThingsBoard util dependency added

* most of thread polls named CE

* thread poll name added for telemetry-web-socket-ping

* executors: added custom names for executors (Queue, RuleEngine). Add topic name to the Thread name (useful for JMX and thread dump)

* fixed licence header for a new classes
2021-04-29 14:15:50 +03:00
Viacheslav Klimov
1de97ad0e1 Refactor SNMP devices' sessions establishing 2021-04-29 14:10:01 +03:00
zbeacon
5b1cc8ac33 Merge branch 'master' of https://github.com/thingsboard/thingsboard into feature/firmware-checksum-autogenerating 2021-04-29 09:39:15 +03:00
zbeacon
7a4d302c85 Changes according to comments from @ashvayka 2021-04-29 09:35:02 +03:00
Viacheslav Klimov
3b74a806bc
RPC functionality refactoring for SNMP (#4492)
* Refactor RPC functionality for SNMP

* Refactor

* SNMP response PDU mapping refactoring
2021-04-28 16:40:45 +03:00
ShvaykaD
b34198f30c
refactored CoAP Server component (#4497)
* refactored ce code base needed for coap-integration in pe

* added anotation TbCoapServerComponent on CoapTransportService

* license updated
2021-04-28 16:39:13 +03:00
Andrew Shvayka
e3292e89c1
Merge pull request #4301 from thingsboard/develop/snmp
SNMP Transport
2021-04-28 16:29:13 +03:00
Viacheslav Klimov
79eb1183d9 Request SNMP devices' ids with pagination 2021-04-28 16:25:14 +03:00
Andrii Shvaika
29f404acb1 Adding Device Profile ID to the Firmware to make sure user assigns compatible firmware 2021-04-28 15:31:32 +03:00