Select your printer model

Parameters are refined by the selected printer.

disconnectDevice


Disconnects from a Bluetooth device paired with the terminal.

Syntax

 
- (int) disconnectDevice:(NSString *) macAddress;

Parameter

macAddress

Specify the BD address of a paired printer to disconnect.

Format

Description

BT: 00:11:22:33:44:55

BT: 00-11-22-33-44-55

BT: 001122334455

Separated by ":" (colon).

Separated by "-" (hyphen).

No separation

Return value

The result of the API is returned.

Error status

Description

EPOS2_BT_SUCCESS

The function was executed successfully.

EPOS2_BT_ERR_PARAM

An invalid parameter was passed.

EPOS2_BT_ERR_CONNECT

A communication error occurred.

EPOS2_BT_ERR_MEMORY

Memory necessary for processing could not be allocated.

EPOS2_BT_ERR_ILLEGAL

The function was used in an illegal way.

EPOS2_BT_ERR_UNSUPPORTED

The function was used with an unsupported printer.

EPOS2_ERR_FAILURE

An unknown error occurred.

Supplementary explanation

Use this API after calling disconnect API.

 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

Epson ePOS SDK includes patented or patent pending functions. The contents must not be disclosed to third parties.


Epson ePOS SDK for iOS

Jump to the top