This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Fprintf issues

I am having difficulty sending commands to the UART using fprintf. I am able to send 4 commands without difficulty. However, when I try to send the fifth command, fprintf returns a -1. Any other commands after this also returns a -1. Any ideas why this is happening?

Parents Reply Children
  • I want to request information from the device Im connected to using UART so I send a command,SS1400X, using fprintf. I can send 4 different types of command: SS1400, SS1420, SS1440, SS1460 to the device. The device responds with no problems. However, when I send the next command, SS1480, I see that the command is sent to the device but fprintf is returning a -1. I will look into retargetting.
    Thanks