def validate_message(message):
    """ Validate a received message to make sure that it
        is a valid message in the MIDAS framework and return
        a dictionary containing the information sent by the beacon.
    """
    message = message.split(';')
    result = None

    if message[0] == 'midas':
        k = ['name', 'type', 'id', 'address', 'status']
        result = dict(zip(k, message[1:]))

    return result