Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SensorDataParser.h File Reference
Parser for Sensor Data Streamer (binary) and Sensor Monitor (cvs) iPhone/Android apps. More...
Go to the source code of this file.
Data Structures | |
| struct | SENSOR_DATA |
| Processed data by parse_sensor_packet() More... | |
Functions | |
| int | parse_sensor_packet (char *buf, SENSOR_DATA *pd) |
| Parses a packet with sensor data. | |
Detailed Description
Parser for Sensor Data Streamer (binary) and Sensor Monitor (cvs) iPhone/Android apps.
- Version:
- 1.0
- See also:
Copyright (c) 2013
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file SensorDataParser.h.
Function Documentation
| int parse_sensor_packet | ( | char * | buf, |
| SENSOR_DATA * | pd | ||
| ) |
Parses a packet with sensor data.
Currently supported packet formats:
- Sensor Data Streamer (binary)
- Sensor Monitor (csv)
- Parameters:
-
buf The packet contents pd processed data
- Returns:
- 0 - Invalid packet type
- 1 - Sensor Data Streamer packet
- 2 - Sensor Monitor packet
Definition at line 83 of file SensorDataParser.cpp.
Generated on Fri Jul 15 2022 08:41:13 by
1.7.2