# RealScan SDK (USB) integration (IT/technician notes)

This is a helper doc for installing/extracting the vendor SDK files so the Agent can use a RealScan device over USB.

## Extract the SDK zip into the project

From the repo root (PowerShell):

```powershell
.\scripts\Extract-RealScanSdk.ps1 -ZipPath "C:\path\to\RealScan SDK for Windows(US) v2.2.0.2469.zip"
```

Or run `.\scripts\Extract-RealScanSdk.ps1` with no arguments to auto-search common locations.

## Where the SDK ends up

- The script extracts into `agent/libs/RealScanSdk`
- The Agent can also use an installed SDK under `C:\Program Files\Xperix\RealScan SDK`

## App config reminder

In `agent/src/LS360.Agent/appsettings.json`:

- `GSdk.UseGSdk` should be `false` to use the USB SDK adapter.
- `RealScan.SdkPath` can be set if the SDK is not in the default location.

# RealScan SDK (USB) integration (IT/technician notes)

This is a helper doc for installing/extracting the vendor SDK files so the Agent can use a RealScan device over USB.

## Extract the SDK zip into the project

From the repo root (PowerShell):

```powershell
.\scripts\Extract-RealScanSdk.ps1 -ZipPath "C:\path\to\RealScan SDK for Windows(US) v2.2.0.2469.zip"
```

Or run `.\scripts\Extract-RealScanSdk.ps1` with no arguments to auto-search common locations.

## Where the SDK ends up

- The script extracts into `agent/libs/RealScanSdk`
- The Agent can also use an installed SDK under `C:\Program Files\Xperix\RealScan SDK`

## App config reminder

In `agent/src/LS360.Agent/appsettings.json`:

- `GSdk.UseGSdk` should be `false` to use the USB SDK adapter.
- `RealScan.SdkPath` can be set if the SDK is not in the default location.

