core/msg: centralize message type declarations
drivers/pir: convert message types
drivers/transceiver: convert message types