uuu
uuu (Universal Update Utility), mfgtools 3.0
Loading...
Searching...
No Matches
sdps.cpp File Reference
#include <string>
#include "sdps.h"
#include "hidreport.h"
#include "liberror.h"
#include "libcomm.h"
#include "buffer.h"
#include "sdp.h"
#include "trans.h"
#include <libusb.h>
#include <cstring>
#include "rominfo.h"

Classes

struct  _CDBHIDDOWNLOAD
struct  _ST_HID_CBW

Macros

#define BLTC_DOWNLOAD_FW   2
#define HID_BLTC_REPORT_TYPE_DATA_OUT   2
#define HID_BLTC_REPORT_TYPE_COMMAND_OUT   1
#define CBW_BLTC_SIGNATURE   0x43544C42;
#define CBW_PITC_SIGNATURE   0x43544950;
#define CBW_DEVICE_TO_HOST_DIR   0x80;
#define CBW_HOST_TO_DEVICE_DIR   0x00;

Typedefs

typedef struct _CDBHIDDOWNLOAD CDBHIDDOWNLOAD
typedef struct _CDBHIDDOWNLOADPCDBHIDDOWNLOAD

Functions

static bool is_ivt_barker_header (shared_ptr< DataBuffer > data, size_t off)

Macro Definition Documentation

◆ BLTC_DOWNLOAD_FW

#define BLTC_DOWNLOAD_FW   2

◆ CBW_BLTC_SIGNATURE

#define CBW_BLTC_SIGNATURE   0x43544C42;

◆ CBW_DEVICE_TO_HOST_DIR

#define CBW_DEVICE_TO_HOST_DIR   0x80;

◆ CBW_HOST_TO_DEVICE_DIR

#define CBW_HOST_TO_DEVICE_DIR   0x00;

◆ CBW_PITC_SIGNATURE

#define CBW_PITC_SIGNATURE   0x43544950;

◆ HID_BLTC_REPORT_TYPE_COMMAND_OUT

#define HID_BLTC_REPORT_TYPE_COMMAND_OUT   1

◆ HID_BLTC_REPORT_TYPE_DATA_OUT

#define HID_BLTC_REPORT_TYPE_DATA_OUT   2

Typedef Documentation

◆ CDBHIDDOWNLOAD

◆ PCDBHIDDOWNLOAD

Function Documentation

◆ is_ivt_barker_header()

bool is_ivt_barker_header ( shared_ptr< DataBuffer > data,
size_t off )
static