QNBleProtocolHandler

Yolanda Bluetooth protocol processing class, in conjunction with QNBleProtocolDelegate, enables customers to manage Bluetooth connections themselves.

The callback of weighing data is still through QNScaleDataListener. Related information such as Bluetooth connection status is no longer callback QNBleConnectionChangeListener

Method

prepare

Notify the protocol processor to do the initialization work

Parameters

name Types of Explanation
service_uuid string UUID of the main service

onGetBleData

name Types of Explanation
service_uuid string UUID of Bluetooth service
characteristic_uuid string UUID of eigenvalue
data byte[]/NSData The data returned by Bluetooth (whether it is read data or Bluetooth callback data is passed to this method), Android is a byte array, and iOS is an NSData object

results matching ""

    No results matching ""