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

Method connect

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

Source from the content-addressed store, hash-verified

9}
10
11int 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
21int SocketBluetooth::send (const char *data, int size)
22{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected