| 69 | } |
| 70 | |
| 71 | std::pair<std::string, int> SocketBluetooth::discover (char *device_selector) |
| 72 | { |
| 73 | if ((device_selector == NULL) || |
| 74 | (strcmp (device_selector, BRAINFLOW_TEST_BLUETOOTH_DISCOVERABLE_SELECTOR) != 0)) |
| 75 | { |
| 76 | return std::make_pair<std::string, int> ( |
| 77 | "", (int)SocketBluetoothReturnCodes::DEVICE_IS_NOT_DISCOVERABLE); |
| 78 | } |
| 79 | |
| 80 | return std::make_pair<std::string, int> ( |
| 81 | BRAINFLOW_TEST_BLUETOOTH_VALID_MAC, (int)SocketBluetoothReturnCodes::STATUS_OK); |
| 82 | } |
nothing calls this directly
no outgoing calls
no test coverage detected