MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / send

Method send

src/tests/utils/bluetooth/socket_bluetooth_test.cpp:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21int 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
34int SocketBluetooth::recv (char *data, int size)
35{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected