Home
last modified time | relevance | path

Searched refs:server_if_ (Results 1 – 2 of 2) sorted by relevance

/system/bt/service/example/heart_rate/
Dheart_rate_server.cc102 server_if_(-1), in HeartRateServer()
113 if (!gatt_.get() || server_if_ == -1) return; in ~HeartRateServer()
120 gatt_->UnregisterServer(server_if_); in ~HeartRateServer()
178 gatt_->SendNotification(server_if_, String16(String8(iter.first.c_str())), in SendHeartRateMeasurement()
238 server_if_ = server_if; in OnServerRegistered()
240 LOG(INFO) << "Heart Rate server registered - server_if: " << server_if_; in OnServerRegistered()
264 Status stat = gatt_->AddService(server_if_, (BluetoothGattService)hrService, in OnServerRegistered()
330 gatt_->SendResponse(server_if_, device_address, request_id, error, offset, in OnCharacteristicReadRequest()
346 gatt_->SendResponse(server_if_, device_address, request_id, in OnDescriptorReadRequest()
364 gatt_->SendResponse(server_if_, device_address, request_id, error, offset, in OnDescriptorReadRequest()
[all …]
Dheart_rate_server.h98 int server_if_; variable