Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

add 1wire eeprom shell to provider

Geoe3bb8ce83cd2
diff --git a/src/Providers/DependencyProvider.cpp b/src/Providers/DependencyProvider.cpp
index 9abf72b8..81183d1c 100644
--- a/src/Providers/DependencyProvider.cpp
+++ b/src/Providers/DependencyProvider.cpp
@@ -59,6 +59,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceView
threeWireEepromShell(terminalView, terminalInput, userInputManager, threeWireService, argTransformer),
sysInfoShell(terminalView, terminalInput, userInputManager, argTransformer, systemService, wifiService),
modbusShell(terminalView, terminalInput, argTransformer, userInputManager, modbusService),
+ oneWireEepromShell(terminalView, terminalInput, oneWireService, argTransformer, userInputManager, binaryAnalyzeManager),
// Selectors
horizontalSelector(deviceView, deviceInput),
@@ -69,7 +70,7 @@ DependencyProvider::DependencyProvider(ITerminalView &terminalView, IDeviceView
// Controllers
uartController(terminalView, terminalInput, deviceInput, uartService, sdService, hdUartService, argTransformer, userInputManager, uartAtShell),
i2cController(terminalView, terminalInput, i2cService, argTransformer, userInputManager, i2cEepromShell),
- oneWireController(terminalView, terminalInput, oneWireService, argTransformer, userInputManager, ibuttonShell),
+ oneWireController(terminalView, terminalInput, oneWireService, argTransformer, userInputManager, ibuttonShell, oneWireEepromShell),
infraredController(terminalView, terminalInput, infraredService, argTransformer, userInputManager, universalRemoteShell),
utilityController(terminalView, deviceView, terminalInput, pinService, userInputManager, argTransformer, sysInfoShell),
hdUartController(terminalView, terminalInput, deviceInput, hdUartService, uartService, argTransformer, userInputManager),
diff --git a/src/Providers/DependencyProvider.h b/src/Providers/DependencyProvider.h
index ffe16ff9..5d115765 100644
--- a/src/Providers/DependencyProvider.h
+++ b/src/Providers/DependencyProvider.h
@@ -71,6 +71,7 @@ and injecting shared instances of core components
#include "Shells/UartAtShell.h"
#include "Shells/SysInfoShell.h"
#include "Shells/ModbusShell.h"
+#include "Shells/OneWireEepromShell.h"
#include "Config/TerminalTypeConfigurator.h"
class DependencyProvider
@@ -162,6 +163,7 @@ public:
UartAtShell &getUartAtShell();
SysInfoShell &getSysInfoShell();
ModbusShell &getModbusShell();
+ OneWireEepromShell &getOneWireEepromShell();
// Selectors
HorizontalSelector &getHorizontalSelector();
@@ -253,6 +255,7 @@ private:
UartAtShell uartAtShell;
SysInfoShell sysInfoShell;
ModbusShell modbusShell;
+ OneWireEepromShell oneWireEepromShell;
// Selectors
HorizontalSelector horizontalSelector;