ot::Message::GetMleCommand() const method
Gets the MLE command type. Caller MUST ensure that message sub type is `kSubTypeMle` before calling this method. Otherwise the returned value is not meaningful.
Syntax
Mle::Command GetMleCommand(void) const; Return value
The message's MLE command type.