You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
366 B
C
12 lines
366 B
C
extern int siofd; // fd to work with the serial port
|
|
|
|
int send_cmd(unsigned char* incmdbuf, int blen, unsigned char* iobuf);
|
|
int open_port(char* devname);
|
|
int find_file(int num, char* dirname, char* filename,unsigned int* id, unsigned int* size);
|
|
void port_timeout(int timeout);
|
|
int atcmd(char* cmd, char* rbuf);
|
|
|
|
#ifdef WIN32
|
|
#define usleep(x) Sleep(x/1000)
|
|
#endif
|