Problem interfacing RF modem through USB port in Linux
Pardon me if this is not the right forum to ask this question.
I'm working on RHEL6 Linux platform. I've a 24Xstream RF modem. I've interfaced it with linux usb port and able to communicate with the modem.
I've written a program to receive data from another RF modem. Also, added the linux user to the group dialout, so that the program has the permission to access usb port ttyUSB0.
Everything is working fine and the RF modem is receiving correct data...except for the first time.....i.e,When I connect the modem to the port for the first time and run the program, the modem is responding to all AT commands. But it receives only 'zeros' from the other RF module........
But,if I send a command to the modem through terminal and then again run the program,......it is reciving correct data from the other RF modem....