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); */ }
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); }
void bleCtrl_userEv_udPacket(object sender, udPacketEventArgs e) { theRxPacket = e.Packet; theRxPacketLength = e.Length; }