edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QUARKS-99) Improve documentation for IotfDevice
Date Fri, 01 Apr 2016 13:36:25 GMT

    [ https://issues.apache.org/jira/browse/QUARKS-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15221690#comment-15221690
] 

ASF GitHub Bot commented on QUARKS-99:
--------------------------------------

Github user ddebrunner closed the pull request at:

    https://github.com/apache/incubator-quarks/pull/64


> Improve documentation for IotfDevice
> ------------------------------------
>
>                 Key: QUARKS-99
>                 URL: https://issues.apache.org/jira/browse/QUARKS-99
>             Project: Quarks
>          Issue Type: Task
>          Components: Connectors
>            Reporter: Daniel John Debrunner
>            Assignee: Daniel John Debrunner
>
> It's not at all clear form the docs what needs to be passed to the constructor to create
the device.
> It's either a device.cfg file that looks like the one in the scripts/connectors/iotf
> or a set of properties
> https://docs.internetofthings.ibmcloud.com/devices/libraries/java.html
> //Provide the device specific data, as well as Auth-key and token using Properties class
>                   Properties options = new Properties();
>                   options.setProperty("org", "uguhsp");
>                   options.setProperty("type", "iotsample-arduino");
>                   options.setProperty("id", "00aabbccde03");
>                   options.setProperty("auth-method", "token");
>                   options.setProperty("auth-token", "AUTH TOKEN FOR DEVICE");
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message