496 Commits

Author SHA1 Message Date
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
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
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
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
YevhenBondarenko
ab10dd4494 implemented software update 2021-04-30 10:58:32 +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
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
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
7edcc605e9 Firmware CoAP and transport improvement 2021-04-28 13:53:56 +03:00
Andrii Shvaika
edc993427e CoAP support for firmware updates 2021-04-28 13:03:24 +03:00
YevhenBondarenko
aee3fd3b6e FirmwareCache refactoring 2021-04-28 11:29:04 +03:00
YevhenBondarenko
1850024fdb implemented firmware update for the coap transport 2021-04-28 10:26:16 +03:00
Viacheslav Klimov
47994e1a66 Merge branch 'master' into master-to-snmp
# Conflicts:
#	application/src/main/java/org/thingsboard/server/service/transport/DefaultTransportApiService.java
#	common/queue/src/main/proto/queue.proto
#	common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java
#	common/transport/transport-api/src/main/java/org/thingsboard/server/common/transport/TransportContext.java
#	dao/src/main/java/org/thingsboard/server/dao/device/DeviceServiceImpl.java
2021-04-26 13:37:39 +03:00
nickAS21
5f8a9e9f67
Lwm2m rpc (#4473)
* Lwm2m: RPC_terminal

* Lwm2m: RPC_terminal del two file

* Lwm2m: RPC_terminal add test observe

* Lwm2m: RPC_terminal add test delete
2021-04-23 16:56:24 +03:00
Andrii Shvaika
a9e83b484f Merge branch 'feature/firmware' of https://github.com/YevhenBondarenko/thingsboard into YevhenBondarenko-feature/firmware 2021-04-23 12:24:59 +03:00
YevhenBondarenko
c9439b3976 created created firmware queue 2021-04-23 10:17:51 +03:00
Andrii Shvaika
53bf6af23b Merge branch 'master' of github.com:thingsboard/thingsboard into feature/firmware 2021-04-22 15:52:08 +03:00
Viacheslav Klimov
030d80d05a CustomerId to TbMsg and SessionInfo 2021-04-22 13:15:19 +03:00
Andrii Shvaika
0ff4e6ac0d Improvements to the TbMsg to support CustomerId 2021-04-22 13:15:19 +03:00
Viacheslav Klimov
f89b30777e Initial implementation for per-customer api usage stats 2021-04-22 13:15:19 +03:00
Andrii Shvaika
279e221523 Merge with master 2021-04-22 10:55:57 +03:00
Andrew Shvayka
07aefe533a
Merge pull request #4380 from YevhenBondarenko/develop/3.3-firmware
[WIP] feature firmware
2021-04-22 10:35:29 +03:00
YevhenBondarenko
75fe679bab MqttTransportHandler improvements 2021-04-22 08:16:17 +03:00
YevhenBondarenko
f55f0ecb94 implemented firmware update for the http and mqtt transports 2021-04-21 19:56:09 +03:00
Viacheslav Klimov
a1e4bbbb31 Implement RPC for SNMP; refactor 2021-04-21 07:38:24 +03:00
Viacheslav Klimov
783b959577 Refactor 2021-04-21 07:38:15 +03:00
Viacheslav Klimov
415bf570ba Refactor 2021-04-21 07:38:06 +03:00
Viacheslav Klimov
e52ac96c62 Implement SNMP v3 security support, remove traps support 2021-04-21 07:38:01 +03:00
Viacheslav Klimov
3c1682f57a Merge branch 'master' into master-to-snmp
# Conflicts:
#	common/data/pom.xml
#	common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java
#	dao/src/main/java/org/thingsboard/server/dao/sql/device/DeviceRepository.java
#	ui-ngx/src/app/shared/models/device.models.ts
2021-04-20 18:08:10 +03:00
ShvaykaD
321fb731a6
Support of server-side RPC requests via protobuf for CoAP and MQTT
* rpc response schema added

* rpc request proto

* fixed device profile validation

* fix error messages
2021-04-20 11:14:27 +03:00
nickAS21
51b0d50542
Lwm2m discovery (#4438)
* Lwm2m: fix bug delete zero updateAttribute

* Lwm2m: front add select binding

* Lwm2m: discovery only for test

* Lwm2m: remove type_cast_enabled from the main branch.

* Lwm2m: remove type_cast_enabled from the main branch.

* Lwm2m: remove type_cast_enabled from the main branch.

* Lwm2m: remove double code.
2021-04-20 10:44:11 +03:00
nickAS21
4a6e0c7aae
Lwm2m fix bug 19 (#4422)
* lwm2m: back: Write Attributes - start

* lwm2m: front: fis bug disable instances

* lwm2m: transport: attr/discavery start

* lwm2m: transport: attributeLwm2m after update profile

* lwm2m: transport: attributeLwm2m after update profile (no delete attribute)

* Lwm2m: back: test

* Lwm2m: back: test2

* Lwm2m: back: test3

* Lwm2m: transport fix bug Write attribute through the shared attribute does not work for Object 19
2021-04-16 12:12:11 +03:00
nickAS21
d6979e54da
lwm2m: back: Write Attributes - start (#4402)
* lwm2m: back: Write Attributes - start

* lwm2m: front: fis bug disable instances

* lwm2m: transport: attr/discavery start

* lwm2m: transport: attributeLwm2m after update profile

* lwm2m: transport: attributeLwm2m after update profile (no delete attribute)

* Lwm2m: back: test

* Lwm2m: back: test2

* Lwm2m: back: test3
2021-04-15 11:53:45 +03:00
Igor Kulikov
168b8d86eb
Merge pull request #4368 from YevhenBondarenko/develop/3.3-lwm2m-queue-mode
lwm2m queue mode
2021-04-14 15:55:18 +03:00
Igor Kulikov
54ba69a82c Fix code style issues 2021-04-13 13:09:19 +03:00
Igor Kulikov
29f64d9380 Update banner. Fix lwm2m transport jks config path 2021-04-13 11:49:15 +03:00