consolidated all device/host message definitions into firmware/lib/msg.h