balong-flash/hdlcio.h

10 lines
398 B
C
Raw Normal View History

extern int siofd; // fd для работы с Последовательным портом
void dump(char buffer[],int len,long base);
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);