The following are instructions for connecting a Bluetooth device for serial communication on Arch Linux using BlueZ 5.31.
The following packages are required:
bluez:bluetoothdbluez-utils:bluetoothctl,rfcomm
| """ | |
| Implements a simple HTTP/1.0 Server | |
| """ | |
| import socket | |
| def handle_request(request): | |
| """Handles the HTTP request.""" |
| <?php | |
| class Mysql{ | |
| static private $link = null; | |
| static private $info = array( | |
| 'last_query' => null, | |
| 'num_rows' => null, | |
| 'insert_id' => null | |
| ); |