/// <summary>
 /// Deserialise the contents of the EZSP structure. </summary>
 public void Deserialize(EzspDeserializer deserializer)
 {
     _extendedPanId = deserializer.DeserializeExtendedPanId();
     _panId         = deserializer.DeserializeUInt16();
     _radioTxPower  = deserializer.DeserializeUInt8();
     _radioChannel  = deserializer.DeserializeUInt8();
     _joinMethod    = deserializer.DeserializeEmberJoinMethod();
     _nwkManagerId  = deserializer.DeserializeUInt16();
     _nwkUpdateId   = deserializer.DeserializeUInt8();
     _channels      = deserializer.DeserializeUInt32();
 }
Example #2
0
 public void SerializeEmberJoinMethod(EmberJoinMethod joinMethod)
 {
     _buffer[_length++] = (int)joinMethod;
 }
 /// <summary>
 /// The joinMethod to set as <see cref="EmberJoinMethod"/> </summary>
 public void SetJoinMethod(EmberJoinMethod joinMethod)
 {
     _joinMethod = joinMethod;
 }