def _get_default(config_type_name, config_value):
    """
    Convert default configuration values to one used by core.

    :param str config_type_name: emane configuration type name
    :param list config_value: emane configuration value list
    :return: default core config value
    :rtype: str
    """

    config_default = ""

    if config_type_name == "bool":
        if config_value and config_value[0] == "true":
            config_default = "1"
        else:
            config_default = "0"
    elif config_value:
        config_default = config_value[0]

    if config_default is None:
        config_default = ""
    return config_default