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,