Syntax
void end();
ContentsIndex
PreviousUpNext
LBTClientClass::end Method
LBTClientClass Class | Example
Syntax
void end();
Description

Closes corresponding Bluetooth SPP client instance and ends Bluetooth module.

Returns

None.

Example
#include <LBTClient.h>
      
void setup()
{
  Serial.begin(9600);
  bool success = LBTClient.begin();
  if( !success )
  {
      Serial.println("Cannot begin Bluetooth Client successfully");
      // Do nothing.
      while(true);
  } 
  else
  {
      Serial.println("Bluetooth Client begins successfully");
  }
 
  LBTClient.end();
}
 
void loop()
{
  
}
File

LBTClient.h

Class