pub fn read_command_from_msg_buffer(ctx: &mut CommandContext) -> u32