Upper limit of IDD size in Lite is too low
It seems that Lite is not able to handle Introspection Device Data that is greater than 16 KB in size.
Attached are logs logcat logs from IUTSimulator running on android. The original size of IDD is over 16 KB. When a client requests /oc/intrsopection resource, Lite responds with a 5.00 error and in the logcat you can see the following entries:
11-22 16:05:34.026 31916 32231 D ../../api/oc_introspection.c <oc_core_introspection_data_handler:65>: in oc_core_introspection_data_handler
11-22 16:05:34.027 31916 32231 E ../../api/oc_introspection.c <oc_core_introspection_data_handler:91>: oc_core_introspection_data_handler : 16384 is too big for buffer 16384
To make it work, I replaced all "description" fileds in the original IDD with empty strings, however the de device included only 4 resources. IDD for more complex devices definately would be greater in size than 16 KB.
JIRA migration meta data
- JIRA Issue ID: LITE-103
- Reporter: krzysztof.j.wlodarczyk
- Assignee: kmaloor
- Creator: krzysztof.j.wlodarczyk
- Created at: 2019-11-22T08:16:25.000-0800
- Found in Version: master
- Fix in Version: None
- Issue Severity: Major
- Reproducibility: Always (100%)
- Operating System: Android
- Hardware/ OEM Platform: None
- External URL: None
- Bugzilla ID: None
- Product: None
- Status: Done
- Components: base stack
- Priority: Undecided
- Due Date: None
-
Issue Type: Bug
END of JIRA migration meta data