Go to the documentation of this file.00001
00002
00006
00008
00009
00010
00011
00012
00014
00017
00027
00029
00031
00032
00033
00035
00036
00037 #include "mip_sdk_user_functions.h"
00038
00039 #include <string>
00040 #include <iostream>
00041 #include <cstdio>
00042 #include "serial/serial.h"
00043
00044
00045
00046
00048
00051
00054
00060
00063
00069
00071
00072 u16 mip_sdk_port_open(void **port_handle, int port_num, int baudrate)
00073 {
00074
00075 return MIP_USER_FUNCTION_ERROR;
00076 }
00077
00078
00080
00083
00086
00090
00093
00099
00101
00102 u16 mip_sdk_port_close(void *port_handle)
00103 {
00104
00105 return MIP_USER_FUNCTION_ERROR;
00106 }
00107
00108
00110
00113
00116
00124
00127
00133
00135
00136 u16 mip_sdk_port_write(void *port_handle, u8 *buffer, u32 num_bytes, u32 *bytes_written, u32 timeout_ms)
00137 {
00138
00139 return MIP_USER_FUNCTION_ERROR;
00140 }
00141
00142
00144
00147
00150
00158
00161
00167
00169
00170 u16 mip_sdk_port_read(void *port_handle, u8 *buffer, u32 num_bytes, u32 *bytes_read, u32 timeout_ms)
00171 {
00172
00173 return MIP_USER_FUNCTION_ERROR;
00174 }
00175
00176
00178
00181
00184
00188
00191
00197
00199
00200 u32 mip_sdk_port_read_count(void *port_handle)
00201 {
00202
00203 return 0;
00204 }
00205
00206
00208
00211
00214
00218
00220
00231
00233
00234 u32 mip_sdk_get_time_ms()
00235 {
00236
00237 return 0;
00238 }