PepperDashCore icon indicating copy to clipboard operation
PepperDashCore copied to clipboard

[BUG]-console command responses should use CrestronConsole.ConsoleCommandResponse

Open jgutenplan opened this issue 3 years ago • 0 comments

Was this bug identified in a specific build version? main branch

Describe the bug Some console commands in essentials are using debug.console instead of CrestronConsole.ConsoleCommandResponse. PepperDash UDM requires that the commands return a prompt after the response for parsing. The debug print does not return a prompt causing issues when UDM polls Essentials user commands.

Currently appdebug is the request for UDM, but all console commands in help -user should be updated to use CrestronConsole.ConsoleCommandResponse.

To Reproduce see below example of appdebug which prints to console but does not return a prompt. RMC3>appdebug

RMC3>AppDebug level = 0

Expected behavior example in code: essentials-framework/ControlSystem.cs command portal info on line 50. Note the prompt returned after the command. RMC3>portalinfo This system can be found at the following URLs: System URL: https://portal-demo.cloud.pepperdash.com/systems Template URL: https://portal-demo.cloud.pepperdash.com/templates

RMC3>

jgutenplan avatar Feb 02 '23 02:02 jgutenplan