A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
add 3wire shell to provider
Geof398d17e2ad2
diff --git a/src/Providers/DependencyProvider.cpp b/src/Providers/DependencyProvider.cppindex 0493a89b..4979dc55 100644--- a/src/Providers/DependencyProvider.cpp+++ b/src/Providers/DependencyProvider.cpp@@ -38,6 +38,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewsmartCardShell(twoWireService, terminalView, terminalInput, argTransformer, userInputManager),universalRemoteShell(terminalView, terminalInput, infraredService, argTransformer, userInputManager),i2cEepromShell(terminalView, terminalInput, i2cService, argTransformer, userInputManager, binaryAnalyzeManager),+ threeWireEepromShell(terminalView, terminalInput, userInputManager, threeWireService, argTransformer),horizontalSelector(deviceView, deviceInput),terminalTypeConfigurator(horizontalSelector),uartController(terminalView, terminalInput, deviceInput, uartService, sdService, hdUartService, argTransformer, userInputManager),@@ -49,7 +50,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewspiController(terminalView, terminalInput, spiService, sdService, argTransformer, userInputManager, binaryAnalyzeManager, sdCardShell, spiFlashShell),jtagController(terminalView, terminalInput, jtagService, userInputManager),twoWireController(terminalView, terminalInput, userInputManager, twoWireService, smartCardShell),- threeWireController(terminalView, terminalInput, userInputManager, threeWireService, argTransformer),+ threeWireController(terminalView, terminalInput, userInputManager, threeWireService, argTransformer, threeWireEepromShell),dioController(terminalView, terminalInput, pinService, argTransformer),ledController(terminalView, terminalInput, ledService, argTransformer, userInputManager),bluetoothController(terminalView, terminalInput, bluetoothService, argTransformer),@@ -122,6 +123,7 @@ SdCardShell &DependencyProvider::getSdCardShell() { return sdCardShell; }UniversalRemoteShell &DependencyProvider::getUniversalRemoteShell() { return universalRemoteShell; }I2cEepromShell &DependencyProvider::getI2cEepromShell() { return i2cEepromShell; }SpiFlashShell &DependencyProvider::getSpiFlashShell() { return spiFlashShell; }+SmartCardShell &DependencyProvider::getSmartCardShell() { return smartCardShell; }// SelectorsHorizontalSelector &DependencyProvider::getHorizontalSelector() { return horizontalSelector; }diff --git a/src/Providers/DependencyProvider.h b/src/Providers/DependencyProvider.hindex daf53f9e..4ddebcee 100644--- a/src/Providers/DependencyProvider.h+++ b/src/Providers/DependencyProvider.h@@ -58,6 +58,7 @@ and injecting shared instances of core components#include "Shells/I2cEepromShell.h"#include "Shells/SpiFlashShell.h"#include "Shells/SmartCardShell.h"+#include "Shells/ThreeWireEepromShell.h"#include "Config/TerminalTypeConfigurator.h"class DependencyProvider@@ -133,6 +134,7 @@ public:I2cEepromShell &getI2cEepromShell();SpiFlashShell &getSpiFlashShell();SmartCardShell &getSmartCardShell();+ ThreeWireEepromShell &getThreeWireEepromShell();// SelectorsHorizontalSelector &getHorizontalSelector();@@ -208,6 +210,7 @@ private:I2cEepromShell i2cEepromShell;SpiFlashShell spiFlashShell;SmartCardShell smartCardShell;+ ThreeWireEepromShell threeWireEepromShell;// SelectorsHorizontalSelector horizontalSelector;