User Tools

Site Tools


common_resources

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
common_resources [2017/05/03 12:45]
신재 이 [Resource Interface]
common_resources [2017/08/04 15:11] (current)
Mats Wichmann
Line 26: Line 26:
   * OCSetDeviceInfo - A function that sets device information   * OCSetDeviceInfo - A function that sets device information
  
-It is used like so:+It is used like this:
 <​code>​ <​code>​
   OCStackResult OCSetDeviceInfo(OCDeviceInfo deviceInfo);​   OCStackResult OCSetDeviceInfo(OCDeviceInfo deviceInfo);​
Line 51: Line 51:
   * Data model version.   * Data model version.
  
-Like the C API, the device name is the only mandatory field, all others are optional. It's a wrapper that uses OCSetDeviceInfo internally to store the device information. Here's an example of how it'​s ​used+Like the C API, the device name is the only mandatory field, all others are optional. It's a wrapper that uses OCSetDeviceInfo internally to store the device information. Here's an example of how it is used:
  
 <​code> ​ <​code> ​
Line 76: Line 76:
 IoTivity supports the following resource types: IoTivity supports the following resource types:
  
-^ Resource Type Name ^  Resource type value^ +^ Resource Type Name ^ Resource type value ^ 
-| Device ​ | oic.wk.d|+| Device ​ | oic.wk.d |
 | Platform | oic.wk.p | | Platform | oic.wk.p |
 | Discovery | oic.wk.res | | Discovery | oic.wk.res |
common_resources.txt · Last modified: 2017/08/04 15:11 by Mats Wichmann