Search in sources :

Example 1 with BlueGigaEndProcedureCommand

use of org.eclipse.smarthome.binding.bluetooth.bluegiga.internal.command.gap.BlueGigaEndProcedureCommand in project smarthome by eclipse.

the class BlueGigaBridgeHandler method bgStopProcedure.

/*
     * The following methods are private methods for handling the BlueGiga protocol
     */
private boolean bgStopProcedure() {
    BlueGigaCommand command = new BlueGigaEndProcedureCommand();
    BlueGigaEndProcedureResponse response = (BlueGigaEndProcedureResponse) getBgHandler().sendTransaction(command);
    return response.getResult() == BgApiResponse.SUCCESS;
}
Also used : BlueGigaCommand(org.eclipse.smarthome.binding.bluetooth.bluegiga.internal.BlueGigaCommand) BlueGigaEndProcedureResponse(org.eclipse.smarthome.binding.bluetooth.bluegiga.internal.command.gap.BlueGigaEndProcedureResponse) BlueGigaEndProcedureCommand(org.eclipse.smarthome.binding.bluetooth.bluegiga.internal.command.gap.BlueGigaEndProcedureCommand)

Aggregations

BlueGigaCommand (org.eclipse.smarthome.binding.bluetooth.bluegiga.internal.BlueGigaCommand)1 BlueGigaEndProcedureCommand (org.eclipse.smarthome.binding.bluetooth.bluegiga.internal.command.gap.BlueGigaEndProcedureCommand)1 BlueGigaEndProcedureResponse (org.eclipse.smarthome.binding.bluetooth.bluegiga.internal.command.gap.BlueGigaEndProcedureResponse)1