Skip to content

cadivus/cosinuss-flutter-lib-with-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Flutter library for Cosinuss° One

For the KIT module "Mobile Computing and Internet of Things" (https://teco.edu/education-mociot/), we got the exercises to build a creative mobile app for Cosinuss° One sensors based on https://github.com/teco-kit/cosinuss-flutter.

Another exercise was to build a HTML5 application. I decided to build a Cosinuss° One emulator as a HTML5 application and a Cosinuss° One library supporting it. My mobile app (https://github.com/cadivus/early-bird) uses this library and can be tested with my HTML5 submission.

Use the emulator

To start the emulator, you just need to run npm install and npm run start in cosinuss_emulator. The web interface can be used on port 3000.

For using the emulator, you have to start your application with
flutter run --dart-define=COSINUSS_EMULATOR_MODE=true or
flutter run --dart-define=COSINUSS_EMULATOR_MODE=true --dart-define=COSINUSS_EMULATOR_HOST=your-host

For recording data using the UI, you have to start an app using this library with
flutter run --dart-define=COSINUSS_EMULATOR_LOG_MODE=true --dart-define=COSINUSS_EMULATOR_HOST=your-host

You can use the example app for this.

The emulator UI

The emulator UI is written in pure HTML, CSS and Javascript without a Framework.

Desktop UI

Mobile UI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published