Lines Matching refs:btstat
332 bt_status_t btstat = g_internal->gatt->client->register_client(&client_id); in ServiceStartedCallback() local
333 if (btstat != BT_STATUS_SUCCESS) { in ServiceStartedCallback()
344 bt_status_t btstat = g_internal->gatt->client->set_adv_data( in RegisterClientCallback() local
353 if (btstat != BT_STATUS_SUCCESS) { in RegisterClientCallback()
360 btstat = g_internal->gatt->client->listen(client_if, true); in RegisterClientCallback()
361 if (btstat != BT_STATUS_SUCCESS) { in RegisterClientCallback()
495 bt_status_t btstat = gatt->init(&gatt_callbacks); in Initialize() local
496 if (btstat != BT_STATUS_SUCCESS) { in Initialize()
558 bt_status_t btstat = internal_->gatt->server->register_server(&uuid); in Initialize() local
559 if (btstat != BT_STATUS_SUCCESS) { in Initialize()
592 bt_status_t btstat = internal_->gatt->client->set_adv_data( in SetAdvertisement() local
603 if (btstat != BT_STATUS_SUCCESS) { in SetAdvertisement()
626 bt_status_t btstat = internal_->gatt->client->set_adv_data( in SetScanResponse() local
637 if (btstat != BT_STATUS_SUCCESS) { in SetScanResponse()
647 bt_status_t btstat = internal_->AddCharacteristic( in AddCharacteristic() local
649 if (btstat != BT_STATUS_SUCCESS) { in AddCharacteristic()
665 bt_status_t btstat = internal_->AddCharacteristic( in AddBlob() local
667 if (btstat != BT_STATUS_SUCCESS) { in AddBlob()
676 btstat = internal_->AddCharacteristic( in AddBlob()
701 bt_status_t btstat = internal_->gatt->server->start_service( in Start() local
703 if (btstat != BT_STATUS_SUCCESS) { in Start()
714 bt_status_t btstat = internal_->gatt->server->stop_service( in Stop() local
716 if (btstat != BT_STATUS_SUCCESS) { in Stop()
726 bt_status_t btstat = internal_->gatt->client->scan(true); in ScanEnable() local
727 if (btstat) { in ScanEnable()
728 LOG_ERROR(LOG_TAG, "Enable scan failed: %d", btstat); in ScanEnable()
735 bt_status_t btstat = internal_->gatt->client->scan(false); in ScanDisable() local
736 if (btstat) { in ScanDisable()
737 LOG_ERROR(LOG_TAG, "Disable scan failed: %d", btstat); in ScanDisable()