53 bool _waiting_for_data =
false;
54 int _bytes_collected = 0;
62 void _handle_command(
char command);
Defines the BleMessage class used to hold command-data pairs exchanged between the GUI.
This file declares the BLE commands, and the functions that should be called when they are received.
Definition BleMessage.h:16
Definition BleParser.h:21
int package_raw_data(byte *buffer, BleMessage &msg)
Packs data to be sent to the GUI, modifies the char array that you send it.
Definition BleParser.cpp:56
BleMessage * handle_raw_data(char *buffer, int length)
Given a buffer and buffer length, package the data into a BleMessage class.
Definition BleParser.cpp:15
BleParser()
Construct a new Ble Parser object.
Definition BleParser.cpp:10