Mapping Between CAPS Software Architecture Modeling Language SAML

Mapping Between CAPS Software Architecture Modeling Language (SAML) to Thing. ML Language using Acceleo Code Generator Students: Ithar Saleh Rami Ilaiwi Yara Shanaa Supervisor: Mohammad Sharaf

Outline • Internet of things. • CAPS Framework. • Thing. ML language and code generator Framework. • Acceleo code generator. • Mapping and converting from CAPS to Thing. ML. • CSA-CAPS. • Conversion to Thing. ML. • Languages generation.

Internet of Things

CAPS Framework

CAPS Modeling Framework

Simulation and Code Generation Based on CAPS

CAPS Arduino CG

Thing. ML language and code generator Framework

Thing. ML language and code generator Framework

Acceleo code generator It is an open-source code generator from the Eclipse Foundation that allows people to use a model-driven approach to building applications.

Mapping and converting from CAPS to Thing. ML SAML Acceleo code generator Thing. ML

Mapping from SAML to Thing. ML Behavioral Elements (Sensors) Messages Functions Component Thing Mode State Property Messages Ports Primitive data declaration Connector Behavioral Links Transitions

CSA-CAPS Modification on CAPS Moisture Sensor Calcium Sensor Potassium Sensor CO Sensor Nitrogen Sensor p. H Sensor Rainfall Sensor

Case studies 1. Gathering results.

Case studies 2. Humidity and Moisture.

Case studies 3. Detecting fire.

Conversion to Thing. ML

Languages Generations 1. Arduino

Languages Generations 2. Node. js

Languages Generations 3. Java

Languages Generations 4. Posix

Conclusion
- Slides: 22