Thanks, created https://jira.iotivity.org/browse/IOT-1096 to track this in IoTivity. -Todd
-----Original Message----- From: Macieira, Thiago Sent: Monday, May 16, 2016 1:36 PM To: iotivity-dev at lists.iotivity.org Cc: Malsbary, Todd <todd.malsbary at intel.com> Subject: Re: [dev] Capital letters in resource type names On segunda-feira, 16 de maio de 2016 20:21:44 PDT Malsbary, Todd wrote: > Hello, > > I noticed that IoTivity fails to create a resource if the resource > type name includes a capital letter. The log message says "resource > type illegal (see RFC 6690)", and sure enough upper case is excluded there in > section 2. > However, some of the released models on oneiota.org (such as > oic.r.sensor.atmosphericPressure http://oneiota.org/revisions/451) > include upper case letters in the name. > > Is the bug in IoTivity or the model definition? I'd say it's a bug in the model. However, the RFC only talks about registered resources, so IoTivity should allow registration of mixed case resources, as it could be bridging to other networks that don't have the same constraint. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
