PHP code example of dbursem / phpaprs
1. Go to this page and download the library: Download dbursem/phpaprs library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dbursem / phpaprs example snippets
$aprs = new dbursem\phpaprs\APRS();
if ($aprs->connect(HOST, PORT, MYCALL, PASSCODE, $filter) == FALSE)
{
die( "Connect failed\n");
}
while(1){
$aprs->ioloop(5);
// do stuff
sleep(1);
}