ESP3D  3.0
Firmware for ESP boards connected to 3D Printer
BTService Class Reference

#include <BT_service.h>

Inheritance diagram for BTService:
Inheritance graph
Collaboration diagram for BTService:
Collaboration graph

Public Member Functions

 BTService ()
 
 ~BTService ()
 
const char * hostname ()
 
bool begin ()
 
void end ()
 
void handle ()
 
bool reset ()
 
bool started ()
 
bool isConnected ()
 
void flush ()
 
int availableForWrite ()
 
int available ()
 
size_t write (uint8_t c)
 
size_t write (const uint8_t *buffer, size_t size)
 
size_t write (const char *s)
 
size_t write (unsigned long n)
 
size_t write (long n)
 
size_t write (unsigned int n)
 
size_t write (int n)
 
int read ()
 
size_t readBytes (uint8_t *sbuf, size_t len)
 

Static Public Member Functions

static void BTEvent (uint8_t event)
 
static const char * macAddress ()
 
static const char * clientmacAddress ()
 
static void setClientAddress (const char *saddress)
 

Detailed Description

Definition at line 27 of file BT_service.h.

Constructor & Destructor Documentation

◆ BTService()

BTService::BTService ( )

◆ ~BTService()

BTService::~BTService ( )

Member Function Documentation

◆ available()

int BTService::available ( )

◆ availableForWrite()

int BTService::availableForWrite ( )
Here is the caller graph for this function:

◆ begin()

bool BTService::begin ( )
Here is the caller graph for this function:

◆ BTEvent()

static void BTService::BTEvent ( uint8_t  event)
static

◆ clientmacAddress()

static const char* BTService::clientmacAddress ( )
static
Here is the caller graph for this function:

◆ end()

void BTService::end ( )
Here is the caller graph for this function:

◆ flush()

void BTService::flush ( )
Here is the caller graph for this function:

◆ handle()

void BTService::handle ( )
Here is the caller graph for this function:

◆ hostname()

const char* BTService::hostname ( )
Here is the caller graph for this function:

◆ isConnected()

bool BTService::isConnected ( )
Here is the caller graph for this function:

◆ macAddress()

static const char* BTService::macAddress ( )
static
Here is the caller graph for this function:

◆ read()

int BTService::read ( )

◆ readBytes()

size_t BTService::readBytes ( uint8_t *  sbuf,
size_t  len 
)

◆ reset()

bool BTService::reset ( )

◆ setClientAddress()

static void BTService::setClientAddress ( const char *  saddress)
static

◆ started()

bool BTService::started ( )
Here is the caller graph for this function:

◆ write() [1/7]

size_t BTService::write ( const char *  s)
inline

Definition at line 48 of file BT_service.h.

Here is the call graph for this function:

◆ write() [2/7]

size_t BTService::write ( const uint8_t *  buffer,
size_t  size 
)

◆ write() [3/7]

size_t BTService::write ( int  n)
inline

Definition at line 64 of file BT_service.h.

Here is the call graph for this function:

◆ write() [4/7]

size_t BTService::write ( long  n)
inline

Definition at line 56 of file BT_service.h.

Here is the call graph for this function:

◆ write() [5/7]

size_t BTService::write ( uint8_t  c)
Here is the caller graph for this function:

◆ write() [6/7]

size_t BTService::write ( unsigned int  n)
inline

Definition at line 60 of file BT_service.h.

Here is the call graph for this function:

◆ write() [7/7]

size_t BTService::write ( unsigned long  n)
inline

Definition at line 52 of file BT_service.h.

Here is the call graph for this function:

The documentation for this class was generated from the following file: