LevelMeter-Display  2.0
An ultrasonic Level Meter for Stormwater Cisterns
Data Structures | Macros | Variables
adeunis.h File Reference

Definitions for the Adeunis Bluetooth Module. More...

Include dependency graph for adeunis.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  BTPacket_t
 Description of a Bluetooth Packet. More...
 
struct  BTStatus_t
 Collects Status Information about Bluetooth in a single Unity. More...
 

Macros

#define ADEUNIS_CFM   0x43
 Confirm telegram. More...
 
#define ADEUNIS_IND   0x69
 Indication telegram. More...
 
#define ADEUNIS_REQ   0x52
 Request telegram. More...
 
#define ADEUNIS_RES   0x72
 Response telegram. More...
 
#define LMX9830_READY   0x25
 
#define SPP_INCOMING_LINK_ESTABLISHED   0x0c
 
#define SPP_LINK_RELEASED   0x0e
 
#define SPP_TRANSPARENT_MODE   0x11
 

Variables

BTStatus_t BTStatus
 Status for Bluetooth connection. More...
 

Detailed Description

Definitions for the Adeunis Bluetooth Module.

Note
This file does not include all opcodes for the LMX9830 but only those we currently need.

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 for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Macro Definition Documentation

◆ ADEUNIS_CFM

#define ADEUNIS_CFM   0x43

Confirm telegram.

◆ ADEUNIS_IND

#define ADEUNIS_IND   0x69

Indication telegram.

◆ ADEUNIS_REQ

#define ADEUNIS_REQ   0x52

Request telegram.

◆ ADEUNIS_RES

#define ADEUNIS_RES   0x72

Response telegram.

◆ LMX9830_READY

#define LMX9830_READY   0x25

◆ SPP_INCOMING_LINK_ESTABLISHED

#define SPP_INCOMING_LINK_ESTABLISHED   0x0c

◆ SPP_LINK_RELEASED

#define SPP_LINK_RELEASED   0x0e

◆ SPP_TRANSPARENT_MODE

#define SPP_TRANSPARENT_MODE   0x11

Variable Documentation

◆ BTStatus

BTStatus_t BTStatus

Status for Bluetooth connection.

Referenced by CmdStat(), and DoCflags().