Function return values, E_func_succeed, E_func_error – Argox PT-9130 User Manual

Page 253: E_func_par_error, E_func_nullptr, Bt_err_create_fail, Bt_err_inusing, Bt_err_setting_fail, Bt_err_reg_dev_fail, Bt_err_spp_com_fail

Advertising
background image

PT-90 Mobile Computer SDK Programming Manual 246

Function Return Values

Constant

Value

Description

E_FUNC_SUCCEED

0x00000000

The function returned without error.

E_FUNC_ERROR

0x00000001

The function returned error.

E_FUNC_NULLPTR

0x00000002

A null pointer was passed to the function.

E_FUNC_PAR_ERROR

0x00000003

An invalid parameter was passed to the function.

E_FUNC_SCANNER_NOT_OPEN

0x00000004

The scanning device is not enabled.

E_FUNC_SETTING_FAIL

0x00000005

The function setting failed.

BT_ERR_CREATE_FAIL

0x00001001

BlueTooth module startup fail

BT_ERR_INUSING

0x00001002

BlueTooth module is using by other application

BT_ERR_DEVICE_ERROR

0x00001003

BlueTooth Initial setting fail

BT_ERR_SETTING_FAIL

0x00001004

BlueTooth setup fail

BT_ERR_REG_DEV_FAIL

0x00001005

Register communication port fail

BT_ERR_SPP_COM_FAIL

0x00001006

SPP service com open fail

BT_ERR_INSUFFICIENT

0x00001007

The buffer for receivc data is insufficient

BT_ERR_PAIR_FAIL

0x00001008

Pait to device fail

BT_ERR_CHANNEL

0x00001009

SPP channel error

BT_ERR_FTP_SERVER_REJECT

0x00001010

FTP server reject connect request

BT_ERR_DIVICE_NOT_CONNECT

0x00001011

FTP service device not connect

BT_ERR_FTP_DIR_FAIL

0x00001012

Search the direction fail

BT_ERR_FTP_EMPTY_FILE

0x00001013

No more file data

BT_ERR_CONNECTED

0x00001014

The device had connected

Advertising