Flying Silicon Sensor
ptvBleInterface.cpp File Reference

Extension of BleInterface providing the PTV / PTVSOAR protocol formats. More...

#include "ptvBleInterface.h"
#include <Arduino.h>
#include "debug.h"
#include "bleInterface.h"

Go to the source code of this file.

Macros

#define SEND_VOLT   0
 Optionally append battery voltage to BLE messages.
 
#define CHUNK_SZ   BLE_ATT_LEN
 Size of data chunks (bytes) sent via BLE interface.
 
#define CHUNK_DELAY_MS   0
 Time ms to wait after sending one chunk.
 

Detailed Description

Extension of BleInterface providing the PTV / PTVSOAR protocol formats.

Arduino code for Flying Silicon Airspeed/Vario Probe and TotalVario Android app.

For more information refer to: https://flyingsilicon.blogspot.com/
https://totalvario.blogspot.com/

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License http://www.gnu.org/licenses/ for more details.

Definition in file ptvBleInterface.cpp.

Macro Definition Documentation

◆ CHUNK_DELAY_MS

#define CHUNK_DELAY_MS   0

Time ms to wait after sending one chunk.

Definition at line 37 of file ptvBleInterface.cpp.

◆ CHUNK_SZ

#define CHUNK_SZ   BLE_ATT_LEN

Size of data chunks (bytes) sent via BLE interface.

Definition at line 34 of file ptvBleInterface.cpp.

◆ SEND_VOLT

#define SEND_VOLT   0

Optionally append battery voltage to BLE messages.

Definition at line 31 of file ptvBleInterface.cpp.