getDevices
Function: getDevices
Parameters: array of user IDs
Returns: array of bluetooth device MAC addresses
Description:
If an array of user IDs is provided, will return the MAC addresses of the bluetooth devices of those people. Otherwise, it will return the MAC addresses of the bluetooth devices currently detected by the public displays.
If no devices are found, getDevices() returns null
Usage:
<?php
include_once ’situated.class.php’;
$obj = new Situated();
$devices = $obj->getDevices();
?><html>
<body>
<pre>
<?print_r($devices);?>
</pre>
</body>
</html>
Leave a Reply
You must be logged in to post a comment.