.. | .. |
---|
56 | 56 | COAX_CMD_OSD_LEFT, |
---|
57 | 57 | COAX_CMD_OSD_RIGHT, |
---|
58 | 58 | COAX_CMD_STOP, |
---|
59 | | - |
---|
| 59 | + |
---|
60 | 60 | COAX_CMD_MAX, |
---|
61 | 61 | |
---|
62 | 62 | } NC_COAX_CMD_DEF; |
---|
.. | .. |
---|
86 | 86 | unsigned char tx_sync_pos1; //B3/4 0x0E/8E |
---|
87 | 87 | unsigned char tx_even; //B3/4 0x2F/AF |
---|
88 | 88 | unsigned char tx_zero_length; //B3/4 0x0C/ |
---|
89 | | -}NC_VD_COAX_TEST_STR; |
---|
| 89 | +} NC_VD_COAX_TEST_STR; |
---|
90 | 90 | |
---|
91 | 91 | typedef struct NC_VD_COAX_BANK_DUMP_STR{ |
---|
92 | 92 | unsigned char ch; |
---|
.. | .. |
---|
95 | 95 | |
---|
96 | 96 | unsigned char rx_pelco_data[256]; |
---|
97 | 97 | |
---|
98 | | -}NC_VD_COAX_BANK_DUMP_STR; |
---|
| 98 | +} NC_VD_COAX_BANK_DUMP_STR; |
---|
99 | 99 | |
---|
100 | 100 | /*============================================================= |
---|
101 | 101 | * Coaxial UP/Down Stream Initialize Structure[APP -> DRV] |
---|
.. | .. |
---|
119 | 119 | unsigned char rx_data5[8]; |
---|
120 | 120 | unsigned char rx_data6[8]; |
---|
121 | 121 | |
---|
122 | | -}NC_VD_COAX_STR; |
---|
| 122 | +} NC_VD_COAX_STR; |
---|
123 | 123 | |
---|
124 | 124 | typedef struct _nvp6158_coax_str{ |
---|
125 | 125 | unsigned char ch; |
---|
.. | .. |
---|
134 | 134 | unsigned char rx_data5[8]; |
---|
135 | 135 | unsigned char rx_data6[8]; |
---|
136 | 136 | |
---|
137 | | -}nvp6158_coax_str; |
---|
| 137 | +} nvp6158_coax_str; |
---|
138 | 138 | |
---|
139 | 139 | /*============================================================= |
---|
140 | 140 | * COAX FW Upgrade |
---|
.. | .. |
---|
146 | 146 | unsigned char filename[64]; // |
---|
147 | 147 | unsigned char filePullname[64+32]; // FirmUP FileNmae |
---|
148 | 148 | unsigned int filesize; |
---|
149 | | - unsigned int filechecksum; // (sum of file&0x0000FFFFF) |
---|
150 | | - unsigned int currentpacketnum; // current packet sequnce number(0,1,2........) |
---|
151 | | - unsigned int filepacketnum; // file packet number = (total size/128bytes), if remain exist, file packet number++ |
---|
| 149 | + unsigned int filechecksum; // (sum of file&0x0000FFFFF) |
---|
| 150 | + unsigned int currentpacketnum; // current packet sequnce number(0,1,2........) |
---|
| 151 | + unsigned int filepacketnum; // file packet number = (total size/128bytes), if remain exist, file packet number++ |
---|
152 | 152 | unsigned char onepacketbuf[128+32]; |
---|
153 | 153 | |
---|
154 | | - unsigned int currentFileOffset; // Current file offset |
---|
155 | | - unsigned int readsize; // currnet read size |
---|
| 154 | + unsigned int currentFileOffset; // Current file offset |
---|
| 155 | + unsigned int readsize; // currnet read size |
---|
156 | 156 | |
---|
157 | | - unsigned int receive_addr; |
---|
| 157 | + unsigned int receive_addr; |
---|
158 | 158 | |
---|
159 | 159 | unsigned int ispossiblefirmup[16]; // is it possible to update firmware? |
---|
160 | | - int result; |
---|
| 160 | + int result; |
---|
161 | 161 | |
---|
162 | | - int appstatus[16]; // Application status |
---|
| 162 | + int appstatus[16]; // Application status |
---|
163 | 163 | |
---|
164 | 164 | } FIRMWARE_UP_FILE_INFO, *PFIRMWARE_UP_FILE_INFO; |
---|
165 | 165 | |
---|
.. | .. |
---|
172 | 172 | void nvp6158_coax_tx_cvi_new_cmd_send( nvp6158_coax_str *ps_coax_str ); |
---|
173 | 173 | |
---|
174 | 174 | // Coaxial Down Stream Function |
---|
175 | | -void nvp6158_coax_rx_init( nvp6158_coax_str *ps_coax_str ); // Coax Rx : Initialize |
---|
176 | | -void nvp6158_coax_rx_data_get( nvp6158_coax_str *coax_rx ); // Coax Rx : All Rx Buffer read |
---|
177 | | -void nvp6158_coax_rx_buffer_clear( nvp6158_coax_str *ps_coax_str ); // Coax Rx : Rx Buffer Clear |
---|
178 | | -void nvp6158_coax_rx_deinit( nvp6158_coax_str *ps_coax_str ); // Coax Rx : 3x63 Set[ 1 -> 0 ] |
---|
| 175 | +void nvp6158_coax_rx_init( nvp6158_coax_str *ps_coax_str ); // Coax Rx : Initialize |
---|
| 176 | +void nvp6158_coax_rx_data_get( nvp6158_coax_str *coax_rx ); // Coax Rx : All Rx Buffer read |
---|
| 177 | +void nvp6158_coax_rx_buffer_clear( nvp6158_coax_str *ps_coax_str ); // Coax Rx : Rx Buffer Clear |
---|
| 178 | +void nvp6158_coax_rx_deinit( nvp6158_coax_str *ps_coax_str ); // Coax Rx : 3x63 Set[ 1 -> 0 ] |
---|
179 | 179 | |
---|
180 | 180 | // Coaxial FW Update Function |
---|
181 | 181 | void nvp6158_coax_fw_ready_header_check_from_isp_recv(void *p_param); |
---|