com.rscja.deviceapi.interfaces

## Interface IBluetoothData

-     public interface IBluetoothData

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `IBluetoothData.OnBleDataChangeListener` 接收蓝牙原始数据的接口 Interface of receiving initial data.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int[]` | `getMainboardVersion()` 获取主板版本
    `boolean` | `send(byte[] sendData)`
    `byte[]` | `sendAndReceive(byte[] sendData, int timeOut)`
    `void` | `setOnBleDataChangeListener(IBluetoothData.OnBleDataChangeListener onDataChangeListener)` 设置接收蓝牙原始数据的回调函数 setup call back function for receiving BT initial data.

- - ### Method Detail

    - #### sendAndReceive

          byte[] sendAndReceive(byte[] sendData,
                                int timeOut)

    - #### send

          boolean send(byte[] sendData)

    - #### setOnBleDataChangeListener

          void setOnBleDataChangeListener(IBluetoothData.OnBleDataChangeListener onDataChangeListener)

      设置接收蓝牙原始数据的回调函数
      setup call back function for receiving BT initial data.
      Parameters:
        `onDataChangeListener` - OnDataChangeListener

    - #### getMainboardVersion

          int[] getMainboardVersion()

      获取主板版本