Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
iotivity-lite
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 41
    • Issues 41
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 12
    • Merge Requests 12
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • IoTivity
  • iotivity-lite
  • Issues
  • #26

Closed
Open
Opened Nov 22, 2019 by Rami Alshafi@ramiOwner

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: iotivity/iotivity-lite#26