Bluetooth(For Pa-2010 / Pa-2110) - Argox PA-20 Programming Manual

Portable data terminal
Hide thumbs Also See for PA-20:
Table of Contents

Advertisement

Bluetooth(For PA-2010 / PA-2110)

These functions only for PA-2010 / PA-2110, and our Bluetooth module only
support SPP mode(Serial Port Profile).
BT_Start
Purpose:
Bluetooth module power enable.
Syntax:
int BT_Start(void);
Example call:
BT_Start();
#include "SDK.h "
Includes:
Description:
This function can enable Bluetooth module power. After use this function,
the left led will flash blue light.If you want to use other Bluetooth function,
you must run this function first.
Returns:
BT_NOMODULE : The terminal is notPA-2010 / PA-2110.
BT_START : Bluetooth module has been power enable, please run
BT_Stop.
BT_OK : Bluetooth module power enable.
BT_Stop
Purpose:
Bluetooth module power disable.
Syntax:
int BT_Stop(void);
Example call:
BT_Stop();
#include "SDK.h "
Includes:
Description:
This function can disable Bluetooth module power. Each Bluetooth
function will return "BT_NOSTART" after use this function, and the left led
will stop flashing.
Returns:
BT_NOMODULE : The terminal is notPA-2010 / PA-2110.
BT_NOSTART : Bluetooth module power disable, please run BT_Start.
BT_OK : Bluetooth module power disable.
BT_Open
Purpose:
Bluetooth connect.
Syntax:
int BT_Open(void);
Example call:
BT_Open();
#include "SDK.h "
Includes:
Description:
This function can connect to other Bluetooth device.Befor use this
function, you have to set the target Bluetooth MAC address by using
"BT_SetLocalSet" function.
Returns:
BT_NOMODULE : The terminal is notPA-2010 / PA-2110.
BT_NOSTART : Bluetooth module power disable, please run BT_Start.
PT-20 Programming Guide
32

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pa-21Pa-2110Pa-2010

Table of Contents