MtM+
/
Mt05_MtSense03
51 52 with same code
source/PedometerService.h@0:e71874215e23, 2017-04-17 (annotated)
- Committer:
- johnathanlyu
- Date:
- Mon Apr 17 01:56:57 2017 +0000
- Revision:
- 0:e71874215e23
Initial the m904s & mt_sense03 project
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
johnathanlyu | 0:e71874215e23 | 1 | /* Copyright (c) 2016 MtM Technology Corporation, MIT License |
johnathanlyu | 0:e71874215e23 | 2 | * |
johnathanlyu | 0:e71874215e23 | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
johnathanlyu | 0:e71874215e23 | 4 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
johnathanlyu | 0:e71874215e23 | 5 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
johnathanlyu | 0:e71874215e23 | 6 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
johnathanlyu | 0:e71874215e23 | 7 | * furnished to do so, subject to the following conditions: |
johnathanlyu | 0:e71874215e23 | 8 | * |
johnathanlyu | 0:e71874215e23 | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
johnathanlyu | 0:e71874215e23 | 10 | * substantial portions of the Software. |
johnathanlyu | 0:e71874215e23 | 11 | * |
johnathanlyu | 0:e71874215e23 | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
johnathanlyu | 0:e71874215e23 | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
johnathanlyu | 0:e71874215e23 | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
johnathanlyu | 0:e71874215e23 | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
johnathanlyu | 0:e71874215e23 | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
johnathanlyu | 0:e71874215e23 | 17 | */ |
johnathanlyu | 0:e71874215e23 | 18 | #ifndef __BLE_PEDOMETER_SERVICE_H__ |
johnathanlyu | 0:e71874215e23 | 19 | #define __BLE_PEDOMETER_SERVICE_H__ |
johnathanlyu | 0:e71874215e23 | 20 | |
johnathanlyu | 0:e71874215e23 | 21 | #include "ble/BLE.h" |
johnathanlyu | 0:e71874215e23 | 22 | |
johnathanlyu | 0:e71874215e23 | 23 | class PedoxService { |
johnathanlyu | 0:e71874215e23 | 24 | public: |
johnathanlyu | 0:e71874215e23 | 25 | int PedoxService(BLE &_ble, float spo2, float pr); |
johnathanlyu | 0:e71874215e23 | 26 | |
johnathanlyu | 0:e71874215e23 | 27 | private: |
johnathanlyu | 0:e71874215e23 | 28 | }; |
johnathanlyu | 0:e71874215e23 | 29 | |
johnathanlyu | 0:e71874215e23 | 30 | #endif /* #ifndef __BLE_PEDOMETER_SERVICE_H__*/ |