Lines Matching refs:server_if
116 int server_if; member
133 void RegisterServerCallback(int status, int server_if, bt_uuid_t *app_uuid) { in RegisterServerCallback() argument
135 server_if, app_uuid); in RegisterServerCallback()
137 g_internal->server_if = server_if; in RegisterServerCallback()
145 server_if, &service_id, kNumBlueDroidHandles); in RegisterServerCallback()
148 void ServiceAddedCallback(int status, int server_if, btgatt_srvc_id_t *srvc_id, in ServiceAddedCallback() argument
151 __func__, status, server_if, srvc_id->id.inst_id, srvc_handle); in ServiceAddedCallback()
154 g_internal->server_if = server_if; in ServiceAddedCallback()
284 void ConnectionCallback(int conn_id, int server_if, int connected, in ConnectionCallback() argument
288 __func__, conn_id, server_if, connected, addr.c_str()); in ConnectionCallback()
296 void CharacteristicAddedCallback(int status, int server_if, bt_uuid_t *uuid, in CharacteristicAddedCallback() argument
300 status, server_if, srvc_handle, char_handle); in CharacteristicAddedCallback()
314 void DescriptorAddedCallback(int status, int server_if, bt_uuid_t *uuid, in DescriptorAddedCallback() argument
319 __func__, status, server_if, srvc_handle, uuid->uu[0], descr_handle); in DescriptorAddedCallback()
322 void ServiceStartedCallback(int status, int server_if, int srvc_handle) { in ServiceStartedCallback() argument
324 status, server_if, srvc_handle); in ServiceStartedCallback()
373 void ServiceStoppedCallback(int status, int server_if, int srvc_handle) { in ServiceStoppedCallback() argument
375 status, server_if, srvc_handle); in ServiceStoppedCallback()
516 server_if, service_handle, &c_uuid, properties, permissions); in AddCharacteristic()
521 server_if(0), in ServerInternals()
532 gatt->server->delete_service(server_if, service_handle); in ~ServerInternals()
533 gatt->server->unregister_server(server_if); in ~ServerInternals()
566 if (internal_->server_if == 0) { in Initialize()
702 internal_->server_if, internal_->service_handle, GATT_TRANSPORT_LE); in Start()
715 internal_->server_if, internal_->service_handle); in Stop()
762 internal_->gatt->server->send_indication(internal_->server_if, in SetCharacteristicValue()