diff --git a/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/Esp32SystemErrorInfo.cs b/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/Esp32SystemErrorInfo.cs index 3e70f75f..6b41d570 100644 --- a/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/Esp32SystemErrorInfo.cs +++ b/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/Esp32SystemErrorInfo.cs @@ -24,7 +24,10 @@ internal Esp32SystemErrorInfo(int function, StatusCodes statusCode) StatusCodes.InvalidConfigurationFile => "Invalid configuration file", StatusCodes.InvalidWiFiConfigurationFile => "Invalid WiFi configuration file", StatusCodes.InvalidCellConfigurationFile => "Invalid Cell configuration file", - StatusCodes.NetworkDeadlock => "Network deadlock detected. Device reboot is required to reconnect", + StatusCodes.NetworkDeadlock => "Possible network deadlock detected. Device reboot is advised to reconnect", + StatusCodes.NetworkCloseDeadlock => "Possible network deadlock on close() detected. Device reboot is advised to reconnect", + StatusCodes.NetworkPollDeadlock => "Possible network deadlock on poll() detected. Device reboot is advised to reconnect", + StatusCodes.NetworkSocketDeadlock => "Possible network deadlock on socket() detected. Device reboot is advised to reconnect", _ => "ESP32 Error" }, SystemErrorNumber.CoprocessorError) diff --git a/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/SharedEnums.cs b/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/SharedEnums.cs index f572f843..691a8143 100644 --- a/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/SharedEnums.cs +++ b/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/SharedEnums.cs @@ -190,9 +190,22 @@ public enum StatusCodes /// InvalidCellConfigurationFile = 45, /// - /// Network deadlock detected. + /// Possible network deadlock detected. /// NetworkDeadlock = 46, + /// + /// Possible network deadlock detected on close(). + /// + NetworkCloseDeadlock = 47, + /// + /// Possible network deadlock detected on poll(). + /// + NetworkPollDeadlock = 48, + /// + /// Possible network deadlock detected on socket(). + /// + NetworkSocketDeadlock = 49, + /// /// ESP reset for unknown reason ///