| 102 | } |
| 103 | |
| 104 | int 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 | |
| 112 | std::pair<std::string, int> SocketBluetooth::discover (char *selector) |
| 113 | { |
nothing calls this directly
no outgoing calls
no test coverage detected