void end();
void end();
Closes the corresponding SPP server instance and ends Bluetooth module.
None.
#include <LBTServer.h> void setup() { Serial.begin(9600); bool success = LBTServer.begin(); if( !success ) { Serial.println("Cannot begin Bluetooth Server successfully"); // Do nothing. while(true); } else { Serial.println("Bluetooth Server begins successfully"); } LBTServer.end(); } void loop() { }
LBTServer.h