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.

NPI_WriteTransport()函数却不能在RS232口上有输出显示呢?



  InitBoard( OB_READY );

  #if defined ( POWER_SAVING )    

osal_pwrmgr_device( PWRMGR_BATTERY );  

 #endif         //    

 

NPI_InitTransport(NULL);

//rs23 Init btz 这就是注册串口的回调函数,要对串口接收事件进行处理,就必须添加串口的回调函数   /* Start OSAL */  

osal_start_system();

 

为什么在此初始后,在其它函数间使用NPI_WriteTransport()函数却不能在RS232口上有输出显示呢?