Project

General

Profile

Task #3117

Android: Device Control Panel Module

Added by Teng Liang over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
08/19/2015
Due date:
% Done:

0%

Estimated time:

Description

Implement a device control panel UI with the following functionalities

Express an access token info request "/home/controller/<deviceName>/user/<username>/accessTokenList". Variable <deviceName> doesn't contain "home" component, e.g., <deviceName> = "/sensor/LED/1"

a. A list of access token info is sent back in JSON format (e.g., [<Access Token Info1>,<Access Token Info2>,...]). <Access Token Info> contains keys 'command','commandTokenSequence','seedSequence','accessToken','accessTokenName'.
b. Interest times out, display the message "can't connect to controller"

Each device control panel is customized. This task implements a LED control panel
Command interest is constructed in /<deviceName>/<command> format, e.g., "/home/sensor/LED/1/turnOn"

All command interests/data should use the corresponding access token, while other interests and data should use key derived from <password>

History

#1

Updated by Teng Liang over 4 years ago

  • Description updated (diff)

Also available in: Atom PDF