void OnEvent_udPacket(object sender, udPacketEventArgs e)
        {
            /*
            richTextBox1_AppendText(String.Format("\r\nudPacket Received: Packet Length = {0}, {1}\r\n", e.Packet.Length, e.Length));

            protocol_T2.RUINF_process_recv_packet(e.Packet, (UInt16)e.Packet.Length);
            button_Enable(btnBLE_TestSend, true);
            //button_Enable(btnBLE_Disconnect, true);
            */
        }
예제 #2
0
        void OnEvent_udPacket(object sender, udPacketEventArgs e)
        {
            richTextBox1_AppendText(String.Format("\r\nudPacket Received: Packet Length = {0}, {1}\r\n", e.Packet.Length, e.Length));

            protocol_T2.RUINF_process_recv_packet(e.Packet, (UInt16)e.Packet.Length);
        }
예제 #3
0
 void bleCtrl_userEv_udPacket(object sender, udPacketEventArgs e)
 {
     theRxPacket = e.Packet;
     theRxPacketLength = e.Length;
 }