示例#1
0
 internal XBeeRLPTransaction(Device dev, byte[] data, XBeeRadioLinkProtocol _rlp)
 {
     State       = States.SENDING;
     buffer      = data;
     d           = dev;
     rlp         = _rlp;
     tr_timer_id = Scheduler.Scheduler.AddTimer(Timeout, 5000);
     tv_timer_id = Scheduler.Scheduler.AddTimer(Timeout, 60000);
 }
示例#2
0
 /// <summary>
 /// El dispositivo aparecio visible.
 /// </summary>
 public void DeviceComesUp(XBeeRadioLinkProtocol rLP, TransporteXBEE transporte)
 {
     RLP        = rLP;
     Transporte = transporte;
     State      = SessionStates.STARTING_UP;
 }