bluetooth_gatt_interface.cpp | 42 BluetoothGattInterface* g_interface = nullptr; member in namespace:bluetooth::hal::__anon73507 44 // Mutex used by callbacks to access |g_interface|. If we initialize or clean it 45 // use unique_lock. If only accessing |g_interface| use shared lock. 67 if (!g_interface) { \ 68 LOG(WARNING) << "Callback received while |g_interface| is NULL"; \ 80 RegisterClientCallback(g_interface, status, client_if, *app_uuid)); 92 ScanResultCallback(g_interface, *bda, rssi, adv_data)); 106 ConnectCallback(g_interface, conn_id, status, client_if, *bda)); 120 DisconnectCallback(g_interface, conn_id, status, client_if, *bda)); 130 SearchCompleteCallback(g_interface, conn_id, status)) [all...] |