A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
add ibutton shell to provider
Geo9069d7720169
diff --git a/src/Providers/DependencyProvider.cpp b/src/Providers/DependencyProvider.cppindex 4979dc55..a349129f 100644--- a/src/Providers/DependencyProvider.cpp+++ b/src/Providers/DependencyProvider.cpp@@ -37,13 +37,14 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceViewspiFlashShell(spiService, terminalView, terminalInput, argTransformer, userInputManager, binaryAnalyzeManager),smartCardShell(twoWireService, terminalView, terminalInput, argTransformer, userInputManager),universalRemoteShell(terminalView, terminalInput, infraredService, argTransformer, userInputManager),+ ibuttonShell(terminalView, terminalInput, userInputManager, argTransformer, oneWireService),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),i2cController(terminalView, terminalInput, i2cService, argTransformer, userInputManager, i2cEepromShell),- oneWireController(terminalView, terminalInput, oneWireService, argTransformer, userInputManager),+ oneWireController(terminalView, terminalInput, oneWireService, argTransformer, userInputManager, ibuttonShell),infraredController(terminalView, terminalInput, infraredService, argTransformer, userInputManager, universalRemoteShell),utilityController(terminalView, deviceView, terminalInput, pinService, userInputManager, argTransformer),hdUartController(terminalView, terminalInput, deviceInput, hdUartService, uartService, argTransformer, userInputManager),@@ -124,6 +125,8 @@ UniversalRemoteShell &DependencyProvider::getUniversalRemoteShell() { return uniI2cEepromShell &DependencyProvider::getI2cEepromShell() { return i2cEepromShell; }SpiFlashShell &DependencyProvider::getSpiFlashShell() { return spiFlashShell; }SmartCardShell &DependencyProvider::getSmartCardShell() { return smartCardShell; }+ThreeWireEepromShell &DependencyProvider::getThreeWireEepromShell() { return threeWireEepromShell; }+IbuttonShell &DependencyProvider::getIbuttonShell() { return ibuttonShell; }// SelectorsHorizontalSelector &DependencyProvider::getHorizontalSelector() { return horizontalSelector; }diff --git a/src/Providers/DependencyProvider.h b/src/Providers/DependencyProvider.hindex 4ddebcee..d878a1ac 100644--- a/src/Providers/DependencyProvider.h+++ b/src/Providers/DependencyProvider.h@@ -59,6 +59,7 @@ and injecting shared instances of core components#include "Shells/SpiFlashShell.h"#include "Shells/SmartCardShell.h"#include "Shells/ThreeWireEepromShell.h"+#include "Shells/IbuttonShell.h"#include "Config/TerminalTypeConfigurator.h"class DependencyProvider@@ -135,6 +136,7 @@ public:SpiFlashShell &getSpiFlashShell();SmartCardShell &getSmartCardShell();ThreeWireEepromShell &getThreeWireEepromShell();+ IbuttonShell &getIbuttonShell();// SelectorsHorizontalSelector &getHorizontalSelector();@@ -211,6 +213,7 @@ private:SpiFlashShell spiFlashShell;SmartCardShell smartCardShell;ThreeWireEepromShell threeWireEepromShell;+ IbuttonShell ibuttonShell;// SelectorsHorizontalSelector horizontalSelector;