| 9 | } |
| 10 | |
| 11 | int SocketBluetooth::connect () |
| 12 | { |
| 13 | if (mac_addr != BRAINFLOW_TEST_BLUETOOTH_VALID_MAC || |
| 14 | port == BRAINFLOW_TEST_BLUETOOTH_CANNOT_OPEN_PORT) |
| 15 | { |
| 16 | return (int)SocketBluetoothReturnCodes::CONNECT_ERROR; |
| 17 | } |
| 18 | return (int)SocketBluetoothReturnCodes::STATUS_OK; |
| 19 | } |
| 20 | |
| 21 | int SocketBluetooth::send (const char *data, int size) |
| 22 | { |
nothing calls this directly
no outgoing calls
no test coverage detected