• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  * Description: dfx connect st
15  * This file should be changed only infrequently and with great care.
16  */
17 
18 #ifndef DIAG_CMD_CONNECT_ST_H
19 #define DIAG_CMD_CONNECT_ST_H
20 #include <stdint.h>
21 
22 #define IMEI_SIZE 16
23 typedef struct {
24     uint32_t major_minor_version;
25     uint32_t revision_version;
26     uint32_t build_version;
27 } ue_soft_version_t;
28 typedef struct {
29     uint16_t version_v;
30     uint16_t version_r;
31     uint16_t version_c;
32     uint16_t version_b;
33     uint16_t version_spc;
34     uint16_t reserved[3]; /* pad 3 item */
35 } ue_product_ver_t;
36 
37 typedef struct {
38     uint32_t rc; /* result code */
39     char imei[IMEI_SIZE];
40     ue_soft_version_t ue_soft_version;
41     ue_product_ver_t build_version;
42 } diag_cmd_host_connect_cnf_stru_t;
43 
44 #endif