8 #ifndef BLUETOOTHCONTROLLER_H_ 9 #define BLUETOOTHCONTROLLER_H_ 13 #include <sys/socket.h> 14 #include <bluetooth/bluetooth.h> 15 #include <bluetooth/rfcomm.h> 17 extern char PC_ADDRESS_[18];
24 struct sockaddr_rc locAddr;
25 struct sockaddr_rc remAddr;
37 struct sockaddr_rc addr;
void BluetoothServer_disable(BluetoothServer_t *server)
void BluetoothClient_disable(BluetoothClient_t *client)
void BluetoothClient_enable(BluetoothClient_t *client)
void BluetoothServer_construct(BluetoothServer_t *server)
void BluetoothClient_checkError(BluetoothClient_t *client)
void BluetoothClient_sendString(BluetoothClient_t *client, char *data, int size)
Structure for creating a Bluetooth server.
Structure for creating a Bluetooth client.
void BluetoothServer_readChar(BluetoothServer_t *server, char *dst)
void BluetoothServer_enable(BluetoothServer_t *server)
void BluetoothServer_readInt(BluetoothServer_t *server, int *dst)
void BluetoothClient_construct(BluetoothClient_t *client)