Replace header for message, by deviceHeader and commandHeader