Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Conversation

@m-chau
Copy link
Contributor

@m-chau m-chau commented Apr 28, 2017

A fix for #236.


this.controlId = deviceInfo.deviceInfo.opent2t.controlId;
this.uuid = deviceInfo.deviceInfo.opent2t.uuid;
console.log("Translator:"+JSON.stringify(deviceInfo.deviceInfo));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this console.log. if you need to log, use the logger

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.


In reply to: 114233414 [](ancestors = 114233414)

*/
postDeviceResource(di, resourceId, payload) {
if (di === generateGUID( this.controlId + 'oic.d.smartplug' )) {
console.log(this.uuid + ":" + generateGUID( this.uuid + 'oic.d.smartplug' ));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use the logger

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.


In reply to: 114233427 [](ancestors = 114233427)

@arjun-msft
Copy link
Contributor

arjun-msft commented May 2, 2017

:shipit:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants