private void SendMessages(String config, ulong messageId, String md) { if (string.IsNullOrEmpty(config)) { return; } switch (md) { case MessagingDevice.Garmin: Fota.EnqueueGarmin(this, messageId, config); break; default: Fota.Enqueue(this, messageId, config); break; } /* IMessage msg = null; * SendPendingFota(ref msg); * if (msg == null) return; * * STrace.Debug(typeof (Parser).FullName, Id, String.Format("Enviando: {0}", msg.GetPendingAsString())); * DataLinkLayer.SendMessage(Id, msg); */ }
private void SendMessages(String config, ulong messageId, String md) { if (string.IsNullOrEmpty(config)) { return; } switch (md) { default: Fota.Enqueue(this, messageId, config); break; } }
private void SendMessages(String text, ulong sequence, ulong messageId, Boolean sendnowflag) { //STrace.Debug("", Id, "SendMessages did={0} msg={1}", Id, text); var msg = new UserMessage(Id, sequence).AddStringToSend(text); if (!sendnowflag) { Fota.Enqueue(this, messageId, text); } else { DataLinkLayer.SendMessage(Id, msg); } }
private void SendMessages(String config, ulong messageId, ulong seq) { Fota.Enqueue(this, messageId, String.Format("{0}///;#{1:X4}", config, seq)); }
private void SendMessages(String config, ulong messageId) { Fota.Enqueue(this, messageId, config); }