[api] Revert unneeded GetTime bidirectional support added in #9790 (#10702)

This commit is contained in:
J. Nick Koston authored and Jesse Hills committed 2025-09-15 12:34:55 +12:00
1 parent c601494779
commit ae158179bd
8 files changed
+4 -48

No files matched your search

@@ -1081,12 +1081,6 @@ void APIConnection::on_get_time_response(const GetTimeResponse &value) {
}
#endif
bool APIConnection::send_get_time_response(const GetTimeRequest &msg) {
GetTimeResponse resp;
resp.epoch_seconds = ::time(nullptr);
return this->send_message(resp, GetTimeResponse::MESSAGE_TYPE);
}
#ifdef USE_BLUETOOTH_PROXY
void APIConnection::subscribe_bluetooth_le_advertisements(const SubscribeBluetoothLEAdvertisementsRequest &msg) {
bluetooth_proxy::global_bluetooth_proxy->subscribe_api_connection(this, msg.flags);