USB_Host_Shield_2.0
|
#include <SPP.h>
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 |
SPP::SPP | ( | BTD * | p, |
const char * | name = "Arduino" , |
||
const char * | pin = "1234" |
||
) |
|
virtual |
Reimplemented from BluetoothService.
|
inline |
|
virtual |
Reimplemented from BluetoothService.
const char * SPP::doubleToString | ( | double | input, |
uint8_t | digits | ||
) |
|
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 | ( | ) |
|
virtual |
Reimplemented from BluetoothService.
|
virtual |
Reimplemented from BluetoothService.
bool SPP::connected |