Ahsoka services provides a method to stop the application and run the "loader application" which will allow users to reprogram the display. The same function can be called to stop the application and perform a full reboot of the display.
This function RequestServiceShutdown is part of the SystemServicesClient class.
C# Examples:
Stop Main Application and Run the Loader Application:
using Ahsoka.Services.System;
SystemServiceClient client = new();
client.RequestServiceShutdown(ShutdownTypes.ShutdownApplication);
Stop Main Application and Reboot the Display:
NOTE: If the Ignition input is OFF then the display will remain off after sending the Reboot command. If the Ignition input is ON then the display will reboot and power back up.
using Ahsoka.Services.System;
SystemServiceClient client = new();
client.RequestServiceShutdown(ShutdownTypes.Reboot);
Comments
0 comments
Please sign in to leave a comment.