MCPcopy Create free account
hub / github.com/OpenEarable/open-earable / data_callback

Method data_callback

src/OpenEarable.h:130–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 Stream * _debug{};
129
130 static void data_callback(int id, unsigned int timestamp, uint8_t * data, int size) {
131 if (_data_logger_flag) {
132 String data_string = edge_ml_generic.parse_to_string(id, data);
133 SD_Logger::data_callback(id, timestamp, data_string);
134 }
135 }
136
137 static void config_callback(SensorConfigurationPacket *config);
138};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected