The bulk of this pull request relates to getting the Pipeline ready for BLE integration with the app. Services are now able to add themselves as a BLE service and dynamically create new BLE characteristics for derived services. Additionally, there were some minor updates:
Implementing a subscription system for high level services to be able to receive data from low level sensors.
Packaging of low level sensor data is now handled by the Pipeline/Pipe class instead of the Pipeline/Router class.
Added a pipeline entry point for accelerometer data.
Began to increase versatility of the package class.
Addresses Issue #21
Future Work
The Pipeline/Package class currently does not transport any data, only the origin location.
There may need to be some debugging after this pull request is merged when we actually flash the Arduino Nano and test data transmission with the Bottle Buddy App.
Services and characteristics are set up, but the main file needs to handle setting up the top module BLE, which is not implemented yet.
Summary
The bulk of this pull request relates to getting the Pipeline ready for BLE integration with the app. Services are now able to add themselves as a BLE service and dynamically create new BLE characteristics for derived services. Additionally, there were some minor updates:
Pipeline/Pipe
class instead of thePipeline/Router
class.Addresses Issue #21
Future Work
Pipeline/Package
class currently does not transport any data, only the origin location.