A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
add at shell to provider
Geo657a0848f25e
diff --git a/src/Providers/DependencyProvider.cpp b/src/Providers/DependencyProvider.cppindex b672b718..bd332f4d 100644--- a/src/Providers/DependencyProvider.cpp+++ b/src/Providers/DependencyProvider.cpp@@ -40,10 +40,11 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewuniversalRemoteShell(terminalView, terminalInput, infraredService, argTransformer, userInputManager),ibuttonShell(terminalView, terminalInput, userInputManager, argTransformer, oneWireService),i2cEepromShell(terminalView, terminalInput, i2cService, argTransformer, userInputManager, binaryAnalyzeManager),+ uartAtShell(terminalView, terminalInput, userInputManager, argTransformer, uartService),threeWireEepromShell(terminalView, terminalInput, userInputManager, threeWireService, argTransformer),horizontalSelector(deviceView, deviceInput),terminalTypeConfigurator(horizontalSelector),- uartController(terminalView, terminalInput, deviceInput, uartService, sdService, hdUartService, argTransformer, userInputManager),+ uartController(terminalView, terminalInput, deviceInput, uartService, sdService, hdUartService, argTransformer, userInputManager, uartAtShell),i2cController(terminalView, terminalInput, i2cService, argTransformer, userInputManager, i2cEepromShell),oneWireController(terminalView, terminalInput, oneWireService, argTransformer, userInputManager, ibuttonShell),infraredController(terminalView, terminalInput, infraredService, argTransformer, userInputManager, universalRemoteShell),@@ -130,6 +131,7 @@ SpiEepromShell &DependencyProvider::getSpiEepromShell() { return spiEepromShell;SmartCardShell &DependencyProvider::getSmartCardShell() { return smartCardShell; }ThreeWireEepromShell &DependencyProvider::getThreeWireEepromShell() { return threeWireEepromShell; }IbuttonShell &DependencyProvider::getIbuttonShell() { return ibuttonShell; }+UartAtShell &DependencyProvider::getUartAtShell() { return uartAtShell; }// SelectorsHorizontalSelector &DependencyProvider::getHorizontalSelector() { return horizontalSelector; }diff --git a/src/Providers/DependencyProvider.h b/src/Providers/DependencyProvider.hindex a766bf8c..d47ee198 100644--- a/src/Providers/DependencyProvider.h+++ b/src/Providers/DependencyProvider.h@@ -61,6 +61,7 @@ and injecting shared instances of core components#include "Shells/SmartCardShell.h"#include "Shells/ThreeWireEepromShell.h"#include "Shells/IbuttonShell.h"+#include "Shells/UartAtShell.h"#include "Config/TerminalTypeConfigurator.h"class DependencyProvider@@ -140,6 +141,7 @@ public:SmartCardShell &getSmartCardShell();ThreeWireEepromShell &getThreeWireEepromShell();IbuttonShell &getIbuttonShell();+ UartAtShell &getUartAtShell();// SelectorsHorizontalSelector &getHorizontalSelector();@@ -219,6 +221,7 @@ private:SmartCardShell smartCardShell;ThreeWireEepromShell threeWireEepromShell;IbuttonShell ibuttonShell;+ UartAtShell uartAtShell;// SelectorsHorizontalSelector horizontalSelector;