| 3084 | |
| 3085 | #ifdef CONTENT_TAGCFG |
| 3086 | void prepareConfigFile(const uint8_t *dst, const JsonObject &config) { |
| 3087 | struct tagsettings tagSettings; |
| 3088 | tagSettings.settingsVer = 1; |
| 3089 | tagSettings.enableFastBoot = config["fastboot"].as<int>(); |
| 3090 | tagSettings.enableRFWake = config["rfwake"].as<int>(); |
| 3091 | tagSettings.enableTagRoaming = config["tagroaming"].as<int>(); |
| 3092 | tagSettings.enableScanForAPAfterTimeout = config["tagscanontimeout"].as<int>(); |
| 3093 | tagSettings.enableLowBatSymbol = config["showlowbat"].as<int>(); |
| 3094 | tagSettings.enableNoRFSymbol = config["shownorf"].as<int>(); |
| 3095 | tagSettings.customMode = 0; |
| 3096 | tagSettings.fastBootCapabilities = 0; |
| 3097 | tagSettings.minimumCheckInTime = 1; |
| 3098 | tagSettings.fixedChannel = config["fixedchannel"].as<int>(); |
| 3099 | tagSettings.batLowVoltage = config["lowvoltage"].as<int>(); |
| 3100 | prepareDataAvail((uint8_t *)&tagSettings, sizeof(tagSettings), 0xA8, dst); |
| 3101 | } |
| 3102 | #endif |
| 3103 | |
| 3104 | #ifdef CONTENT_TIME_RAWDATA |
no test coverage detected