export const NetworkModeMapping = {
    P2P: 'PEER_TO_PEER',
    NETWORK: 'NETWORK',
    INFRA: 'NETWORK',
    INFRA_CLOUD: 'NETWORK' // TODO check
};
export const LowPowerOptimizationLevelMapping = {
    0: 'NO',
    1: 'SHUTDOWN',
    2: 'STANDBY' // TODO CHECK
};
export const WIFI_KEY_VISIBILITY_MAPPING = {
    0: 'VISIBLE',
    1: 'HIDDEN'
};
export const S3P_CONFIG_MODE_MAPPING = {
    0: 'EMULATION',
    1: 'INDEXED'
};
export const WIFI_SSID_VISIBILITY_MAPPING = {
    0: 'VISIBLE',
    1: 'HIDDEN',
    2: 'HIDDEN_FROM_SCAN'
};
export const WIFI_PROTOCOL_MAPPING = {
    1: ['B'],
    3: ['B', 'G'],
    7: ['B', 'G', 'N']
};
// export const WIFI_TX_POWER_MAPPING: Record<string, number> {
// };
export const TargetProtocolMapping = {
    "JTAG": 'JTAG',
    "MODBUS": 'MODBUS',
    "NONE": 'NONE',
    "S3P": 'S3P',
    "SERIAL": 'SERIAL',
    "SERIAL_STANDARD": 'SERIAL',
    "SERIAL_VIA_TAPNPASS": 'SERIAL',
    "CUSTOM": 'CUSTOM',
    "SWD": 'SWD',
    "GPIO": 'DIRECT_IO',
    "DIRECT_IO": 'DIRECT_IO',
    "DIRECTIO": 'DIRECT_IO'
};
export const NFCParingModeMapping = {
    "NO": 'NO',
    "PAIRING": 'MANDATORY',
    'PAIRING+LOGIN': 'MANDATORY_FOR_LOGIN'
};
export const NFC_CONNECTION_PRIORITY_MAPPING = {
    0: 'NFC_NON_PRIORITY',
    1: 'NFC_PRIORITY'
};
// const MAPPING: Record<WriteConfigKey, any> = {
//     // App
//     'application.name': 'IOTizeConfiguration.IOTizeApp.#.Name',
//     'application.universalLink': 'IOTizeConfiguration.IOTizeApp.#.WebLink',
//     'application.uri': 'IOTizeConfiguration.IOTizeApp.#.GUI_Path',
//     'application.data': 'TODO',
//     // CLOUD 
//     'cloud.dataLog.uploadPeriod': 'IOTizeConfiguration.IOTizeApp.CloudServices.#.CloudMqttPeriod',
//     'cloud.dataLog.mqttPublishTopic': 'IOTizeConfiguration.IOTizeApp.WIFI_INFO.#.Cloud_Publish_Topic',
//     'cloud.dataLog.mqttSubscribeTopic': 'IOTizeConfiguration.IOTizeApp.WIFI_INFO.#.Cloud_Subscribe_Topic',
//     'cloud.platform': '',
//     // Target
//     'target.protocol.type': 'IOTizeConfiguration.IOTizeApp.#.TargetProtocol',
//     // Tap
//     'tap.certificate.privateKey': 'IOTizeConfiguration.IOTizeApp.GUI_MQTT_Info.GUI_DevMQTT_PrivateKey',
//     'tap.certificate.publicKey': 'IOTizeConfiguration.IOTizeApp.GUI_MQTT_Info.GUI_DevMQTT_Certificate',
//     // JVM
//     'jvm.code': 'IOTizeConfiguration.IOTizeApp.#.JVM_Custom_Code',
//     'jvm.profileId': 'IOTizeConfiguration.IOTizeApp.#.',
//     // LORA
//     'wireless.protocols.lora.config': 'IOTizeConfiguration.IOTizeApp.LoRa_Info.#.LoRaMode',
//     'wireless.protocols.lora.ids': 'IOTizeConfiguration.IOTizeApp.LoRa_Info.#.TODO',
//     // MQTT
//     'wireless.protocols.mqtt.clientId': 'IOTizeConfiguration.IOTizeApp.WIFI_INFO.#.MQTTRelay_Client_ID',
//     'wireless.protocols.mqtt.password': 'IOTizeConfiguration.IOTizeApp.WIFI_INFO.#.MQTTRelay_Passwd',
//     'wireless.protocols.mqtt.username': 'IOTizeConfiguration.IOTizeApp.WIFI_INFO.#.MQTTRelay_Broker_Login',
//     'wireless.protocols.mqtt.brokerPort': 'IOTizeConfiguration.IOTizeApp.WIFI_INFO.#.MQTTRelay_Service',
//     'wireless.protocols.mqtt.brokerHostname': 'IOTizeConfiguration.IOTizeApp.WIFI_INFO.#.MQTTRelay_URL',
//     'wireless.protocols.mqtt.brokerCertificate': 'IOTizeConfiguration.IOTizeApp.WIFI_INFO.#.Broker_Certificate',
//     'wireless.protocols.mqtt.topicPrefix': 'IOTizeConfiguration.IOTizeApp.WIFI_INFO.#.TODO',
//     // NFC
//     'wireless.protocols.nfc.autoLogProfileId': 'IOTizeConfiguration.IOTizeApp.#.NFCLogin',
//     'wireless.protocols.nfc.connectionPriority': 'IOTizeConfiguration.IOTizeApp.#.NFCInterruptionLock',
//     'wireless.protocols.nfc.pairingMode': 'IOTizeConfiguration.IOTizeApp.#.NFCPairingMandatory',
//     // WIFI
//     'wireless.protocols.wifi.ssid': 'IOTizeConfiguration.IOTizeApp.WIFI_Info.ModuleSSID ||',
//     'wireless.protocols.wifi.ssidVisibility': 'IOTizeConfiguration.IOTizeApp.WIFI_Info.Wifi_SSID_Hidden',
//     'wireless.protocols.wifi.keyVisibility': 'IOTizeConfiguration.IOTizeApp.WIFI_Info.#.Wifi_WEPKey_Hidden',
//     'wireless.protocols.wifi.gatewayIp': 'IOTizeConfiguration.IOTizeApp.WIFI_Info.#.',
//     'wireless.protocols.wifi.mask': 'IOTizeConfiguration.IOTizeApp.WIFI_Info.#.',
//     'wireless.protocols.wifi.mode': 'IOTizeConfiguration.IOTizeApp.WIFI_Info.#.',
//     'wireless.protocols.wifi.protocol': 'IOTizeConfiguration.IOTizeApp.WIFI_Info.#.',
//     'wireless.protocols.wifi.region': 'IOTizeConfiguration.IOTizeApp.WIFI_Info.#.',
//     // Wireless options
//     'wireless.options.inactivityTimeout': 'IOTizeConfiguration.IOTizeApp.WIFI_Info.#.',
//     'wireless.options.authorizedProtocols': 'IOTizeConfiguration.IOTizeApp.WIFI_Info.#.',
//     'data.profiles[]': 'IOTizeConfiguration.IOTizeApp.IOTizeProfile',
//     'data.profiles[].username': '#.Name',
//     'data.profiles[].alias': '#.GroupId',
//     'data.profiles[].lifeTime': '#.LifeTime',
//     'data.profiles[].passwordKey': '#.Pwd',
//     'data.profiles[].password': false,
//     'data.bundles[]': 'IOTizeConfiguration.IOTizeApp.IOTizeBundle',
//     'data.bundles[].name': '#.Name',
//     'data.bundles[].dataLog.period': '#.DataLogPeriod',
//     'data.bundles[].acl[].$': '#.',
//     'data.variables[].address': '',
//     'data.variables[].bundleId': '',
//     'data.variables[].type': '',
//     'data.variables[].value': '',
// }
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwcGluZy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bpb3RpemUvdGFwL2NvbmZpZy9pb3RpemUtc3R1ZGlvLyIsInNvdXJjZXMiOlsibGliL2lvdGl6ZS1zdHVkaW8tY29uZmlnLWNvbnZlcnRlci9tYXBwaW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNBLE1BQU0sQ0FBQyxNQUFNLGtCQUFrQixHQUFzQztJQUNqRSxHQUFHLEVBQUUsY0FBYztJQUNuQixPQUFPLEVBQUUsU0FBUztJQUNsQixLQUFLLEVBQUUsU0FBUztJQUNoQixXQUFXLEVBQUUsU0FBUyxDQUFDLGFBQWE7Q0FDdkMsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLGdDQUFnQyxHQUd6QztJQUNBLENBQUMsRUFBRSxJQUFJO0lBQ1AsQ0FBQyxFQUFFLFVBQVU7SUFDYixDQUFDLEVBQUUsU0FBUyxDQUFDLGFBQWE7Q0FDN0IsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLDJCQUEyQixHQUFzQztJQUMxRSxDQUFDLEVBQUUsU0FBUztJQUNaLENBQUMsRUFBRSxRQUFRO0NBQ2QsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLHVCQUF1QixHQUFrQztJQUNsRSxDQUFDLEVBQUUsV0FBVztJQUNkLENBQUMsRUFBRSxTQUFTO0NBQ2YsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLDRCQUE0QixHQUF1QztJQUM1RSxDQUFDLEVBQUUsU0FBUztJQUNaLENBQUMsRUFBRSxRQUFRO0lBQ1gsQ0FBQyxFQUFFLGtCQUFrQjtDQUN4QixDQUFDO0FBRUYsTUFBTSxDQUFDLE1BQU0scUJBQXFCLE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