| 19 | } |
| 20 | |
| 21 | int SocketBluetooth::send (const char *data, int size) |
| 22 | { |
| 23 | switch (port) |
| 24 | { |
| 25 | case BRAINFLOW_TEST_BLUETOOTH_ALL_BYTES_AVAILABLE_PORT: |
| 26 | return size; |
| 27 | case BRAINFLOW_TEST_BLUETOOTH_SOME_BYTES_AVAILABLE_PORT: |
| 28 | return size / 2; |
| 29 | default: |
| 30 | return 0; |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | int SocketBluetooth::recv (char *data, int size) |
| 35 | { |
nothing calls this directly
no outgoing calls
no test coverage detected