#!/bin/sh

###########################
# General config
#   these are the default settings
#   the setting are only used, if not defined in the payload itself
###########################

# USB Gadget Setup
# ---------------------------
# Make sure to change USB_PID if you enable different USB functionality in order
# to force Windows to enumerate the device again

# default gadget information
USB_VID=0x1d6b        # Vendor ID
USB_PID=0x0104        # Product ID

# options
# UVC
USE_UVC=true
UVC_APP=usb_camera
UVC_EXEC=/usr/bin/usb_camera
#UVC_ARGS="-s 6 -i 1 -p 1 -c 1 -b 5 -o 0 -O 0 -u 0 -w 1920 -h 1080 -r 5000 -I 64 -P 64 -M 0 -V 3 -U 1"   # 8a10 sensor
UVC_ARGS="-s 3 -i 1 -p 1 -c 2 -o 0 -O 0 -f 30  -u 0 -w 1920 -h 1080 -r 5000 -I 64 -P 64  -M 0 -V 3 -U 1"   # pattern
UVC_LOG_TO="> /userdata/uvc.log"
UVC_BULK=true
BURST_NUM=9

# ACM
USE_ACM=true

# multi function option
IS_MULTI_FUNC=true

# multi alternate setting support
USE_MULT_ALTSETTING=true
