NXP-11222: cleaner way to parse the sub command status