this file contains cool stuff to access the bluetooth interface
More...
Go to the source code of this file.
|
| char | readVal (char oF='.') |
| | [BLUETOOTH] reads a single value from bluetooth if available! More...
|
| |
| bool | checkOverflow (void) |
| | [BLUETOOTH] checks if theres a lack of Data! More...
|
| |
| template<typename T > |
| void | writeVal (const T &val) |
| | [BLUETOOTH] writes Data to bluetooth More...
|
| |
| bool | isConnected (void) |
| | [BLUETOOTH] this will check if the HC-05 is paired More...
|
| |
this file contains cool stuff to access the bluetooth interface
Last Updated:
- Version
- 3.2.0a
Definition in file eagle_Bluetooth.h.
◆ checkOverflow()
| bool checkOverflow |
( |
void |
| ) |
|
|
inline |
[BLUETOOTH] checks if theres a lack of Data!
- Note
- if this happens you should consider to lower the sending or faster the receiving rate ;)
- Returns
- true if the overflow has happened
-
false if used on MEGA with default pins as there is no hardware based buffer control :/
-
false if there is no overflow (recognized)
◆ isConnected()
| bool isConnected |
( |
void |
| ) |
|
|
inline |
◆ readVal()
| char readVal |
( |
char |
oF = '.' | ) |
|
|
inline |
[BLUETOOTH] reads a single value from bluetooth if available!
- Parameters
-
| oF | the character returned on failure |
- Returns
- the character read. Returns {oF} on failure!
◆ writeVal()
template<typename T >
| void writeVal |
( |
const T & |
val | ) |
|
|
inline |
[BLUETOOTH] writes Data to bluetooth
- Parameters
-
| val | This is the data to be written. Can be int, str etc... |