/// <summary> /// Serializes an IeeeAddress <seealso cref="IeeeAddress"/> /// </summary> /// <param name="address">The IeeeAddress <seealso cref="IeeeAddress"/></param> protected void SerializeIeeeAddress(IeeeAddress address) { for (int cnt = 7; cnt >= 0; cnt--) { _buffer[_length++] = address.GetAddress()[cnt]; } }
public void SerializeEmberEui64(IeeeAddress address) { _buffer[_length++] = address.GetAddress()[0]; _buffer[_length++] = address.GetAddress()[1]; _buffer[_length++] = address.GetAddress()[2]; _buffer[_length++] = address.GetAddress()[3]; _buffer[_length++] = address.GetAddress()[4]; _buffer[_length++] = address.GetAddress()[5]; _buffer[_length++] = address.GetAddress()[6]; _buffer[_length++] = address.GetAddress()[7]; }