Ejemplo n.º 1
0
        /// <summary>
        /// A helper to just send a message without a transaction
        /// </summary>
        /// <param name="msg">Message to send</param>
        public void Send(Message msg)
        {
            // Convert the outgoing message to an array of bytes
            bool[] bit_array = msg.ToBitArray();
            byte[] data      = Util.ConvertBitArrayToByteArray(bit_array);

            commIF.Send(data);
        }
Ejemplo n.º 2
0
 public static void Send(CommunicationInterface ci, byte[] data) => ci.Send(data);