I am using Ble2 library to connect to my device. No problem. Enhancing my program I decided to change the program such that when the user opens my program it should automatically enable the BT adaptor if not enabled and start a scan for BLE devices.
I am using both the BLE2 library and BluetoothAdmin. BluetoothAdmin is used to enable the adaptor and Ble2 is used for Tx/RX. Both libraries have got a 'StateChanged' event. It seems that two libraries are not playing nice together. Is there a way not to use BluetoothAdmin and to enable the BT adaptor or what are my options?
I am using both the BLE2 library and BluetoothAdmin. BluetoothAdmin is used to enable the adaptor and Ble2 is used for Tx/RX. Both libraries have got a 'StateChanged' event. It seems that two libraries are not playing nice together. Is there a way not to use BluetoothAdmin and to enable the BT adaptor or what are my options?