This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How to use following function? Such as the port parameter detail definition. And how to write the series code to call this function?
TelnetNotifyModemState(uint32_t ui32Port, uint8_t ui8ModemState)
不清楚你具体要问的是什么
应该是在config.h中定义了CONFIG_RFC2217_ENABLED
#define CONFIG_RFC2217_ENABLED 1
但是在我们现在提供的历程中应该没有包括怎么使用这个功能。
之前内部测试的时候是确实试过的,这个你需要自己再试下。
The RDK-S2E supports flow control using the RTS and CTS pins. The assertion of these bits causes a call to TelnetNotifyModemState function, see telnet.c and which in turn causes a TCP/IP message to be sent to the transmitter letting it know the ready or not ready state of the receiver. If these pins are connected and configured in software correctly and the transmitter supports the telnet protocol an overflow should not occur. We test this software with very large data files and a binary compare before and after transmission.
其实我是想知道传进来的参数ui8ModemState每一个bit是怎么定义的? 我在RFC2217协议描述里,找到一个modemstateMask, 看样子读到相应bit 再一个个填进相应位置,就可以吧!先试试!