USB_Host_Shield_2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
SPP Class Reference

#include <SPP.h>

Inheritance diagram for SPP:
Inheritance graph
[legend]
Collaboration diagram for SPP:
Collaboration graph
[legend]

Public Member Functions

 SPP (BTD *p, const char *name="Arduino", const char *pin="1234")
 
virtual void ACLData (uint8_t *ACLData)
 
virtual void Run ()
 
virtual void Reset ()
 
virtual void disconnect ()
 
void print (const String &)
 
void print (const char *data)
 
void print (uint8_t data)
 
void print (uint8_t *array, uint8_t length)
 
void print (const __FlashStringHelper *)
 
void println (const String &)
 
void println (const char *data)
 
void println (uint8_t data)
 
void println (uint8_t *array, uint8_t length)
 
void println (const __FlashStringHelper *)
 
void println (void)
 
void printNumber (int16_t n)
 
void printNumberln (int16_t n)
 
void printNumber (double n, uint8_t digits=2)
 
void printNumberln (double n, uint8_t digits=2)
 
const char * doubleToString (double input, uint8_t digits)
 
uint8_t available ()
 
uint8_t read ()
 
void flush ()
 

Public Attributes

bool connected
 

Constructor & Destructor Documentation

SPP::SPP ( BTD p,
const char *  name = "Arduino",
const char *  pin = "1234" 
)

Member Function Documentation

void SPP::ACLData ( uint8_t *  ACLData)
virtual

Reimplemented from BluetoothService.

uint8_t SPP::available ( )
inline
void SPP::disconnect ( )
virtual

Reimplemented from BluetoothService.

const char * SPP::doubleToString ( double  input,
uint8_t  digits 
)
void SPP::flush ( )
inline
void SPP::print ( const String &  str)
void SPP::print ( const char *  data)
void SPP::print ( uint8_t  data)
void SPP::print ( uint8_t *  array,
uint8_t  length 
)
void SPP::print ( const __FlashStringHelper *  ifsh)
void SPP::println ( const String &  str)
void SPP::println ( const char *  data)
void SPP::println ( uint8_t  data)
void SPP::println ( uint8_t *  array,
uint8_t  length 
)
void SPP::println ( const __FlashStringHelper *  ifsh)
void SPP::println ( void  )
void SPP::printNumber ( int16_t  n)
void SPP::printNumber ( double  n,
uint8_t  digits = 2 
)
void SPP::printNumberln ( int16_t  n)
void SPP::printNumberln ( double  n,
uint8_t  digits = 2 
)
uint8_t SPP::read ( )
void SPP::Reset ( )
virtual

Reimplemented from BluetoothService.

void SPP::Run ( )
virtual

Reimplemented from BluetoothService.

Member Data Documentation

bool SPP::connected

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