BayEOS-PHP
 All Data Structures Namespaces Files Functions Variables Pages
Public Member Functions
QLI Class Reference
Inheritance diagram for QLI:
phpSerial

Public Member Functions

 QLI ($tz, $datetime_format, $indexmap=FALSE)
 
 confDefaults ($device= '/dev/ttyUSB0')
 
 open ($waitForOpened=0.1)
 
 close ()
 
 read ($count=0)
 
 getFrame ($timeout=120)
 
- Public Member Functions inherited from phpSerial
 phpSerial ()
 
 deviceSet ($device)
 
 deviceOpen ($mode="r+b")
 
 deviceClose ()
 
 confBaudRate ($rate)
 
 confParity ($parity)
 
 confCharacterLength ($int)
 
 confStopBits ($length)
 
 confFlowControl ($mode)
 
 setSetserialFlag ($param, $arg="")
 
 sendMessage ($str, $waitForReply=0.1)
 
 readPort ($count=0)
 
 serialflush ()
 
 _ckOpened ()
 
 _ckClosed ()
 
 _exec ($cmd, &$out=null)
 

Additional Inherited Members

- Data Fields inherited from phpSerial
 $_device = null
 
 $_windevice = null
 
 $_dHandle = null
 
 $_dState = SERIAL_DEVICE_NOTSET
 
 $_buffer = ""
 
 $_os = ""
 
 $autoflush = true
 

Detailed Description

Definition at line 12 of file QLI.php.

Member Function Documentation

close ( )

Closes this QLI connection

Returns
void

Definition at line 61 of file QLI.php.

confDefaults (   $device = '/dev/ttyUSB0')

Sets up typical Connection 9600 8-N-1

Parameters
String$deviceis the path to the QLI, defaults to /dev/ttyUSB0
Returns
void

Definition at line 36 of file QLI.php.

getFrame (   $timeout = 120)

Definition at line 149 of file QLI.php.

open (   $waitForOpened = 0.1)

Opens this QLI connection.

Note that you can send raw serial with sendMessage from phpSerial

Returns
void
Parameters
$waitForOpenedint amount to sleep after openeing in seconds. Defaults to 0.1

Definition at line 52 of file QLI.php.

QLI (   $tz,
  $datetime_format,
  $indexmap = FALSE 
)

Constructor. Parent is phpSerial

Returns
QLI

Definition at line 22 of file QLI.php.

read (   $count = 0)

Definition at line 66 of file QLI.php.


The documentation for this class was generated from the following file: