Browse Source

Lwm2m: back: test bug git3

pull/4084/head
nickAS21 5 years ago
committed by Andrew Shvayka
parent
commit
de0b96ade0
  1. 7
      common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/server/LwM2MTransportServiceImpl.java

7
common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/server/LwM2MTransportServiceImpl.java

@ -741,7 +741,12 @@ public class LwM2MTransportServiceImpl implements LwM2MTransportService {
(String) this.converter.convertValue(resourceValue.getResourceValue(), this.context.getCtxServer().getResourceModelType(lwM2MClient.getRegistration(), pathIds), ResourceModel.Type.STRING, pathIds);
}
/**
*
* @param lwM2MClient -
* @param pathIds -
* @return - return value of Resource by idPath
*/
private ResourceValue returnResourceValueFromLwM2MClient(LwM2MClient lwM2MClient, LwM2mPath pathIds) {
ResourceValue resourceValue = null;
if (pathIds.isResource()) {

Loading…
Cancel
Save