User Tools

Site Tools


webos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
webos [2018/07/02 06:48]
Sungmok Shin
webos [2019/01/09 11:15] (current)
Jonghen Han [Execute sample web app]
Line 325: Line 325:
  
 If the command returns true, then sample app is launched. If the command returns true, then sample app is launched.
 +Also press WINDOW key and select IoTivity Sampler menu to start sample app.
  
-{{:webos_sample_webapp.png?1000|}} +{{:server01.jpg?1000|}}
 Start server with START SERVER button. Start server with START SERVER button.
-{{:​webos_sample_webapp_server.png?​1000|}} ​ 
  
-Create new resources to fill input items and to click CREAT RESOURCE button. +{{:server02.jpg?1000|}} 
-{{:webos_sample_webapp_server2.png?1000|}} +Notes: ​ this sample app includes a cbor format file for sample server. It has 1 resource ​such as /binaryswitchCTT tester can change RFOTM by pressing ​the RFOTM button. The initial setting is RFNOP. 
-Notes: ​ this sample app includes a cbor format file for sample server. It has 2 resources ​such as /a/fan and /a/lightIn order to create ​the other resources with this app, the included cbor file should be replaced with your own new cbor file.+ 
 +Change ​the value of /​binaryswitch resource to press TRUE/FALSE button. 
 +{{:​server3.jpg?​1000|}} 
 +{{:​server4.jpg?​1000|}}
  
 Discover resources with DISCOVER RESOURCE button in UI for client role. Discover resources with DISCOVER RESOURCE button in UI for client role.
 The devices including the discovered resources will be listed by address and port like:  The devices including the discovered resources will be listed by address and port like: 
-{{:webos_sample_webapp_client.png?1000|}}+{{:client_discover.jpg?1000|}} 
 +Note: The WebOS uses dynamic services, but CTT requires that the service be alive. By pressing the Client service always on button, client can create static service.
  
-Check the detailed resources information to select a device from the list. You can get, delete, and observe a resource with the resource URI and question+Check the detailed resources information to select a device from the list. You can get, delete, and observe a resource with the resource URI. 
-{{:webos_sample_webapp_client2.png?1000|}}+{{:client_discover_result.jpg?1000|}}
  
 The response from the server is displayed in the UI as follows: The response from the server is displayed in the UI as follows:
-{{:webos_sample_webapp_client3.png?1000|}}+{{:client_get_result.jpg?1000|}}
 Result of GET RESOURCE Result of GET RESOURCE
-{{:webos_sample_webapp_client4.png?1000|}} +{{:client_observe.jpg?1000|}} 
-Result of OBSERVE RESOURCE  +Result of OBSERVE RESOURCE 
 +{{:​client_observing.jpg?​1000|}} 
 +Changed value notified 
 +{{:​client_cancel_result.jpg?​1000|}} 
 +Result of CANCEL OBSERVE RESOURCE 
 +{{:​client_post.jpg?​1000|}} 
 +Enable input to POST RESOURCE 
 +{{:​client_post_key.jpg?​1000|}} 
 +{{:​client_post_value.jpg?​1000|}} 
 +{{:​client_post_result.jpg?​1000|}} 
 +Result of POST RESOURCE
 ===== Customize Build Option ===== ===== Customize Build Option =====
  
webos.1530514098.txt.gz · Last modified: 2018/07/02 06:48 by Sungmok Shin