40class RemoteDeviceConfig {
44 static void RegisterConfigField(uint64_t fieldBit);
47 static void SetHomeScreenContentAvailable(uint64_t allValues);
48 static uint64_t GetHomeScreenContentAvailable();
49 static enum HomeScreenContent HomeScreenContentBitToEnum(uint64_t fieldBit);
50 static uint64_t HomeScreenEnumToBit(
enum HomeScreenContent type);
51 static uint64_t HomeScreenIntToBit(
int mode);
53 explicit RemoteDeviceConfig(
bool firstDeviceConfigAfterRegistration =
false);
54 virtual ~RemoteDeviceConfig();
58 uint8_t getResultCode()
const;
59 bool isEndFlagReceived()
const;
60 bool isSetDeviceConfigRequired()
const;
66 void processStatusLedConfig(uint64_t fieldBit,
68 void processPowerStatusLedConfig(uint64_t fieldBit,
70 void processScreenBrightnessConfig(uint64_t fieldBit,
72 void processButtonVolumeConfig(uint64_t fieldBit,
74 void processHomeScreenContentConfig(uint64_t fieldBit,
76 void processHomeScreenDelayConfig(uint64_t fieldBit,
78 void processAutomaticTimeSyncConfig(uint64_t fieldBit,
80 void processDisableUserInterfaceConfig(
82 void processHomeScreenDelayTypeConfig(
89 void fillHomeScreenContentConfig(
91 void fillHomeScreenDelayConfig(
93 void fillAutomaticTimeSyncConfig(
95 void fillDisableUserInterfaceConfig(
97 void fillHomeScreenDelayTypeConfig(
100 bool endFlagReceived =
false;
101 uint8_t resultCode = 255;
102 int messageCounter = 0;
103 bool firstDeviceConfigAfterRegistration =
false;
104 uint64_t requireSetDeviceConfigFields = 0;
106 static uint64_t fieldBitsUsedByDevice;
107 static uint64_t homeScreenContentAvailable;