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.

enet-s2e例程相关问题



请问大家,有谁知道该例程怎样实现以太网到Port0与Port1两个端口(串口)的转换,在哪里进行设置,目的是可自动切换两个端口与以太网端口的信息传输。

请大家给些建议,多谢!

  •     pState->ui32SerialPort = ui32SerialPort;

    这个变量是怎么使用的?当串口PORT1有数据时应该是PORT0,PORT1口有数据时应该是PORT1,但现在PORT1有数据时该变量不变化,请问该变量是怎么触发其变化的?

    麻烦大神及官方人员给出建议啊!

    多谢!

  • wenchao li1 说:

        pState->ui32SerialPort = ui32SerialPort;

    这个变量是怎么使用的?当串口PORT1有数据时应该是PORT0,PORT1口有数据时应该是PORT1,但现在PORT1有数据时该变量不变化,请问该变量是怎么触发其变化的?

    麻烦大神及官方人员给出建议啊!

    多谢!

    你的问题感觉描述不清,不是很明白你的问题?