Argox PA-20 Programming Guide User Manual

Page 18

Advertising
background image

PT-20 Programming Guide

16

BT_Close

Bluetooth disconnect.

BT_Read

Read characters from Bluetooth module.

BT_Write

Write characters to Bluetooth module.

BT_GetLocalInfo

Get Bluetooth information.

BT_SetLocalSet

Set Bluetooth information.

BT_Inquiry

Inquiry other Bluetooth module forPA-2010 / PA-2110 to

connect.

BT_DisConnectAlert

For bluetooth disconnect alert.

File Manipulation

__access

Check for file existence.

append

Write a specified number of bytes to bottom (end-of-file

position) of a DAT file.

appendln

Write a specified number of bytes to bottom (end-of-file

position) of a DAT file.

chsize

Extends or truncates a DAT file.

close

Close a DAT file.

delete_top

Remove a specified number of bytes from top

beginning-of-file position) of a DAT file.

delete_topln

Remove a null terminated character string from the top

(beginning-of-file position) of a DAT file.

eof

Check if file pointer of a DAT file reaches end of file.

filelength

Get file length information of a DAT file.

filelist

Get file directory information.

lseek

Move file pointer of a DAT file to a new position.

open

Open a DAT file and get the file handle of the file for further

processing.

read

Read a specified number of bytes from a DAT file.

read_error_code

Get the value of the global variable fErrorCode.

readln

Read a line terminated by

a null character “\0” from a DAT

file.

_remove

Delete file.

_rename

Change file name of an existing file.

tell

Get file pointer position of a DAT file.

write

Write a specified number of bytes to a DAT file.

writeln

Write a line terminated by a null character (\0) to a DAT file.

The null character is also written to the file. After writing in,

file position will update.

DiskC_format

Format disk C.

Advertising