Reference   Examples   Installation   Download
Name

clientConnectEvent()

Examples
Bluetooth bt;

void setup() {
  bt = new Bluetooth(this);
  bt.start("My service");
  noLoop();
}

void clientConnectEvent(Client client) {

  client.writeUTF("Saying hello!");
  client.close();

}

Description This callback method is called when a client has connected to the Bluetooth service started by this sketch. The data is a Client object that can be used to communicate with the client.
Syntax
void clientConnectEvent(Client client) {

}