Flying Silicon Sensor
fsUart.h File Reference

Helper to enable usage of BLE Uart with different UUID sets. More...

#include <bluefruit.h>

Go to the source code of this file.

Classes

class  FsUart
 

Macros

#define FIFO_SZ   128
 Adafruit UART Tx and Rx FIFO size in bytes.
 
#define USE_HM10_UUID
 Use the HM-10 UUID set.
 

Variables

static const uint8_t HM10_UUID_SERVICE []
 
static const uint8_t HM10_UUID_CHR_RXD []
 
static const uint8_t HM10_UUID_CHR_TXD []
 

Detailed Description

Helper to enable usage of BLE Uart with different UUID sets.

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 fsUart.h.

Macro Definition Documentation

◆ FIFO_SZ

#define FIFO_SZ   128

Adafruit UART Tx and Rx FIFO size in bytes.

Definition at line 30 of file fsUart.h.

◆ USE_HM10_UUID

#define USE_HM10_UUID

Use the HM-10 UUID set.

Definition at line 32 of file fsUart.h.

Variable Documentation

◆ HM10_UUID_CHR_RXD

const uint8_t HM10_UUID_CHR_RXD[]
static
Initial value:
= {
0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80,
0x00, 0x10, 0x00, 0x00, 0xE2, 0xFF, 0x00, 0x00
}

Definition at line 67 of file fsUart.h.

Referenced by FsUart::FsUart().

◆ HM10_UUID_CHR_TXD

const uint8_t HM10_UUID_CHR_TXD[]
static
Initial value:
= {
0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80,
0x00, 0x10, 0x00, 0x00, 0xE1, 0xFF, 0x00, 0x00
}

Definition at line 71 of file fsUart.h.

Referenced by FsUart::FsUart().

◆ HM10_UUID_SERVICE

const uint8_t HM10_UUID_SERVICE[]
static
Initial value:
= {
0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80,
0x00, 0x10, 0x00, 0x00, 0xE0, 0xFF, 0x00, 0x00
}

Definition at line 63 of file fsUart.h.

Referenced by FsUart::FsUart().