BTstack Bluetooth stack

Dependencies:   mbed USBHost

Embed: (wiki syntax)

« Back to documentation index

USBHostBTstack Class Reference

USBHostBTstack Class Reference

A class to communicate a BTstack. More...

#include <USBHostBTstack.h>

Public Member Functions

 USBHostBTstack ()
 Constructor.
bool connected ()
 Check if a BTstack device is connected.
bool connect ()
 Try to connect to a BTstack device.

Detailed Description

A class to communicate a BTstack.

Definition at line 16 of file USBHostBTstack.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 20 of file USBHostBTstack.cpp.


Member Function Documentation

bool connect (  )

Try to connect to a BTstack device.

Returns:
true if connection was successful

Definition at line 47 of file USBHostBTstack.cpp.

bool connected (  )

Check if a BTstack device is connected.

Returns:
true if a BTstack device is connected

Definition at line 42 of file USBHostBTstack.cpp.