package com.device.comm.mylibrary;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

/**
 * Created by lvwang2002 on 16/1/20.
 */
public class BLEDeviceService extends Service {

    private String TAG = "REACT_BLE_SERVICE";
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public void onCreate() {
        super.onCreate();
//        IntentFilter intentFilter = new IntentFilter();
//        intentFilter.addAction(BleDeviceManager.MSG_BLE_IDLE);
//        intentFilter.addAction(BleDeviceManager.MSG_BLE_CONNECTING);
//        intentFilter.addAction(BleDeviceManager.MSG_BLE_CONNECTED);
//        intentFilter.addAction(BleDeviceManager.MSG_BLE_DISCONNECT);
//        intentFilter.addAction(UsbManager.ACTION_USB_DEVICE_DETACHED);
//        intentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION);
//        intentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
//
//        registerReceiver(mReceiver, intentFilter);
    }
//
    public void init() {
//        mDeviceManagerFactory = DeviceMangerFactory.getInstance();
//        mDeviceManagerFactory.setDeviceManager(this);
//        isSupportBle = checkEnable();
//        if (isSupportBle) {
//            mBleDeviceManager = BleDeviceManager.getInstance();
//            mBleDeviceManager.init(this);
//        }
//        isConnected = false;
    }




}
