Hey Nobuyuki,
Thanks for the reply. I can use FlexContainer as a generic resource type for AllJoyn* resource types, however, there are places where restriction on child resource type exist, like only AllJoynSvcObject can be a child resource for AllJoynApp. Using FlexContainer resource type to check would violate this check as many other resource types come under the same umbrella.
Also, for resource types like Battery, or any other mgmtObj types, there are no enum values. MgmtObj type can again be used in this, but what happens in case of checking for valid child resources of Node resource, Battery is valid while CmdhLimits is not.
Unless I'm missing something, I think the conditions are being violated here.
Regards,
Rishabh Jain
> On 25-Jul-2017, at 7:19 AM, Nobuyuki Uchida <[log in to unmask]> wrote:
>
> Hi Rishabh,
>
> Those are <flexContainer> resource specializations, not resource types. We just use <flexContainer> resource type enum value (28) for those.
>
> Nobu
>
> -----Original Message-----
> From: oneM2M Technical Questions [mailto:[log in to unmask]] On Behalf Of Rishabh Jain
> Sent: Monday, July 17, 2017 8:54 PM
> To: [log in to unmask]
> Subject: Missing Enum Values for Resource Type
>
> For AllJoyn and OneM2M inter-networking, there were a few resource specs introduced in Rel 2. However, there are no Enum values associated with them under ResourceTypes enum (for e.g. AllJoynApp, AllJoynInterface). Logically my understanding is that for every type of resource, there has to be an associated value under ResourceType enum.
>
> Need help with this
>
> ########################################################################
>
> To unsubscribe from the oneM2M_TechQuestions list, click the following link:
> http://list.etsi.org/scripts/wa.exe?SUBED1=oneM2M_TechQuestions&A=1
>
> ########################################################################
>
> To unsubscribe from the oneM2M_TechQuestions list, click the following link:
> http://list.etsi.org/scripts/wa.exe?SUBED1=oneM2M_TechQuestions&A=1
########################################################################
To unsubscribe from the oneM2M_TechQuestions list, click the following link:
http://list.etsi.org/scripts/wa.exe?SUBED1=oneM2M_TechQuestions&A=1
|