public class FtcLynxFirmwareUpdateActivity
extends ThemedActivity
FtcLynxFirmwareUpdateActivity
manages the updating of the firmware on
all available attached lynx modules.Modifier and Type | Class and Description |
---|---|
protected static class |
FtcLynxFirmwareUpdateActivity.FwResponseStatus |
protected class |
FtcLynxFirmwareUpdateActivity.ReceiveLoopCallback |
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.BlockingQueue<CommandList.LynxFirmwareUpdateResp> |
availableFWUpdateResps |
protected java.util.concurrent.BlockingQueue<CommandList.LynxFirmwareImagesResp> |
availableLynxImages |
protected java.util.concurrent.BlockingQueue<CommandList.USBAccessibleLynxModulesResp> |
availableLynxModules |
protected boolean |
cancelUpdate |
protected boolean |
enableUpdateButton |
protected FWImage |
firmwareImageFile |
protected java.util.List<USBAccessibleLynxModule> |
modulesToUpdate |
protected int |
msResponseWait |
protected NetworkConnectionHandler |
networkConnectionHandler |
protected RecvLoopRunnable.RecvLoopCallback |
recvLoopCallback |
protected boolean |
remoteConfigure |
static java.lang.String |
TAG |
Constructor and Description |
---|
FtcLynxFirmwareUpdateActivity() |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
awaitResponse(java.util.concurrent.BlockingQueue<T> queue,
T defaultResponse) |
protected <T> T |
awaitResponse(java.util.concurrent.BlockingQueue<T> queue,
T defaultResponse,
long time,
java.util.concurrent.TimeUnit timeUnit,
<any> status) |
protected CommandList.LynxFirmwareImagesResp |
getCandidateLynxFirmwareImages() |
protected java.util.List<USBAccessibleLynxModule> |
getLynxModulesForFirmwareUpdate() |
java.lang.String |
getTag() |
static void |
initializeDirectories() |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
protected void |
onDestroy() |
protected void |
onPause() |
protected void |
onStart() |
protected void |
onStop() |
void |
onUpdateLynxFirmwareClicked(android.view.View view) |
protected void |
sendOrInject(Command cmd) |
public static final java.lang.String TAG
protected NetworkConnectionHandler networkConnectionHandler
protected RecvLoopRunnable.RecvLoopCallback recvLoopCallback
protected boolean remoteConfigure
protected int msResponseWait
protected FWImage firmwareImageFile
protected java.util.List<USBAccessibleLynxModule> modulesToUpdate
protected boolean enableUpdateButton
protected boolean cancelUpdate
protected java.util.concurrent.BlockingQueue<CommandList.LynxFirmwareImagesResp> availableLynxImages
protected java.util.concurrent.BlockingQueue<CommandList.USBAccessibleLynxModulesResp> availableLynxModules
protected java.util.concurrent.BlockingQueue<CommandList.LynxFirmwareUpdateResp> availableFWUpdateResps
public java.lang.String getTag()
public static void initializeDirectories()
protected void onCreate(android.os.Bundle savedInstanceState)
protected void onStart()
protected void onDestroy()
public void onUpdateLynxFirmwareClicked(android.view.View view)
protected void onPause()
protected void onStop()
protected CommandList.LynxFirmwareImagesResp getCandidateLynxFirmwareImages()
protected java.util.List<USBAccessibleLynxModule> getLynxModulesForFirmwareUpdate()
protected void sendOrInject(Command cmd)
protected <T> T awaitResponse(java.util.concurrent.BlockingQueue<T> queue, T defaultResponse)
protected <T> T awaitResponse(java.util.concurrent.BlockingQueue<T> queue, T defaultResponse, long time, java.util.concurrent.TimeUnit timeUnit, <any> status)