Skip to main content

Bracelet Plans

A plan is the measurement programme of the bracelet: it decides which sensors run and which data the bracelet records. Next to the plan you choose the sampling rates of the vital signs and three options: NIBP, raw accelerometer, and BioZ with EmoGraphy.

This page helps you choose. You set all of it in one place, the bracelet initialization.

Setting the plan and the sampling rates​

Pass an InitializationConfig to enableAutoInitialization, once, when your app starts. The SDK then applies it to every bracelet each time it connects:

import com.corsano.sdk.ble.data.DevicePlan
import com.corsano.sdk.ble.data.SampleRate
import com.corsano.sdk.data.DataSdk
import com.corsano.sdk.data.summary.InitializationConfig

val manager = DataSdk.getInstance().getManager()

manager.enableAutoInitialization(
InitializationConfig(
braceletPlan = DevicePlan.HOSPITAL_MULTICOLOR,
samplingRate = SampleRate.ONE_MIN, // one rate for all vital signs
isNibpEnabled = true,
)
)
What you chooseField of InitializationConfigValues
The planbraceletPlanA DevicePlan, see Available plans
Rate of activity (steps, calories)samplingRateActivityA SampleRate, see Sampling rate
Rate of heart ratesamplingRatePulseRateA SampleRate
Rate of respiration ratesamplingRateRespirationRateA SampleRate
Rate of SpO2samplingRateSp02A SampleRate
Rate of temperaturesamplingRateTemperatureA SampleRate
NIBP (B2 only)isNibpEnabledtrue: one value every 30 minutes. false (default): off.
Raw PPG frequency (B2 only)ppg2FrequencyA Ppg2Frequency. null (default): 32 Hz. See PPG2 frequency.
Raw accelerometer (B2 only)isAccEnabledtrue: recorded continuously. false (default): off.
BioZ and EmoGraphy (B2 only)isBiozOrEmographyEnabledtrue: both recorded continuously. false (default): both off.

samplingRate = … in the example is a second constructor that gives the five rates the same value.

  • To change the plan or a rate later, call manager.updateConfiguration(bleDevice, config). It applies the new configuration at once and keeps it for the next connections.
  • To read what the bracelet has now, send GetPlanRequest() and GetVitalParameterSamplingRateRequest(type). See BLE commands.
  • Do not send SetPlanRequest or SetVitalParameterSamplingRateRequest yourself. They are deprecated: the bracelet initialization sends them, and it would overwrite your values at the next connection.

All parameters, the listener and the errors are described in Bracelet Initialization.

warning

Not every combination is possible on the bracelet. The SDK refuses a configuration when:

  • BioZ / EmoGraphy and NIBP are both enabled, or
  • raw PPG is at 128 Hz (Ppg2Frequency.HUNDRED_TWENTY_HEIGHT_HZ) and BioZ / EmoGraphy or NIBP is enabled.

enableAutoInitialization then reports the error to its listener's onError and does not enable anything. updateConfiguration returns a failed Result.

Available plans​

DevicePlan (com.corsano.sdk.ble.data.DevicePlan) has these values. id, friendlyName and batteryLifetimeDays are properties of each value.

DevicePlanidfriendlyNamebatteryLifetimeDaysBracelets
STAND_BY0"Stand by"16
MAX_BATTERY1"Max Battery"15B1 and B2
TYPICAL2"Typical"7.5B1 and B2
HOSPITAL3"High Resolution BPM"6.5B1 and B2
HZ4"25 Hz"5Deprecated, do not use
HOSPITAL_RAW5"Hospital Raw"3.5B1 and B2
RESERVED6"Disable"20Unused, do not use
TYPICAL_MULTICOLOR7"Typical multicolor"6B2 only
HOSPITAL_MULTICOLOR8"High Resolution Multicolor"4B2 only
CONTINUOUS_GREEN_INTERMITTENT_MULTICOLOR_RAW9"Continuous Green Intermittent Multicolor Raw"4B2 only
CONTINUOUS_GREEN_INTERMITTENT_MULTICOLOR10"Continuous Green Intermittent Multicolor"5B2 only
CONTINUOUS_5_MIN11"Continuous 5 minutes"5B2 only

B1 is the CardioWatch 287-1B, B2 the CardioWatch 287-2B. The tables below describe the plans 1, 2, 3, 5 and 7 to 11.

  • batteryLifetimeDays is the SDK's indication of the autonomy in days. The real autonomy depends on the sampling rates and on the raw data you enable. With HOSPITAL_RAW and raw PPG at 128 Hz, count on 1.5 days.
  • DevicePlan.from(id) returns the plan for an id, or null for an unknown id.
  • DevicePlan.getDefault(hardwareId) returns HOSPITAL_MULTICOLOR for a 287-2B and HOSPITAL for every other hardware.

Which plan gives which data​

PlanSpO2NIBP (B2)RR intervalsSleepRaw PPGRaw accelerometer
MAX_BATTERY (1)NoNoNoNot specifiedNoNo
TYPICAL (2)NoNoYesYesNoNo
HOSPITAL (3)NoNoYesYesNoNo
HOSPITAL_RAW (5)YesYesYesYesGreen, red and infrared, continuously, at 32 Hz or 128 HzOptional, continuously at 32 Hz
TYPICAL_MULTICOLOR (7)YesYesYesYesGreen, red and infrared at 128 Hz, 2 minutes every 30 minutes32 Hz, 2 minutes every 30 minutes
HOSPITAL_MULTICOLOR (8)YesYesYesYesNoNo
CONTINUOUS_GREEN_INTERMITTENT_MULTICOLOR_RAW (9)YesYesYesYesGreen continuously at 32 Hz; red and infrared at 128 Hz, 2 minutes every 30 minutes32 Hz, 2 minutes every 30 minutes
CONTINUOUS_GREEN_INTERMITTENT_MULTICOLOR (10)YesYesYesYesGreen, red and infrared, 2 minutes every 30 minutes32 Hz, 2 minutes every 30 minutes
CONTINUOUS_5_MIN (11)YesYesNoNoNoNo

Every plan in this table records steps, calories, heart rate and temperature. All but MAX_BATTERY record the respiration rate. On a B2 these values, and SpO2, are recorded at the sampling rate you set; a B1 uses fixed rates. NIBP is recorded only when isNibpEnabled is true. The rates per bracelet are in the Description below.

Where the data arrives​

The bracelet stores what it records in files. The automatic download fetches them and stores the result in the SDK's database, see Data transfer and Retrieve the Data.

DataFile on the bracelet (FileOnWatch)What you get in the SDKDownloaded when
Steps, calories, heart rate, respiration rate, SpO2, NIBP, temperatureACTIVITYMetricActivity and MetricTemperature, and the daily summariesAlways
RR intervalsHRVMetricHrvAlways
SleepSLEEPMetricSleep and SleepSummaryModel287-2B only
Raw PPGPPG2A raw file, see Raw Files287-2B, and your licence includes PPG2
EmoGraphySTRESS_FILEMetricEmography287-2B, and your licence includes PPG2
BioZBIOZA raw file287-2B, and your licence includes BioZ
Raw accelerometerACC_FILEA raw file, see Acc data explained287-2B, and your licence includes the accelerometer
note

A plan that records raw data is not enough to receive it. The raw files are downloaded only when your licence includes them, see The licence and raw data. The accelerometer, BioZ and EmoGraphy must also be switched on in the bracelet initialization, see Enable raw streams.

Description​

The data each plan records, and its rate, per bracelet. "X" means not available. "According to sample rate" means the sampling rate you set.

Plan IDPlan nameCompatibilityVital parametersSampling rate B1Sampling rate B2
1Max batteryB1 and B2Steps, Calories, CBT, HR


SpO2
NIBP
RR interval
1/min



X
X
X
30s/1min/5min/30min
According to sample rate

X
X
X
2TypicalB1 and B2Steps, Calories, CBT
HR
BRPM

SP02
NIBP

RR intervals
Sleep
1/min
1/min
1/min
1/30min

X
X

1/s at nights
1/30s at nights
30s/1min/5min/30min
According to sample rate


X
X

1/s
1/30s at nights
3High Resolution BPMB1 and B2Steps, Calories, CBT
HR
BRPM

SP02
NIBP

RR intervals
Sleep
1/10s
1/10s
1/10s
1/10s

X
X

1/s
1/30s at nights
30s/1min/5min/30min
According to sample rate


X
X

1/s
1/30s at nights
4Hz⚠️Deprecated------
5Hospital rawB1 and B2Steps, Calories, CBT
HR
BRPM
SPO2

RR intervals
Sleep

NIBP

Raw G/R/IR ppg 128Hz


Optional: Raw Acc 32Hz
1/10s
1/10s
1/10s
1/10s
1/10s

1/s
1/30s at nights

X

Continuously 32Hz or 128Hz


Continuously 32Hz
30s/1min/5min/30min
According to sample rate



1/s
1/30s at nights

1/30min or off (set sample rate)
Continuously 32Hz or 128Hz


Continuously 32Hz or off
7Typical multicolorB2 onlySteps, Calories, CBT
HR
BRPM
SPO2

RR intervals
Sleep

NIBP


Periodic raw G/R/IR ppg 128Hz

Periodic Raw Acc 32Hz
X30s/1min/5min/30min
According to sample rate



1/s at night
1/30s at nights

1/30min or off (set sample rate)

2minutes / Every 30 minutes


2minutes / Every 30 minutes
8High Resolution MulticolorB2 onlySteps, Calories
HR
Temperature
BRPM
SPO2

NIBP


RR intervals
Sleep
X30s/1min/5min/30min
According to sample rate



1/30min or off(set sample rate)

1/s
1/30s at nights
9Continuous Green, intermittent multicolor RawB2 onlySteps, Calories
HR
Temperature
BRPM
SPO2

RR intervals
Sleep

NIBP

Raw G PPG 32 Hz
Periodic R/IR ppg 128Hz

Periodic Raw Acc 32Hz
X30s/1min/5min/30min
According to sample rate



1/s
1/30s at nights

1/30min or off (set sample rate)
Continuously 32Hz

2minutes / Every 30 minutes

2minutes / Every 30 minutes
10Continuous Green, intermittent multicolorB2 onlySteps, Calories
HR
Temperature
BRPM
SPO2

RR intervals
Sleep

NIBP

Periodic raw G/R/IR ppg
Periodic Raw Acc 32Hz
X30s/1min/5min/30min
According to sample rate



1/s
1/30s at nights

1/30min or off (set sample rate)


2minutes / Every 30 minutes
115 min planB2 onlySteps, Calories
HR
Temperature
BRPM
SPO2

RR intervals
Sleep


NIBP
X5min / 30min for all metrics
Set sample rate



X
X

1/30 min or off (set sample rate)

Acronyms:

  • CBT: core body temperature,
  • HR: heart rate, beats per minute
  • BRPM: breath rate per minute
  • RR intervals: the time interval between two consecutive heart beats
  • Acc: 3-axis accelerometer data.

Sampling rate​

The sampling rate is how often the bracelet records a value. For example, with the heart rate at 1 minute, the bracelet records one heart rate value every minute, and you get one MetricActivity per minute.

Each of these has its own sampling rate (VitalParameterWithSamplingRateType):

Vital signVitalParameterWithSamplingRateTypeSet with
Activity (steps, calories)ACTIVITYInitializationConfig.samplingRateActivity
Heart ratePULSE_RATEInitializationConfig.samplingRatePulseRate
Respiration rateRESPIRATION_RATEInitializationConfig.samplingRateRespirationRate
SpO2SPO2InitializationConfig.samplingRateSp02
TemperatureTEMPERATUREInitializationConfig.samplingRateTemperature
NIBP (B2 only, from SDK 1.2.0)NIBPInitializationConfig.isNibpEnabled: 30 minutes when true, off when false

The values of SampleRate (com.corsano.sdk.ble.data.SampleRate):

SampleRaterateSecsfriendlyNameMeaning
THIRTY_SECS30"1/30 secs"One value every 30 seconds
ONE_MIN60"1/minute"One value every minute
FIVE_MIN300"1/5 minutes"One value every 5 minutes
THIRTY_MIN1800"1/30 minutes"One value every 30 minutes
OFF0"OFF"Not recorded. The bracelet initialization uses it for NIBP when isNibpEnabled is false.
note

Before SDK 0.9.13 there was one common rate for activity, temperature, respiration rate and heart rate: 15, 30, 45 seconds or 1 minute. What is left of it is sampleRateV1 of SetPlanRequest and GetPlanRequest.Response (in seconds, 60 by default), which only firmware older than 5.67 uses.

Notes​

HRV sampling rate​

The sampling rate you set does not apply to the RR intervals. The time between two values varies between 1 and 5 seconds, depending on when the firmware gets the data.

The bracelet records RR intervals at rest. It records none while there is movement.

In the SDK an RR interval is a MetricHrv: beats is the interval in milliseconds, timestamp the time in milliseconds. The bracelet stamps RR intervals with a resolution of one second. When several intervals have the same second, the SDK adds 1 millisecond to each next one, so that every MetricHrv has its own timestamp and the order is kept. This is why you see values 1 ms apart. The SDK does not store an interval of 5000 ms or more.

Example at night:

TimestampDateHRV
17044092910002024-01-05T00:01:31.000+01:00893
17044092910012024-01-05T00:01:31.001+01:00899
17044092930002024-01-05T00:01:33.000+01:00896
17044092940002024-01-05T00:01:34.000+01:00873
17044092940012024-01-05T00:01:34.001+01:00846
17044092940022024-01-05T00:01:34.002+01:00858
17044092960002024-01-05T00:01:36.000+01:00878
17044092960012024-01-05T00:01:36.001+01:00911
17044092970002024-01-05T00:01:37.000+01:00933
17044092990002024-01-05T00:01:39.000+01:00895
17044092990012024-01-05T00:01:39.001+01:00891
17044093010002024-01-05T00:01:41.000+01:00924

Example during the day with movement:

TimestampDateHRV
17044396910002024-01-05T08:28:11.000+01:00720
17044396920002024-01-05T08:28:12.000+01:00736
17044398350002024-01-05T08:30:35.000+01:00884
17044398360002024-01-05T08:30:36.000+01:00868
17044398480002024-01-05T08:30:48.000+01:00996
17044398490002024-01-05T08:30:49.000+01:00956
17044398490012024-01-05T08:30:49.001+01:00920
17044398510002024-01-05T08:30:51.000+01:00956
17044398510012024-01-05T08:30:51.001+01:00768
17044398530002024-01-05T08:30:53.000+01:00848
17044398540002024-01-05T08:30:54.000+01:00828
17044398540012024-01-05T08:30:54.001+01:00908
17044398550002024-01-05T08:30:55.000+01:00864
17044417490002024-01-05T09:02:29.000+01:00828
17044417500002024-01-05T09:02:30.000+01:001000
17044417500012024-01-05T09:02:30.001+01:00690
17044417860002024-01-05T09:03:06.000+01:00947

PPG2 frequency​

B2 only

Raw PPG sampling rates: the raw PPG data can be recorded at 32 Hz or at 128 Hz. You set it with ppg2Frequency of the bracelet initialization. Without a value the SDK sets 32 Hz (Ppg2Frequency.THIRTY_TWO_HZ); 128 Hz is Ppg2Frequency.HUNDRED_TWENTY_HEIGHT_HZ. Ppg2Frequency also has values for 64, 256 and 512 Hz; the plans on this page are described for 32 Hz and 128 Hz only.

Raw PPG channels: we have 7 channels for the PPG data: 2 Green, 2 Red, 2 infrared and one ambient light.

warning

PPG at 128 Hz cannot be enabled when BioZ / EmoGraphy or NIBP is enabled. See the warning under Setting the plan and the sampling rates.