c - How to read data form WinCE 5.0 's Debug Serial port? -


In my project, I need to input some command in my WinCE device via debug serial port. But I know Let's run that I can only use "printf" or "retailmg" to use my debug info, but I can not just call "scanf" to get data from the debug serial port < P> After watching MSDN, I have a function called "OEMReadDebugByte" It is a kernel function of WinCE, but when I try to call this function in my WinCE application, the platform builder posts " error LNK2019: Unsolved external symbol referenced in the function wmain OEMReadDebugByte "

Can I use to insert a case in kerneliocontroll? how ?

Thank you very much !!!

Thank you!

This function is used to set the input mode from the user to use in the bootloader , Network configuration, etc. This is not used by the kernel Serial debug is used for output and there is no easy way to change it. The application you can apply is to apply an application that provides serial console And removes the serial debug to your BSP and changes the system that sends this information into the application (using shared memory or something like this) which then outputs to the serial port Nsol will require some knowledge of the Oael and BSP structure and features to implement.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -