| 405 | } |
| 406 | |
| 407 | void unpair(const std::array<uint8_t, 6>& addr) { |
| 408 | Device* dev = device_find_first_active_by_type(&BLUETOOTH_TYPE); |
| 409 | if (dev != nullptr) { |
| 410 | bluetooth_unpair(dev, addr.data()); |
| 411 | } |
| 412 | settings::remove(settings::addrToHex(addr)); |
| 413 | } |
| 414 | |
| 415 | void connect(const std::array<uint8_t, 6>& addr, int profileId) { |
| 416 | LOGGER.info("connect(profile={})", profileId); |
no test coverage detected