blob: 47c00ac2097943c4d3ca2e2a85fbe53182a3c77e [file] [log] [blame]
#include <stdio.h>
#include "ql_atc.h"
int main(int argc, char *argv[])
{
if(argc != 2) {
printf("ql_atc_test <at>\n");
return -1;
}
if(ql_atc_init()) {
printf("ql_atc_init() fail.\n");
return -1;
}
char resp[1024];
if(ql_atc_send(argv[1], resp, sizeof(resp))) {
printf("ql_atc_send() fail.\n");
return -1;
}
if(ql_atc_deinit()) {
printf("ql_atc_deinit() fail.\n");
return -1;
}
printf("RSP : %s\n", resp);
return 0;
}