github.com/cloudwan/edgelq-sdk@v1.15.4/devices/proto/v1/device_hardware_register_session_custom.proto (about) 1 syntax = "proto3"; 2 3 package ntt.devices.v1; 4 5 import "edgelq-sdk/devices/proto/v1/device_hardware.proto"; 6 import "edgelq-sdk/devices/proto/v1/device_hardware_register_session.proto"; 7 import "edgelq-sdk/devices/proto/v1/device_hardware_register_session_change.proto"; 8 9 option go_package = "github.com/cloudwan/edgelq-sdk/devices/client/v1/device_hardware_register_session;device_hardware_register_session_client"; 10 option java_multiple_files = false; 11 option java_outer_classname = "DeviceHardwareRegisterSessionCustomProto"; 12 option java_package = "com.ntt.devices.pb.v1"; 13 14 // Request message for method 15 // [RegisterHardware][ntt.devices.v1.RegisterHardware] 16 message RegisterHardwareRequest { 17 // token from hardware_register_session 18 string token = 1; 19 20 string serial_number = 3; 21 22 string manufacturer = 4; 23 24 // Should be in the format "productname (sku)", required field 25 string product_name = 5; 26 27 repeated string mac_address = 6; 28 29 string sim_iccid = 7; 30 31 string imei = 8; 32 33 // MD5 HMAC of '{"ICCID":"<>","MODEL":"<>","SN":"<>"}' 34 string md5_hmac_digest = 9; 35 36 reserved 2; 37 } 38 39 // Response message for method 40 // [RegisterHardware][ntt.devices.v1.RegisterHardware] 41 message RegisterHardwareResponse { DeviceHardware hardware = 1; } 42 43 // Request message for method [HardwareStatus][ntt.devices.v1.HardwareStatus] 44 message HardwareStatusRequest { 45 // token for hardware_register_session 46 string token = 1; 47 48 string serial_number = 3; 49 50 // manufacturer is typically not required, only required in case of serial 51 // number conflict with different vendors 52 string manufacturer = 4; 53 54 // product_name is typically not required, only required in case of serial 55 // number conflict with different productname/skus Should be in the format 56 // "productname (sku)" 57 string product_name = 5; 58 59 reserved 2; 60 } 61 62 // Response message for method [HardwareStatus][ntt.devices.v1.HardwareStatus] 63 message HardwareStatusResponse { repeated DeviceHardware device_hardwares = 1; } 64 65 // Request message for method 66 // [GetDeviceHardwareRegisterSessionFromToken][ntt.devices.v1.GetDeviceHardwareRegisterSessionFromToken] 67 message GetDeviceHardwareRegisterSessionFromTokenRequest { 68 // token from hardware_register_session 69 string token = 1; 70 } 71 72 // Response message for method 73 // [GetDeviceHardwareRegisterSessionFromToken][ntt.devices.v1.GetDeviceHardwareRegisterSessionFromToken] 74 message GetDeviceHardwareRegisterSessionFromTokenResponse { 75 DeviceHardwareRegisterSession device_hardware_register_session = 1; 76 77 // Used for showing project name in hardware registration dashboard 78 string project_display_name = 2; 79 }