277 Commits

Author SHA1 Message Date
nickAS21
87874c3eb6 Merge branch 'master' into lwm2m_create_coap_resource
# Conflicts:
#	ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.html
2021-06-06 21:50:31 +03:00
nickAS21
6fbd34d6a1 LWM2M: firmwareUpdate & coapRecourse 2021-06-06 21:46:30 +03:00
Igor Kulikov
6cd7e3df4b
Merge pull request #4651 from vvlladd28/improvement/device-profile/lwm2m
UI: Refactoring device profile transport
2021-06-04 19:16:12 +03:00
nickAS21
3d8d0305f0 Merge branch 'master' into lwm2m_create_coap_resource 2021-06-04 16:27:34 +03:00
nickAS21
36c7008104 LWM2M: front add Firmware/Software update strategy 2021-06-04 16:26:44 +03:00
Vladyslav_Prykhodko
6b63d336dd Merge remote-tracking branch 'upstream/master' into improvement/ota-updates/select 2021-06-04 10:19:08 +03:00
Andrew Shvayka
ecb2efdabd
Merge pull request #4681 from YevhenBondarenko/feature/ota-limits
created data limits for resources and otaPackages, added url for the otaPackage
2021-06-04 09:27:47 +03:00
YevhenBondarenko
43b4f4461d created data limits for resources and otaPackages, added url for the otaPackage 2021-06-03 18:34:39 +03:00
Andrii Shvaika
04ec8489ec Merge branch 'feature/alarms-ttl' of https://github.com/ViacheslavKlimov/thingsboard 2021-06-03 16:33:27 +03:00
Vladyslav_Prykhodko
fa3bbb2851 UI: And confirm dialog after change ota package in device profile 2021-06-02 19:03:31 +03:00
Vladyslav_Prykhodko
874f5e8448 UI: Rename firmware to OtaPackage 2021-05-31 18:15:31 +03:00
Viacheslav Klimov
6c6f9b20ae Alarms TTL UI 2021-05-31 14:59:17 +03:00
Vladyslav_Prykhodko
ad68aa6d48 UI: Refactoring device profile transport LwM2M 2021-05-28 16:50:58 +03:00
Vladyslav_Prykhodko
1b2a259191 UI: Add unsubscribe to device profile transport type 2021-05-28 16:46:03 +03:00
Vladyslav
ac95291418
Merge pull request #4525 from vvlladd28/improvement/lwm2m/rename-tab
UI: Rename LWM2M tab name
2021-05-12 21:21:45 +03:00
Viacheslav Klimov
1c1e3f9b96 Refactor 2021-05-12 14:23:57 +03:00
Viacheslav Klimov
6b769f17a1 Created alarms limiting UI 2021-05-12 14:23:57 +03:00
Igor Kulikov
5cc3a93cb9 Introduce default dashboard for device profile 2021-05-07 18:25:05 +03:00
nickAS21
0f15033739
Lwm2m: fix bug add new instance (#4554)
* Lwm2m: fix bug add new instance

* Lwm2m: add KeyName default with instanceId
2021-05-07 16:05:48 +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
Vladyslav_Prykhodko
fc837f3f1b UI: Rename LWM2M tab name 2021-04-30 12:50:40 +03:00
Andrii Shvaika
00bd26f1f5 Merge with master 2021-04-30 11:25:56 +03:00
Vladyslav_Prykhodko
fd8dee0a9d UI: Add firmware type 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
Vladyslav
9dcb7b9b5b
UI: Refactoring for the build rule node ui (#4460)
* UI: Refactoring LWM2M; fixed build ui rule node

* UI: Refactoring LWM2M security config
2021-04-29 18:25:38 +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
Andrii Shvaika
279e221523 Merge with master 2021-04-22 10:55:57 +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
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
Vladyslav_Prykhodko
e31a95619c UI: Added firmware autocomplete component; Add firmware to device and device profile 2021-04-13 15:10:13 +03:00
Viacheslav Klimov
a00e3be7ba Merge branch 'master' into master-to-develop-snmp
# Conflicts:
#	common/dao-api/src/main/java/org/thingsboard/server/dao/device/DeviceService.java
#	common/data/src/main/java/org/thingsboard/server/common/data/device/profile/DeviceProfileTransportConfiguration.java
#	common/transport/coap/src/main/java/org/thingsboard/server/transport/coap/CoapTransportService.java
#	common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/server/LwM2mTransportServiceImpl.java
#	common/transport/transport-api/src/main/java/org/thingsboard/server/common/transport/SessionMsgListener.java
#	dao/src/main/java/org/thingsboard/server/dao/device/DeviceDao.java
#	dao/src/main/java/org/thingsboard/server/dao/device/DeviceServiceImpl.java
#	pom.xml
2021-04-12 15:45:39 +03:00
nickAS21
c634859e90
lwm2m: front start add attributes Lwm2m (#4388)
* lwm2m: front start add attributes Lwm2m

* lwm2m: front finish add attributes Lwm2m for resources

* lwm2m: front add attributes Lwm2m for resources if isAttribte or isTelemetry

* lwm2m: front add attributes Lwm2m for objects if isAttribte or isTelemetry

* lwm2m: back add resource one

* lwm2m: back fix bug resource controller test
2021-04-12 13:16:43 +03:00
Volodymyr Babak
df6f4c9924 Merge remote-tracking branch 'upstream/master' into develop/3.3-edge 2021-04-09 19:04:26 +03:00
Volodymyr Babak
7044e3e40f Merge remote-tracking branch 'upstream/master' into develop/3.3-edge 2021-03-30 19:35:58 +03:00
nickAS21
23373b055e lwm2m: front fix bug profile updateObserve 2021-03-29 11:13:26 +03:00
nickAS21
8b23bd999f lwm2m: front fix bug create profile lwm2mConfig default 2021-03-27 07:37:58 +02:00
nickAS21
156c8cc287 lwm2m: front fix bug create profile lwm2mConfig 2021-03-26 16:34:20 +02:00
nickAS21
0710d272a1 lwm2m: front fix bug create device lwm2mConfig default 2021-03-26 12:34:36 +02:00
Andrii Shvaika
32e8ee11bd Merge with develop/3.3 2021-03-24 18:17:50 +02:00
nickAS21
bc21db007b
Lwm2m add resource fix (#4272)
* lwm2m: add objectKeyId to back and front profile

* lwm2m: front^ strategy - select

* lwm2m: back fix bag

* lwm2m: back fix bag2

* lwm2m: back fix bag3
2021-03-19 15:55:10 +02:00
Igor Kulikov
e17de056c2 Merge with master 2021-03-19 12:16:43 +02:00
nickAS21
0aad16c599 lwm2m: front^ strategy - select 2021-03-19 11:28:40 +02:00
nickAS21
201476f912 lwm2m: add objectKeyId to back and front profile 2021-03-19 11:28:40 +02:00
Igor Kulikov
1e8fc7086b Device profile import/export support 2021-03-19 10:07:26 +02:00
Igor Kulikov
3ed49e3f02 Add timezone support for timewindow 2021-03-17 18:38:57 +02:00
ShvaykaD
c5c8fbd3f7
[3.2.2] [WIP] coap transport (#4239)
* init CoapDeviceProfile & added ui components

* added transport payload type configuration for default coap device type

* added AbstractCoapTransportResource & updated efento resource

* fixed coap device profile save & update

* fixed Attribute Updates notifications

* revert CoapOkCallback onSuccess changes

* updated provision request to handle proto payload type

* fix license

* updated Rpc subscribe/unsubscribe action

* add more device emulator clients

* added fix for Coap Transport: ability to handle requests with oneElementUriPaths and MultiElementUriPaths

* fix TbCoapServer implementation

* changed response type to CREATED in POST requests

* improved implementation

* fix typos

* minor bug-fixes & improvements

* fix TbCoapServerMessageDeliverer class

* improved relay sensor implementation

* added tests for CoAP transport\

* fix typo

* removed nosql tests

* fix coap endpoint creation & improved getAttributes tests

* transport tests refactoring
2021-03-15 18:18:45 +02:00
Viacheslav Klimov
44c1cbcbc0 Merge remote-tracking branch 'thingsboard/develop/3.3' into develop/snmp
# Conflicts:
#	application/pom.xml
#	application/src/main/resources/thingsboard.yml
#	common/transport/pom.xml
#	msa/transport/pom.xml
#	pom.xml
#	transport/pom.xml
#	ui-ngx/src/app/modules/home/components/home-components.module.ts
#	ui-ngx/src/app/modules/home/components/profile/device/device-profile-transport-configuration.component.html
#	ui-ngx/src/app/shared/models/device.models.ts
2021-03-10 15:22:03 +02:00
vkukhtyn
5a72479951
[WIP] SNMP initial implementation (#3755)
* Add SNMP type to transport profiles

* Update reference config for transport profiles

* Initial implementation to retrieve a value using SNMP GET message

* Fix license header

* Move config files

* Use async handler for SNMP response

* Send SNMP agent response to attributes and telemetry

* UI: add SNMP option for device profile

* UI: use JSON field to set SNMP profile configuration

* Handle device profile update event

* Use concurrent hash map for SNMP device sessions

* UI: Add device transport configuration control

* Cancel async request to avoid memory leak and timeout handling

* Start SNMP pooling after application started

* Move OID per profile mapping to SNMP transport context

* Fix build after merge with 3.2.1-SNAPSHOT

* Init device sessions on TB start

* Fix build error, refactoring

* Update session context on device update

* Set device info on session context creating

* Refresh pooling params on device or profile update

* Update license header

* Process device and profile transport config update

* Process SNMP response asynchronously

* Change polling implementation
2021-03-10 14:56:25 +02:00