Argox PA-20 Programming Guide Manual do Utilizador Página 34

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 130
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 33
PT-20 Programming Guide
32
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();
Includes
#include “SDK.h ”
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();
Includes
#include “SDK.h ”
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();
Includes
#include “SDK.h ”
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.
Vista de página 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 129 130

Comentários a estes Manuais

Sem comentários