Skip to main content
Version: v1.6.5

Faros RADAR-pRMT plugin

Plugin for the eMotion Faros 180 and 360 devices. The source code for device interaction is closed source and maintained by The Hyve. For more information, please contact The Hyve.

Installation

To add the plugin code to your app, add the following snippet to your app's build.gradle file.

repositories {
maven { url 'https://repo.thehyve.nl/content/repositories/releases' }
}

dependencies {
implementation "org.radarbase:radar-android-faros:$radarCommonsAndroidVersion"
}

Add org.radarbase.passive.bittium.FarosProvider to the plugins variable of the RadarService instance in your app.

Configuration

To enable this plugin, add the provider bittium_faros to plugins property of the configuration.

This plugin takes the following Firebase configuration parameters:

NameTypeDefaultDescription
bittium_faros_acceleration_rateint (Hz)25How frequently acceleration values are collected. Use 0 to disable acceleration data.
bittium_faros_acceleration_resolutionfloat (g)0.001Resolution of acceleration values. A higher resolution will result in lower range.
bittium_faros_ecg_rateint (Hz)125How frequently ECG data is collected. Use 0 to disable ECG data.
bittium_faros_ecg_resolutionfloat (µV)1.0Resolution of ECG values. A higher resolution will result in lower range.
bittium_faros_ecg_channelsint1Number of ECG channels to activate. Faros 360 supports 3 channels, other devices support 1.
bittium_faros_ecg_filter_frequencyfloat (Hz)0.05High pass filter frequency for the ECG channel.
bittium_faros_temperature_enablebooleantrueWhether to send temperature readings. Only the Faros 360 supports temperature readings.
bittium_faros_inter_beat_interval_enablebooleantrueWhether to send inter-beat-interval readings.
bittium_faros_battery_intervalint (s)60 = 1 minuteHow often to send the battery level. Use 0 to disable precise battery level collection and opt for approximate battery level instead.
bittium_faros_notify_disconnectbooleanfalseSet to true to send a notification whenever the Faros device is disconnected.

This plugin produces data for several Kafka topics. All value types are prefixed with the org.radarcns.passive.bittium namespace.

TopicTypeDescription
android_bittium_faros_accelerationBittiumFarosAccelerationAcceleration values.
android_bittium_faros_ecgBittiumFarosEcgECG signal.
android_bittium_faros_inter_beat_intervalBittiumFarosInterBeatIntervalInter-beat-interval derived from the ECG signal.
android_bittium_faros_temperatureBittiumFarosTemperatureTemperature.
android_bittium_faros_battery_levelBittiumFarosBatteryLevelBattery level. If battery_level_interval is set to 0, this is an approximation.