Skip to content

Recommended Communication Flow (Shimmer 3)

JongChern edited this page Dec 20, 2021 · 1 revision

We recommend using the constructor when configuring the sensor as demonstrated by the example ShimmerConsoleAppExample


shimmer = new ShimmerLogAndStreamSystemSerialPort("ShimmerID1", "COM12", 1, 0, 4, enabledSensors, false, false, false, 0, 0, defaultECGReg1, defaultECGReg2, false);
            

In cases where using the constructor isn't a possibility and custom configuration is executed after reaching a connected state, we recommend the command WriteSensors(int sensors) be executed prior to streaming data over Bluetooth. As part of enabling the sensors, this will automatically initiate an inquiry which in turn ensures the sensor channels and configurations are updated accordingly.

Clone this wiki locally