public void SendCommand(Message message, Link link, string description = null) { if (description == null) { description = message.ToString(); } SendCommand(message.Packet, link, description); }
public static void SendMessage(Message m) { if (HasConnection) { try { client.SendCommand(m.Packet, client.SPPLink, m.ToString()); } catch (Exception ex) { Logger.Error(ex, "Internal to WT32", "> BT"); } } }