SENSIDL-PROJECT / SensIDL

A generic framework for implementing sensor communication interfaces
http://sensidl-project.github.io/SensIDL/
Eclipse Public License 1.0
2 stars 0 forks source link

Bluetooth LE with GATT Profile Adjustments #65

Closed SvenEckhardt closed 8 years ago

SvenEckhardt commented 8 years ago

See #22: Adjust Generators and Model for the communication protocol. Necessary Adjustments are:

SvenEckhardt commented 8 years ago

These Changes are already made in the Meta model and in the Grammar. Furthermore the Java Genenerator was updated to fit these changes. The other generators (C, CSharp and JavaScript) still need to be updated to fit the Grammar changes

pawelbielski commented 8 years ago
  1. generate Methods stubs (DONE): In C the visibility of fields and methods is not defined. That is why the method stubs are defined without prefix.
  2. generate Lists (PARTLY DONE): Since the C language does not provide support for dynamic lists by default, the length of the list could be defined explicitly in *.sidl file ( static list ) or a linked list could be implemented ( dynamic list ). In the second case, several extra functions have to be implemented for manipulation of the list. The functionality for the lists should be defined in order to implementd appriopriate functions.
  3. use more datasets via "uses" (DONE): Multiple datasets have the same functionality as in Java generators.
  4. make getter and setter excludable (DONE): Excludable getter/setter methods has now the same functionality as in Java generators.