Exemple #1
0
        public void BleHostTerminate()
        {
            isRun = false;

            if (!CsrBleDll.CsrBleHostDeinit())
            {
                Error("Unable to de-initialize uEnergy Host.");
            }
            else
            {
                OnLogEvent("BleHostTerminate");
            }
        }
Exemple #2
0
        public void BleHostTerminate()
        {
            _isRun = false;

            CsrBleDll.CsrBleHostCancel();

            if (!CsrBleDll.CsrBleHostDeinit())
            {
                Error("[CSR]:BleHostTerminate Fail!");
            }
            else
            {
                Info("[CSR]:BleHostTerminate Success!");
            }
        }