In ocstack.h the CA connectivity types are defined:

typedef enum {
    OC_ETHERNET = 0,
    OC_WIFI,
    OC_EDR,
    OC_LE,
    OC_ALL //Multicast message: send over all the interfaces.
} OCConnectivityType;

Shouldn't this be defined more like

typedef enum {
    OC_ETHERNET = 1,
    OC_WIFI = 2,
    OC_EDR = 4,
    OC_LE = 8,
    OC_ALL = 0xfffffffff,  //Multicast message: send over all the interfaces.
    OC_DEFAULT = 2         // used for FindResource
} OCConnectivityType;

OC_ALL is interesting, but I should be able to pick just EDR and WIFI.  Of 
course, this will also affect the underlying plumbing.

John Light
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150130/10208cf2/attachment.html>

Reply via email to