User Tools

Site Tools


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
c_api_changes_for_ipv6 [2015/06/08 15:36]
John Light [OCDevAddr changes]
c_api_changes_for_ipv6 [2015/06/08 15:46] (current)
John Light [OCDevAddr changes]
Line 55: Line 55:
     *  GATT address: adapter type GATT.     *  GATT address: adapter type GATT.
   *    The length of the null terminated string is long enough for any possible string.   *    The length of the null terminated string is long enough for any possible string.
-  * The interface in some circumstances disambiguates network interface selection. ​ A zero indicates use of the default interface, which the adapter can usually identify.+  * The interface in some circumstances disambiguates network interface selection. ​ A zero indicates use of the default interface, which the adapter can usually identify.  It is needed when more than one possible network interface is available:​ 
 +    * When two Bluetooth interfaces are available (e.g., bnep0 and bnep1), '​interface'​ identifies which one a particular GATT address applies to. 
 +    * When an IPv6 Link Local address is used and more than one IPv6 interface exists (e.g., eth0 and wlan0), '​interface'​ identifies which interface to use. 
 +    * When only one such interface exists, the default value zero will work. 
 +    * IPv4 can reliably determine the correct interface in all cases. 
 +    * IPv6 can reliably determine the correct interface unless Link Local addressing is used. 
 +    * When in doubt, set it zero, and the adapter will figure it out.
   * The port is only for IP addressing.   * The port is only for IP addressing.
 ==== OCDoResource argument changes ==== ==== OCDoResource argument changes ====
c_api_changes_for_ipv6.txt · Last modified: 2015/06/08 15:46 by John Light