dev = hmuart_init(uart, parse_hmuartlgw, &rdata, 0);
if (!dev) {
fprintf(stderr, "Can't initialize HM-MOD-UART\n");
exit(EXIT_FAILURE);
}
dev = hmuart_init(uart, parse_hmuartlgw, &rdata, 0);
if (!dev) {
fprintf(stderr, "Can't initialize HM-MOD-UART\n");
exit(EXIT_FAILURE);
}