btPrinterRead

Description

Reads data from a bluetooth device.

Input / Parameter

N/A

Output

N/A

Callback

callback

The function to be executed if the reading of data is successful.

errorCallback

The function to be executed if the reading of data is not successful.

Video

Coming Soon.

Example

The user wants to read data from a bluetooth device.

Steps

  1. Call the function btPrinterRead.

  2. Call the function infoDialog in the callbacks of the btPrinterRead function to view the status.

Result

  1. If reading the data is successful, then a success infoDialog will appear, otherwise the error infoDialog will appear.

Last updated