(OBSOLETE) Radio and Mode Interaction Planning - williamgardner2017/Hampod_Program GitHub Wiki

!IMPORTANT! THIS IS AN OBSOLETE DESIGN CHOICE. THE HAMPOD PROJECT NO LONGER USES THIS.

The goal is to have the radio not need to know any specific information about the modes in order to use them and be informed about their capabilities.

In other words, the radio should not have parts programmed to work with specific modes.

The same should be true about the Main state controller, it should not need to have states in it that would need to be updated/added to if a new mode is added to the system.

Problems that could arise

  • Giving the radio its modes initially
  • Passing in the correct parameters to the mode

This is an internal interaction where the following user interaction happens

  1. The user asks Hampod to say what the current commands are for the current mode
  2. Hampod reads out said commands
  3. The user selects one of the commands
  4. Hampod executes said command
  5. Hampod informs the user of any data said command would inform them with

http://www.plantuml.com/plantuml/uml/ZP51QiCm44NtFiM_G2_GHKbN9OjiqbvWiCQ9g3mACoEJthx884n5SBhmIky_VtqTp4czp6auKHIylE5C8UPNlDktOSeAlZjBu80nppD9G62dc6nOmPeuvS1hOEMZMqCDGptRhFY82yElZ1JDaQS_T6-aPnKUsUq_XIdAKxf26toKAUjiACRQJ_N5AHcYmpFupcDn1ZLVVwbT6FMxhBsqnhgBDiSvrrJBUCQOLNbqt3Gkj1rriQCuwqtPT-sjbNMMRcLbBofOA1NUfctC9rM6v0Un_bGe8P0JnYl9XHy_HQVSsV_04igSVW40

https://www.plantuml.com/plantuml/png/ZP51QiCm44NtFiM_G2_GHKbN9OjiqbvWiCQ9g3mACoEJthx884n5SBhmIky_VtqTp4czp6auKHIylE5C8UPNlDktOSeAlZjBu80nppD9G62dc6nOmPeuvS1hOEMZMqCDGptRhFY82yElZ1JDaQS_T6-aPnKUsUq_XIdAKxf26toKAUjiACRQJ_N5AHcYmpFupcDn1ZLVVwbT6FMxhBsqnhgBDiSvrrJBUCQOLNbqt3Gkj1rriQCuwqtPT-sjbNMMRcLbBofOA1NUfctC9rM6v0Un_bGe8P0JnYl9XHy_HQVSsV_04igSVW40