Skip to content

Services used by the Incyclist indoor cycling app

License

Notifications You must be signed in to change notification settings

incyclist/services

Repository files navigation

incyclist-services

This Library contains the business logic used by the React components of the Incyclist Indoor Cycling App.

Incyclist uses React to render the App Front-End for PC platforms ( Windows, Mac. Linux). It is planned that in the future, React Native will be used to render the Front-Ends for other platforms ( Android, IOS, AppleTV,...)

All Services will be accessed by the Front-End using

import {useXXX, initXXX} from {incyclist-devices}

  • useXXX can be used to consume a Service (e.g. useDeviceConfiguration() )
  • initXXX can be used to perform a lazy initialization of the Service (e.g. initUserSettings(binding) )

where XXX represents the Service name

The following Services are currently implemented in this library:

Settings

Devices

  • DeviceConfiguration: manages the user configuration of scanned/added/selected devices
  • DeviceAccess: manages the basic communication to the device (setting up interfacs, scanning,... )
  • Device: allows the Front-End to communicate with a device (reading, writing data)
  • DevicePairing: implements the business logic og the DevicePairing screens

About

Services used by the Incyclist indoor cycling app

Resources

License

Stars

Watchers

Forks

Packages

No packages published