Hi list,

I just spent about two days discovering that my code wasn't working because
of this code in octypes.h, defn of OCDevAddr struct:

#if defined (ROUTING_GATEWAY) || defined (ROUTING_EP)
    char                    routeData[MAX_ADDR_STR_SIZE]; //destination
GatewayID:ClientId
#endif

#if defined (ROUTING_GATEWAY) || defined (ROUTING_EP) occurs in other
places but this one affects client code.

1.  Is it the case that one or the other of these macros must be defined?

2.  Since the build system defaults to ROUTING_EP, this kind of code looks
like a bug.  Is it?

3.  It looks to me like client build code should not need to specify a
routing mode.  True?

thanks,

gregg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160915/906819f2/attachment.html>

Reply via email to