Ejemplo n.º 1
0
        public void GAPConnectResponseEvent(object sender, Bluegiga.BLE.Responses.GAP.ConnectDirectEventArgs e)
        {
            String log = string.Format("Result: {0}, Connection Handler: {1}\r\n", e.result, e.connection_handle);

            ThreadSafeDelegate(delegate { ProcAfterConnectResponse(log, (byte)e.result); });
            //bglib.SendCommand(serialAPI, bglib.BLECommandGAPEndProcedure());
        }
Ejemplo n.º 2
0
 public void GAPConnectDirect(object sender, Bluegiga.BLE.Responses.GAP.ConnectDirectEventArgs e)
 {
     this.bleConnectionHndl = e.connection_handle;
 }