Add hasClient for BluetoothSerial (#1183)

* Add hasClient for BluetoothSerial

* Add SPP_TAG
This commit is contained in:
copercini
2018-03-09 07:16:18 -03:00
committed by Me No Dev
parent e9ee0ab7df
commit 3a4ec66d41
3 changed files with 11 additions and 1 deletions

View File

@ -40,6 +40,7 @@ class BluetoothSerial: public Stream
bool begin(String localName=String());
int available(void);
int peek(void);
bool hasClient(void);
int read(void);
size_t write(uint8_t c);
size_t write(const uint8_t *buffer, size_t size);