Configuration

The Device object offers a range of methods that allow you to customize your interaction with your devices. These methods provide the capability to adjust parameters and issue specific commands to your device, enabling you to tailor its behavior to your specific requirements.

Here are a couple of examples:

Python
Android
Apple Platforms
Flutter
# Sets the time on the device.
async def set_time(timestamp: float)

# Set ECG filtration method.
#
# This method provides you the flexibility to adjust the electrocardiogram (ECG) filtration to
# your specific needs. Depending on your specific use case, you might prefer a more aggressive
# filtration to reduce noise or a normal filtration to retain more details in the signal.
def set_ecg_filtration_method(method: str)

# Send commands to the device (e.g. to change LED brightness).
def send(command: str)
/// Set ECG filtration method.
///
/// This method provides you the flexibility to adjust the electrocardiogram (ECG) filtration to
/// your specific needs. Depending on your specific use case, you might prefer a more aggressive
/// filtration to reduce noise or a normal filtration to retain more details in the signal.
fun setECGFiltrationMethod(ecgFiltrationMethod: ECGFiltrationMethod)

/// Send commands to the device (e.g. to change LED brightness).
fun send(command: String)
/// Set ECG filtration method.
///
/// This method provides you the flexibility to adjust the electrocardiogram (ECG) filtration to
/// your specific needs. Depending on your specific use case, you might prefer a more aggressive
/// filtration to reduce noise or a normal filtration to retain more details in the signal.
func setECGFiltrationMethod(_ ecgFiltrationMethod: ECGFiltrationMethod)

/// Send commands to the device (e.g. to change LED brightness).
public func send(_ message: String)
/// Set ECG filtration method.
///
/// This method provides you the flexibility to adjust the electrocardiogram (ECG) filtration to
/// your specific needs. Depending on your specific use case, you might prefer a more aggressive
/// filtration to reduce noise or a normal filtration to retain more details in the signal.
void setECGFiltrationMethod(ECGFiltrationMethod ecgFiltrationMethod)

/// Send commands to the device (e.g. to change LED brightness).
void send(String command)

Sending Commands

The send method gives you a direct communication line with your device. With this, you can issue commands to adjust parameters such as the LED brightness or configuring sampling rates. This could be particularly useful in different light conditions or to save battery life when needed.

However, it's important to note that sending commands while device is in the syncing process is not permitted. This restriction is in place to prevent potential conflicts between sending commands and receiving data. Thus, to ensure the smooth operation of your device, it's recommended to manage your configuration changes carefully, and avoid sending commands while the device is syncing data.

results matching ""

    No results matching ""