Hi all,
I am facing some problems in developing classes to manage bluetooth devices.
I think this api can improve our FWPPC applications.
Does someone experience in BT api ??
Please... contact to me and I'll share code.
STATIC FUNCTION SENDBLUE2(cDbfFileWTxt)
LOCAL i, hOut, nLineVal:=40, nLineIncr:=50, ctext
local nCom := 5, nBauds := 57600, nParity := NOPARITY, nDataByt := 8,;
lIRmode := .f., nStopBits := ONESTOPBIT
hOut := CreateFile( "COM5:",GENERIC_WRITE, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL )
IF hOut==-1
MsgStop("Port Not Found")
return nil
endif
use (cDbfFileWTxt) alias DBFPrn NEW
dbgotop()
do while !eof()
if !ComSend( hOut, trim(DBFPrn->C1) + CRLF )
exit
endif
skip
enddo
USE
ComClose( hOut )
return nil
Return to FiveWin for Pocket PC
Users browsing this forum: No registered users and 24 guests