MetaWear C++ API  0.18.0
C++ implementation of the MetaWear protocol
Variables
status.h File Reference

Status codes for the library. More...

#include <stdint.h>

Go to the source code of this file.

Variables

const int32_t MBL_MW_STATUS_OK = 0
 Code executed normally, no errors or warnings.
 
const int32_t MBL_MW_STATUS_WARNING_UNEXPECTED_SENSOR_DATA = 1
 Data unexpectedly received from a sensor. More...
 
const int32_t MBL_MW_STATUS_WARNING_INVALID_PROCESSOR_TYPE = 2
 Invalid processor passed into a dataprocessor function.
 
const int32_t MBL_MW_STATUS_ERROR_UNSUPPORTED_PROCESSOR = 4
 Processor not supported for the data signal.
 
const int32_t MBL_MW_STATUS_WARNING_INVALID_RESPONSE = 8
 Invalid response receieved from the MetaWear notify characteristic.
 
const int32_t MBL_MW_STATUS_ERROR_TIMEOUT = 16
 Timeout occured during an asynchronous operation.
 
const int32_t MBL_MW_STATUS_ERROR_SERIALIZATION_FORMAT = 32
 Cannot restore API state given the input serialization format.
 
const int32_t MBL_MW_STATUS_ERROR_ENABLE_NOTIFY = 64
 Failed to enable notifications.
 

Detailed Description

Status codes for the library.

Variable Documentation

◆ MBL_MW_STATUS_WARNING_UNEXPECTED_SENSOR_DATA

const int32_t MBL_MW_STATUS_WARNING_UNEXPECTED_SENSOR_DATA = 1

Data unexpectedly received from a sensor.

This could happen if the library connects to an already setup board