Skip to content

Commit

Permalink
[Sigma] Decode rest configs
Browse files Browse the repository at this point in the history
  • Loading branch information
baku89 committed Sep 28, 2023
1 parent f631a2c commit fc2f32b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/TethrPTPUSB/TethrSigma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ export class TethrSigma extends TethrPTPUSB {
cameraModel: {tag: 1, type: IFDType.Ascii},
serialNumber: {tag: 2, type: IFDType.Ascii},
firmwareVersion: {tag: 3, type: IFDType.Ascii},
communiationVersion: {tag: 5, type: IFDType.Float},
})

this.checkPropChangedTimerId = setInterval(() => {
if (this.isCapturing) return
this.checkConfigChanged()
Expand Down Expand Up @@ -1256,7 +1256,10 @@ export class TethrSigma extends TethrPTPUSB {
group3DataView.skip(3) // OC + FieldPreset

const group3 = {
colorSpace: group3DataView.skip(3).readUint8(),
contrast: group3DataView.readUint8(),
sharpness: group3DataView.readUint8(),
saturation: group3DataView.readUint8(),
colorSpace: group3DataView.readUint8(),
colorMode: group3DataView.readUint8(),
batteryKind: group3DataView.readUint8(),
lensWideFocalLength: group3DataView.readUint16(),
Expand Down

0 comments on commit fc2f32b

Please sign in to comment.