ros_type_instrospection will be using the format of xxx.0, xxx.1, xxx.2 and xxx.<number of array> as keys to describe the array data type. Currently we didn't do any special handling and once it is passed to device twin, it may cause bad request 400 error, because device twin doesn't support key with dots.
This pull request is to skip this data types to avoid the bad request error.
ros_type_instrospection
will be using the format ofxxx.0
,xxx.1
,xxx.2
andxxx.<number of array>
as keys to describe the array data type. Currently we didn't do any special handling and once it is passed to device twin, it may cause bad request 400 error, because device twin doesn't support key with dots.This pull request is to skip this data types to avoid the bad request error.
For the more proper implementation, we should consider to construct a JSON proper structure. https://github.com/microsoft/ros_azure_iothub/issues/29