public override void Parse(IPacketParser parser) { //eat packet bytes -- they will be save to bytearray and stored in response parser.ReadRemainingBytes(); // TODO gotta save it because it isn't know to the enum apiId won't GenericApiId = (byte)parser.ApiId; }
public override void Parse(IPacketParser parser) { //eat packet bytes -- they will be save to bytearray and stored in response parser.ReadRemainingBytes(); // TODO gotta save it because it isn't know to the enum apiId won't GenericApiId = (byte)parser.ApiId; }
public override void Parse(IPacketParser parser) { Source = parser.ApiId == ApiId.Rx16Response ? (XBeeAddress) parser.ParseAddress16() : parser.ParseAddress64(); base.Parse(parser); Payload = parser.ReadRemainingBytes(); }
public override void Parse(IPacketParser parser) { Source = parser.ApiId == ApiId.Rx16Response ? (XBeeAddress)parser.ParseAddress16() : parser.ParseAddress64(); base.Parse(parser); Payload = parser.ReadRemainingBytes(); }
public override void Parse(IPacketParser parser) { base.Parse(parser); Command = UshortUtils.ToUshort( parser.Read("AT Response Char 1"), parser.Read("AT Response Char 2")); Status = (AtResponseStatus)parser.Read("AT Response Status"); Value = parser.ReadRemainingBytes(); }
public override void Parse(IPacketParser parser) { base.Parse(parser); Command = UshortUtils.ToUshort( parser.Read("AT Response Char 1"), parser.Read("AT Response Char 2")); Status = (AtResponseStatus) parser.Read("AT Response Status"); Value = parser.ReadRemainingBytes(); }
public override void Parse(IPacketParser parser) { FrameId = parser.Read("Frame Id"); RemoteSerial = parser.ParseAddress64(); RemoteAddress = parser.ParseAddress16(); Command = UshortUtils.ToUshort( parser.Read("AT Response Char 1"), parser.Read("AT Response Char 2")); Status = (AtResponseStatus) parser.Read("AT Response Status"); Value = parser.ReadRemainingBytes(); }
public override void Parse(IPacketParser parser) { FrameId = parser.Read("Frame Id"); RemoteSerial = parser.ParseAddress64(); RemoteAddress = parser.ParseAddress16(); Command = UshortUtils.ToUshort( parser.Read("AT Response Char 1"), parser.Read("AT Response Char 2")); Status = (AtResponseStatus)parser.Read("AT Response Status"); Value = parser.ReadRemainingBytes(); }
protected override void ParseFramePayload(IPacketParser parser) { Payload = parser.ReadRemainingBytes(); }
protected override void ParseFramePayload(IPacketParser parser) { Payload = parser.ReadRemainingBytes(); }