Detailed Description
IO object for Teltonika's FMXXXX GPS device .
- Author:
- Thierno Ib. Barry < >
- Date:
- 27 Feb 2011
- See also:
- Teltonika FMXXXX Protocols GNU/LGPL v2.1
- Todo:
- Add getters to get Hex values (getHexVaribleName) Example: getHexNbIO()
Constructor & Destructor Documentation
__construct |
( |
$ |
nb_io = null | ) |
|
Constructor
- Parameters:
-
array | $nb_io | The number of a IO's type |
Member Function Documentation
Add a new event into events array. Note: Both of the parameters must be an Hexadecimal value
- Parameters:
-
string | $id | The IO ID which generated the event. |
string | $val | The IO value of the generated event. |
Get the IO's events each converted in integer.
- See also:
- FMXXXX protocols for more informations about the IO's formation
- Returns:
- array Return IO's events array as array(io_id => io_value)
Get the number of IO value converted in integer.
- Returns:
- int Return the number of IO converted in integer
Setter for the number of IO. Note: The value must be in Hexadecimal.
- Parameters:
-
string | $val | The number of IO value in Hex base (16) |
The documentation for this class was generated from the following file: