Debugging of serial port bluetooth module under WinCE

Source: Internet
Author: User

After obtaining the module, please ask zwei to help me fly the module to the Board. The final situation is a bit like a cockroach and a spider, which is hard to solve.

After flying the line, use the serial port debugging assistant to send the at # command to confirm that the bluetooth module and the serial port can work normally. As a result, the luck was not good, and the commands sent out were just as if they had fallen into the sea.

Zwei needs to use the oscilloscope to measure rxd and txd, and the signal is normal. The txd and rxd are short-circuited by the serial debugging assistant. Serial debugging assistant should be okay. It has been tested for a long time. Finally, the flying line is connected to another serial port of the MCU. Zwei is flying.

The system is powered on, and the tests provided by the original manufacturer have not been run.Program, M8 can search for modules. No.

The previous Bluetooth chip is not ideal. Therefore, during this debugging, we hope to make the preliminary verification more comprehensive, so as not to affect the overall performance of the product and reduce the user experience.

As for the current problems, compatibility, stability, and functions are the most critical factors in debugging the bluetooth module. Therefore, we made a small tool for this bluetooth module to verify the above three problems.

After the tool was completed, nearly 10 mobile phones were tested, including iPhone 4, Nokia E75, M8, happy phone, Lenovo i908, and Motorola E6. no incompatibility was found. These mobile phones are also very representative.

The function of setting the module name, automatic connection upon startup, automatic recovery after module Exception, and other functions are not faulty, and the response speed is fast.

The dialing function, DTMF, and audio source switching of the phone are also working properly. Some mobile phones also have problems on their own. For example, the M8 mobile phone's Bluetooth is unable to dial normally.

Both a2dp and avrcp work normally, but messages sent from different mobile phones are different. Among them, iPhone 4 is the most perfect, and all the messages are available, and some should not be sent in disorder.

The phone book function works on iPhone 4, E75, and happy phone. The module can actively request to synchronize the phone book or receive business cards sent from the mobile phone. The M8 mobile phone does not work, and the module always returns an error when requesting to synchronize the phone book. When M8 sent the business card, all messages received by the module were blank.

When debugging the bluetooth module, the only thing you need to pay attention to is that it returns the phone name and the name of the pair phone is UTF-8 encoding, in the resolution needs to do the corresponding conversion, otherwise, garbled characters are displayed in Chinese.

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.