CSR Bluetooth chip in testing mode

Source: Internet
Author: User

There are two methods in general: one is to writeProgramWhen the test mode is added, another way is to send the HCI command through the PC to enter.

The method to add the test mode to the underlying program is to add the connectionenterdutmod call to the program.

Sending commands via PC is a little more complicated. The specific steps are as follows:

  • Use the pstool tool to enable the Bluetooth chip through SPI or UART, modify VM disable item Wei true, change host interface to UART link runing bcsp, and change HCI traffic routed internally to 0.
  • Use the btcli tool to open the Bluetooth chip and select the serial port. First, send the slave command and then the edutm command.
Of course, there are many other ways to enter the test mode, such as using the bluetest3 tool to send commands to the Bluetooth chip. However, these methods Basically send commands to the Bluetooth chip through the HCI Layer. After entering the test mode, in some cases, you may also need to send instructions to enable Bluetooth to enter the paired and connectable status so that you can use the Bluetooth tester to connect to the Bluetooth chip for various tests.

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.