BayEOS-PHP
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
bayeos-gateway-client-php
BayEOSSender.php
Go to the documentation of this file.
1
<?php
2
/*
3
* Sender only
4
*/
5
require_once
'BayEOSGatewayClient.php'
;
6
7
$s
=
new
BayEOSSender
(
'/tmp/bayeos-device1'
,
8
"PHP-Test-Device"
,
9
"http://bayconf.bayceer.uni-bayreuth.de/gateway/frame/saveFlat"
,
10
"xbee"
,
11
"admin"
);
12
13
while
(TRUE){
14
$c
=
$s
->send();
15
if
(
$c
){
16
echo
"Successfully sent $c post requests\n"
;
17
}
18
sleep(5);
19
}
20
21
?>
$c
$c
Definition:
MySimpleClient.php:20
$s
$s
Definition:
BayEOSSender.php:7
BayEOSSender
Definition:
BayEOSGatewayClient.php:581
Generated on Wed Jul 22 2015 13:09:58 for BayEOS-PHP by
1.8.6