Skip to content

BluetoothPreference

com.brother.ptouch.sdk.BluetoothPreference stores information of Bluetooth printer settings for MW series.

Properties

enableSsp

Enable / disable of Secure Simple Pairing. The default value is NOCHANGE.

Declaration

SSP enableSsp;

powerMode

The power-saving settings can be specified. The default value is NOCHANGE.

Declaration

PowerSaveMode powerMode;

Types

SSP

The definition of Secure Simple Pairing (SSP) settings.

Declaration

enum SSP {
    // Enable SSP.
    ENABLE,

    // Disable SSP.
    // For MW-145BT, PIN code input and encryption is enabled when SSP is disabled.
    DISABLE,

    // Not change SSP setting.
    NOCHANGE,
}

PowerSaveMode

The definition of power save mode settings.

Declaration

enum PowerSaveMode {
    // Connection time priority
    CONNECTION_MODE,

    // Standard mode
    STANDARD_MODE,

    // Power-saving priority
    ECO_MODE,

    // Not change power mode setting setting.
    NOCHANGE,
}