These two days through the repeated printing of the log finally resolved ril_dial can not send at instructions to the serial port. Because previously on the Internet to see predecessors do RIL layer Drive development, did not mention a similar problem. The specific questions are described below:
RIL layer Drive successfully loaded, write a WinCE app, first call the Ril_initialize interface do RIL initialization operation. The ril_dial is then invoked directly to dial, but without success. Through the log, determine is due to a global variable Gradiooff set to True, resulting in the process does not go to the serial port to send data branch. By looking at the two local analysis of the variable assignment, one is to determine whether a feature is fully functional or minimal, and the other is obtained from the RILPDD configuration parameters. At first I thought it was the previous one, and it did work after that, but given that this part of the code is a public part of the MDD layer code that Microsoft officially publishes, and other people don't mention the code that modifies this part on any network data. Therefore, such modifications should not be appropriate. Then you can only look at the second assignment. This is the simulation code of the RIL PDD layer provided by Microsoft. Considering that this part of the code is only an example model, each modem manufacturer should be based on the characteristics of their own communication modules to modify the premise of the analysis to modify the initial parameters of a reasonable number. The original variable value here is modified to true, recompiled, generated, and downloaded to the Development Board. Test everything OK.