User Tools

Site Tools


the_c_api_changes_for_ipv6

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
the_c_api_changes_for_ipv6 [2015/05/21 15:52]
John Light [New definition for OCConnectivityType]
the_c_api_changes_for_ipv6 [2015/05/21 15:53] (current)
John Light [New definition for OCConnectivityType]
Line 6: Line 6:
   * Slightly broken Subscribe   * Slightly broken Subscribe
 ==== New definition for OCConnectivityType ==== ==== New definition for OCConnectivityType ====
-The only place OCConnectivityType is used in the C++ API is in OCPlatform::​findResource and OCPlatform::​findDevice. ​ For those methods, only the information from OCTransportFlags is needed since the adapter type is not needed or used for discovery. ​ See the new definition of OCConnectivity in [[C API changes for IPv6]].+The only place OCConnectivityType is used in the C++ API is in OCPlatform::​findResource and OCPlatform::​findDevice. ​ For those methods, only the information from OCTransportFlags is needed since the adapter type is not needed or used for discovery. ​ See the new definition of OCConnectivity in [[C API changes for IPv6#​OCConnectivityType]].
 ==== Limitation on OCResource get, put, post, observe calls ==== ==== Limitation on OCResource get, put, post, observe calls ====
 In the past, a value in the url argument of get, put, etc. methods of OCResource could be used to set the network target of those methods. ​ This was not documented, but it is used in some examples, leading to some confusion for developers. ​ The new C++ API eliminates this capability for two reasons: In the past, a value in the url argument of get, put, etc. methods of OCResource could be used to set the network target of those methods. ​ This was not documented, but it is used in some examples, leading to some confusion for developers. ​ The new C++ API eliminates this capability for two reasons:
the_c_api_changes_for_ipv6.txt ยท Last modified: 2015/05/21 15:53 by John Light