Skip to content

akira-sasaki/DeviceConnect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About DeviceConnect WebAPI

"DeviceConnect WebAPI" is WebAPI which operates as a virtual server on a smart phone. It can use easily various wearable devices and an IoT device by unific description from a web browser or an application.

Example for Android

Updated some package names of the sample for Android at 2014/10/15. Please reinstall by following procedure if you would check this sample again.

  1. Delete files that are related to the demoWebSite.zip on internal storage. 
  2. Uninstall a APK of old Manager and plugins. 
  3. Choose "CLEAR BROWSING DATA..." in "history" on Chrome Browser menu. 
  4. Choose "Clear" button with "Clear the cache" check box. 
  5. Refer to the procedure for "Example for Android" in "Readme.md".

1.Make this Folder to Android's internal Storage.

Android root
   └── mnt
       └── sdcard
           └── dConnect
                └── demoWebSite

2.Access the internal file URI with Chrome browser.

  e.g. "file:///storage/emulated/0/dConnect/demoWebSite/index.html"

3.Install the Manager APK and the Android Host APK from "Download APK". If you have other supported gadgets , install other APKs.

4.Go back to the top page.

5.Try the prototype GotAPI behavior from "Launch UI-App".

##About access from the external devices

By adding the parameter of the IP address to the demoWebSite URL, can control the external device by DeviceConnect WebAPI at a local network. However, the following settings are required for terminal on the operation side.

*Please do not use at network that can not be trusted because there is a security risk.

  1. By the procedure as above , set up the DeviceConnect WebAPI to the terminal of the operation target.

  2. Start the DeviceConnectManager from the launcher of Android,and turn off the slide toggle for DeviceConnectManager service.

  3. Enable "Allow External IP" checkbox, and turn on the slide toggle for DeviceConnectManager service.

  4. Add the IP address of the operation target in URL of demoWebSite on the operation side terminal.

 e.g. "file:///C:/demoWebSite/demo/index.html?ip=192.168.13.3"

#Supported devices

Manufacturer Product name Device type Plug-in Remarks
SONY SmartWatchMN2 Watch MN2/SW2 Need the app launch on SmartWatch
SONY SmartWatchSW2 Watch MN2/SW2 Need the app launch on SmartWatch
Orbotix Sphero 2.0 Toy Sphero
Game Technologies DICE+ Toy DICE+ Need the firmware for development
Philips hue Light hue
Philips Bloom Lamp Light hue
Philips LightStrips Light hue
IRKit IRKit Infrared remote control IRKit
Epson Moverio BT-200 Glasses Android Host The future works; Support the extension
Vuzix M100 Smart Glass Glasses Android Host The future works; Support the extension
WESTUNITIS Inforod Glasses Android Host The future works; Support the extension
SONY DSC-QX100 Camera SonyCamera
SONY DSC-QX10 Camera SonyCamera
Pebble Pebble Watch Pebble
- Android Ver4.0 Android Android Host
LG G Watch Android Wear Wear Provisional support
Samsung Gear Live Android Wear Wear Provisional support
Google ChromeCast ChromeCast Chromecast Need to register the Receiver Apps and device on Google Cast SDK Developer Console.
AND UA-767PBT-C Sphygmomanometer mHealth
AND UA-851PBT-C Sphygmomanometer mHealth
AND TM-2656VPM Sphygmomanometer mHealth
AND UC-321PBT-C Weight scale mHealth
OMRON HEALTHCARE HBF-206IT Body composition monitors mHealth
OMRON HEALTHCARE HHX-IT1 Activity meter mHealth
AND UA-772 Sphygmomanometer mHealth
AND UW201 Activity meter mHealth
OMRON HEALTHCARE HEM-7250IT Sphygmomanometer mHealth In preparation
OMRON HEALTHCARE HBF-208IT Body composition monitors mHealth In preparation
OMRON HEALTHCARE HBF-215IT Body composition monitors mHealth In preparation
ESTERA FS-500 Pedometer mHealth
ESTERA FS-700 Activity meter mHealth
YAMASA EX-950 Pedometer mHealth
TERUMO MS-FRV01 Blood glucose meter mHealth In preparation
TERUMO MT-KT02DZ Walking intensity meter mHealth In preparation
TERUMO C215 Thermometer mHealth In preparation
TERUMO ES-H700D Sphygmomanometer mHealth In preparation
TERUMO ZS-NS05 Pulse Oximeter mHealth In preparation
TERUMO WT-B100DZ Body composition monitors mHealth In preparation
Polar H7 Heart rate meter mHealth
Mio Global Mio Alpha Heart rate meter mHealth

About

DeviceConnect WebAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 60.8%
  • Java 37.8%
  • C 0.5%
  • CSS 0.3%
  • JavaScript 0.3%
  • Mercury 0.2%
  • Other 0.1%