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

Method send

src/utils/bluetooth/socket_bluetooth_win.cpp:76–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76int SocketBluetooth::send (const char *data, int size)
77{
78 if (socket_bt == INVALID_SOCKET)
79 {
80 return -1;
81 }
82 int res = ::send (socket_bt, data, size, 0);
83 if (res == SOCKET_ERROR)
84 {
85 return -1;
86 }
87 return res;
88}
89
90int SocketBluetooth::recv (char *data, int size)
91{

Callers 1

bluetooth_write_dataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected