示例#1
0
        //ble_rsp_attclient_find_information connection: 0 (0x00) result:0x0000 ['No Error']
        public void AttClientFindInfoResponse(object sender, Bluegiga.BLE.Responses.ATTClient.FindInformationEventArgs e)
        {
            String log = string.Format("Result: {0}\r\n", e.result);

            Log = log;

            byte[] inUint16 = new byte[2];
            inUint16   = BitConverter.GetBytes(e.result);
            RcvByte[0] = inUint16[0];
            RcvByte[1] = inUint16[1];

            RcvEventType    = -1;
            RcvResponseType = RspAttClientFindInfo;
        }
示例#2
0
        //ble_rsp_attclient_find_information connection: 0 (0x00) result:0x0000 ['No Error']
        public void AttClientFindInfoResponse(object sender, Bluegiga.BLE.Responses.ATTClient.FindInformationEventArgs e)
        {
            String log = string.Format("Result: {0}\r\n", e.result);

            ThreadSafeDelegate(delegate { rtxtLog.AppendText(log); });
        }