Skip to content

Commit

Permalink
Update SDL preloaded PT with PROJECTION HMI type
Browse files Browse the repository at this point in the history
There was added PROJECTION HMI type to the notifications_per_minute_by_priority
structure. Also this structure was updated in the policy types to make
everything work correctly.
  • Loading branch information
AKalinich-Luxoft committed Mar 22, 2018
1 parent f6b345a commit fe85cc9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/appMain/sdl_preloaded_pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"notifications_per_minute_by_priority": {
"EMERGENCY": 60,
"NAVIGATION": 15,
"PROJECTION": 15,
"VOICECOM": 20,
"COMMUNICATION": 6,
"NORMAL": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ typedef Map<URL, 1, 255> URLList;
typedef Map<URLList, 1, 255> ServiceEndpoints;

typedef uint8_t NumberOfNotificationsType;
typedef Map<Integer<NumberOfNotificationsType, 0, 255>, 0, 6>
typedef Map<Integer<NumberOfNotificationsType, 0, 255>, 0, 7>
NumberOfNotificationsPerMinute;

typedef Array<Integer<uint16_t, 1, 1000>, 0, 5> SecondsBetweenRetries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
minsize="1" maxsize="255" />

<typedef name="NumberOfNotificationsPerMinute" type="Integer"
map="true" maxsize="6" minvalue="0" maxvalue="255" />
map="true" maxsize="7" minvalue="0" maxvalue="255" />

<typedef name="SecondsBetweenRetries" type="Integer" array="true"
maxsize="10" minvalue="1" maxvalue="1000" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ typedef Map<URL, 1, 255> URLList;
typedef Map<URLList, 1, 255> ServiceEndpoints;

typedef uint8_t NumberOfNotificationsType;
typedef Map<Integer<NumberOfNotificationsType, 0, 255>, 0, 6>
typedef Map<Integer<NumberOfNotificationsType, 0, 255>, 0, 7>
NumberOfNotificationsPerMinute;

typedef Array<Integer<uint16_t, 1, 1000>, 0, 5> SecondsBetweenRetries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
minsize="1" maxsize="255" />

<typedef name="NumberOfNotificationsPerMinute" type="Integer"
map="true" maxsize="6" minvalue="0" maxvalue="255" />
map="true" maxsize="7" minvalue="0" maxvalue="255" />

<typedef name="SecondsBetweenRetries" type="Integer" array="true"
maxsize="10" minvalue="1" maxvalue="1000" />
Expand Down

0 comments on commit fe85cc9

Please sign in to comment.