5 #ifndef ev3_bluetooth_h
6 #define ev3_bluetooth_h
8 #define BLUETOOTH_ADDRESS_LENGTH 18 // 00:00:00:00:00:00 + null terminator
9 #define MAX_BLUETOOTH_NAME_LENGTH 128
19 BluetoothConnectionHandle
ConnectTo(
char * nameOrAddress);
28 void SendStringTo(BluetoothConnectionHandle to,
char * str);
41 int ReceiveStringFrom(BluetoothConnectionHandle from,
char * buffer,
int bufferLength);
45 #endif // ev3_bluetooth_h
int BluetoothConnectionHandle
Definition: ev3_bluetooth.h:11
BluetoothConnectionHandle ConnectTo(char *nameOrAddress)
BluetoothConnectionHandle WaitConnection()
void DisconnectFrom(BluetoothConnectionHandle from)
void SendStringTo(BluetoothConnectionHandle to, char *str)
int ReceiveStringFrom(BluetoothConnectionHandle from, char *buffer, int bufferLength)