Read EFB Units of Measure settings

Are the Units of Measure on the EFB meant to refer also to the aircraft? It seems like yes?

How do I access these settings so the cockpit may reflect these units?
image

1 Like

I found the settings in efb_api but the question is SHOULD we be consuming these? They seem to be named specifically so they can be changed later which doesn’t bode well.

GetDataStorage().searchData("efb")

Array (39) = $4
0 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.mode", data: "1"}
1 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.efbSize", data: "0"}
2 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.orientationMode", data: "0"}
3 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.isBrightnessAuto", data: "true"}
4 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.autoBrightnessPercentage", data: "0"}
5 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.manualBrightnessPercentage", data: "1"}
6 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.favoriteApps", data: "\"[\\\"AtlasApp\\\",\\\"AircraftApp\\\",\\\"PilotBookApp\\\",\\\"SettingsApp\\\"]\""}
7 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.defaultApp", data: "\"AtlasApp\""}
8 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.unitsNavAngle", data: "\"magnetic\""}
9 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.unitsSpeed", data: "\"KTS\""}
10 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.unitsDistance", data: "\"NM\""}
11 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.unitsSmallDistance", data: "\"FT\""}
12 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.unitsAltitude", data: "\"FT\""}
13 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.unitsWeight", data: "\"LBS\""}
14 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.unitsVolume", data: "\"GAL US\""}
15 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.unitsTemperature", data: "\"°C\""}
16 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-2024-11-07.efb-settings.unitsTime", data: "\"local-12\""}
17 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.facilityIcao", data: "\"\""}
18 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.flightInfoToggle", data: "true"}
19 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapRange", data: "5.753911541377211"}
20 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapType", data: "\"IFR\""}
21 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapWeatherRadarToggle", data: "false"}
22 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapWindsToggle", data: "false"}
23 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapAirmetToggle", data: "false"}
24 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapMetarToggle", data: "false"}
25 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapAirspaceToggle", data: "true"}
26 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapOrientationMode", data: "\"NorthUp\""}
27 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapMissionToggle", data: "1"}
28 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapMissionShapesToggle", data: "true"}
29 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapTrafficToggle", data: "true"}
30 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapFriendsOnlyTrafficToggle", data: "true"}
31 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapPriorityICAOs", data: "\"\""}
32 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapFacilityToggle", data: "799"}
33 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapLargeAirportFacilityRange", data: "2000"}
34 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapMediumAirportFacilityRange", data: "300"}
35 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapSmallAirportFacilityRange", data: "100"}
36 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapVORFacilityRange", data: "45"}
37 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapNDBFacilityRange", data: "45"}
38 {__Type: "DataDictionaryEntry", key: "persistent-setting.efb-map-settings.mapWaypointFacilityRange", data: "20"}

Array Prototype


Hello,

In first place, EFB units settings are only meant to be scoped to the EFB itself.

However you could indeed consume them from a glasscockpit via the DataStorage.

Their names (e.g mode / efbSize / orientationMode / etc) won’t change, however they can be prefixed (efb-2024-11-07) with their creation date for cache invalidation.

Thank you Eran.

What I’m hearing is that the most prudent approach is for each aircraft to have its own settings. If the cache is ever invalidated (say with a new version of the settings that makes new units available or something), my aircraft would have no interface to manage those settings. I want to avoid that but also wanted to avoid ignoring a global sim setting. The tradeoffs are clear now.