@@ -79,7 +79,44 @@ Status messages follow these consistent conventions:
7979
8080---
8181
82- ### 2. Ping Operation Messages
82+ ### 2. Capacity Check Messages
83+
84+ #### Acquiring wardriving slot
85+ - ** Message** : ` "Acquiring wardriving slot" `
86+ - ** Color** : Sky blue (info)
87+ - ** Used in** : ` checkCapacity() `
88+ - ** Source** : ` content/wardrive.js:1026 `
89+ - ** Context** : When connecting to device and checking if a wardriving slot is available
90+ - ** Minimum Visibility** : 500ms minimum enforced (or until API response received)
91+
92+ #### WarDriving app has reached capacity or is down
93+ - ** Message** : ` "WarDriving app has reached capacity or is down" `
94+ - ** Color** : Red (error)
95+ - ** Used in** : ` checkCapacity() ` , ` postToMeshMapperAPI() `
96+ - ** Source** : ` content/wardrive.js:2051 ` , ` content/wardrive.js:1115 `
97+ - ** Context** : Capacity check API denies slot on connect, or wardriving API returns allowed=false during active session
98+ - ** Minimum Visibility** : N/A (error state persists until disconnect)
99+
100+ #### Unable to read device public key; try again
101+ - ** Message** : ` "Unable to read device public key; try again" `
102+ - ** Color** : Red (error)
103+ - ** Used in** : ` connect() `
104+ - ** Source** : ` content/wardrive.js:2023 `
105+ - ** Context** : Device public key is missing or invalid when trying to acquire capacity slot
106+ - ** Minimum Visibility** : N/A (error state persists until disconnect)
107+
108+ #### Network issue checking slot, proceeding anyway
109+ - ** Message** : ` "Network issue checking slot, proceeding anyway" `
110+ - ** Color** : Amber (warning)
111+ - ** Used in** : ` checkCapacity() `
112+ - ** Source** : ` content/wardrive.js:1051 ` , ` content/wardrive.js:1070 `
113+ - ** Context** : Capacity check API is unreachable or returns error during connect (fail-open behavior)
114+ - ** Minimum Visibility** : 1500ms enforced (brief warning before continuing)
115+ - ** Notes** : Implements fail-open policy - allows connection to proceed despite API failure
116+
117+ ---
118+
119+ ### 3. Ping Operation Messages
83120
84121#### Sending manual ping
85122- ** Message** : ` "Sending manual ping" `
@@ -140,7 +177,7 @@ Status messages follow these consistent conventions:
140177
141178---
142179
143- ### 3 . GPS Status Messages
180+ ### 4 . GPS Status Messages
144181
145182#### Waiting for GPS fix
146183- ** Message** : ` "Waiting for GPS fix" `
@@ -160,7 +197,7 @@ Status messages follow these consistent conventions:
160197
161198---
162199
163- ### 4 . Countdown Timer Messages
200+ ### 5 . Countdown Timer Messages
164201
165202These messages use a hybrid approach: ** first display respects 500ms minimum** , then updates occur immediately every second.
166203
@@ -216,7 +253,7 @@ These messages use a hybrid approach: **first display respects 500ms minimum**,
216253
217254---
218255
219- ### 5 . API and Map Update Messages
256+ ### 6 . API and Map Update Messages
220257
221258#### Posting to API
222259- ** Message** : ` "Posting to API" `
@@ -238,7 +275,7 @@ These messages use a hybrid approach: **first display respects 500ms minimum**,
238275
239276---
240277
241- ### 6 . Auto Mode Messages
278+ ### 7 . Auto Mode Messages
242279
243280#### Auto mode stopped
244281- ** Message** : ` "Auto mode stopped" `
@@ -323,8 +360,9 @@ Result: "Message A" (visible 500ms) → "Message C"
323360
324361## Summary
325362
326- ** Total Status Messages** : 25 unique message patterns
363+ ** Total Status Messages** : 29 unique message patterns
327364- ** Connection** : 7 messages
365+ - ** Capacity Check** : 4 messages
328366- ** Ping Operation** : 6 messages (consolidated "Ping sent" for both manual and auto)
329367- ** GPS** : 2 messages
330368- ** Countdown Timers** : 6 message patterns (with dynamic countdown values)
0 commit comments