WinCE6 Ril Drive Development log (iv)

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.