about summary refs log tree commit diff
path: root/lri-proto/proto/hw_info.proto
blob: 70bd90f16be6b85007e47d223af49fc2c96cfeb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
syntax = "proto2";

package ltpb;

import "sensor_type.proto";
import "camera_id.proto";

message CameraModuleHwInfo {
    required CameraID id = 1;
    required SensorType sensor = 2;
    
    optional LensType lens = 3 [default = LENS_UNKNOWN];
    enum LensType {
        LENS_UNKNOWN = 0;
        LENS_SHOWIN = 1;
        LENS_LARGAN = 2;
        LENS_SUNNY = 3;
        LENS_KANTATSU = 4;
    }
    
    optional MirrorActuatorType mirror_actuator = 4 [default = MIRROR_ACTUATOR_UNKNOWN];
    enum MirrorActuatorType {
        MIRROR_ACTUATOR_UNKNOWN = 0;
        MIRROR_ACTUATOR_PZT = 1;
    }
    
    optional MirrorType mirror = 5 [default = MIRROR_UNKNOWN];
    enum MirrorType {
        MIRROR_UNKNOWN = 0;
        MIRROR_DIELECTRIC_SNX = 1;
        MIRROR_SILVER_ZUISHO = 2;
    }
    
    enum LensActuatorType {
        LENS_ACTUATOR_UNKNOWN = 0;
        LENS_ACTUATOR_SHICOH = 1;
        LENS_ACTUATOR_PZT = 2;
    }
}

message HwInfo {
    repeated CameraModuleHwInfo camera = 1;
    
    optional FlashType flash = 2 [default = FLASH_UNKNOWN];
    enum FlashType {
        FLASH_UNKNOWN = 0;
        FLASH_OSRAM_CBLPM1 = 1;
    }
    
    optional ToFType tof = 3 [default = TOF_UNKNOWN];
    enum ToFType {
        TOF_UNKNOWN = 0;
        TOF_STMICRO_VL53L0 = 1;
    }
    
    optional ModelType model = 4;
    enum ModelType {
        MODEL_P1 = 0;
        MODEL_P1_1 = 1;
        MODEL_P2 = 2;
    }
    
    optional string manufacturer = 5;
}