Requirement Specification for PC software: RMB 100 and Requirement Specification: RMB 100

Source: Internet
Author: User

Requirement Specification for PC software: RMB 100 and Requirement Specification: RMB 100
Device search instruction in PC Software Requirement Specification

The PC machine sends BRSR through serial port

The host sends all the searched bluetooth device names to PC machines in the format of"

BRSR "name" \ n

For example, there are three Bluetooth devices: AMOMCU_1, AMOMCU_1, and AMOMCU_1. After receiving this order, the serial port returns data:

BRSR "AMOMCU_1"

BRSR "AMOMCU_2"

BRSR "AMOMCU_3"

Device pairing command

The PC machine sends BRSC "name + code" via serial port. name indicates the selected Bluetooth name and code indicates the password. If the pairing is successful, "BRSS" is returned. Otherwise, "BRSE" is returned.

 

For example, if you want to pair with AMOMCU_2, the password is "123456"

PC machine sends BRSC "AMOMCU_2 + 123456"

If the pairing is successful, it is sent to the serial BRSS; otherwise, BRSE is returned.

Unpairing command

The PC machine sends the BRSU "name" through the serial port. The name is the selected Bluetooth name and the code is the password. If the pairing is successful, "BRSS" is returned; otherwise, "BRSE" is returned.

For example, if you want to cancel the amomu_2 pairing, the PC sends BRSU amommcu_2. If the pairing is successful, "BRSS" is returned; otherwise, "BRSE" is returned.

Data transmission instructions

Transmit data of a certain length (including reading data from the PC serial port and sending data to the PC serial port), but in order to conflict with the AT command, the first character has no letter AT, and the transmitted string is less than 20,

 

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.