BayEOS-PHP
 All Data Structures Namespaces Files Functions Variables Pages
Static Public Member Functions
BayEOS Class Reference

Static Public Member Functions

static createDataFrame ($values, $type=0x1, $offset=0)
 
static parseFrame ($frame, $ts=FALSE, $origin='', $rssi=FALSE)
 
static parseDataFrame ($frame)
 

Detailed Description

Definition at line 193 of file BayEOSGatewayClient.php.

Member Function Documentation

static createDataFrame (   $values,
  $type = 0x1,
  $offset = 0 
)
static

create bayeos data frame

Parameters
array$values
int$type
int$offset
Returns
string (binary)

Definition at line 202 of file BayEOSGatewayClient.php.

static parseDataFrame (   $frame)
static

Parse a bayeos data frame into a PHP array

Parameters
string$frame
Returns
array

Definition at line 320 of file BayEOSGatewayClient.php.

static parseFrame (   $frame,
  $ts = FALSE,
  $origin = '',
  $rssi = FALSE 
)
static

Parse a binary bayeos frame into a PHP array

Parameters
string$frame
float$ts
string$origin
int$rssi
Returns
array

Definition at line 243 of file BayEOSGatewayClient.php.


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