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

Method close

src/utils/bluetooth/socket_bluetooth_linux.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104int SocketBluetooth::close ()
105{
106 int result = ::close (socket_bt);
107 socket_bt = -1;
108 return result == 0 ? (int)SocketBluetoothReturnCodes::STATUS_OK :
109 (int)SocketBluetoothReturnCodes::DISCONNECT_ERROR;
110}
111
112std::pair<std::string, int> SocketBluetooth::discover (char *selector)
113{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected