EH-MA41 User Guide
26-26
Parameter
Description
Mandatory
Comments
ASCII Str
The ASCII string needs to be sent
to HID host.
Only the ASCII character in the
range of 20h
—7Eh and 08h, 09h,
0Dh can be included in this
parameter. The data out of range
will be thrown away.
M
Notes:
An escape character
(‘\’) is available like which has been widely used in C/C++ language. In this case, “\r” or “\R”
represents Enter(0Dh),
“\b” or “\B” represents Backspace(08h), “\t” or “\T” represents Tab(09h), and “\\” represents ‘\’
character.
5.3.5.4. Examples:
Ex. 5.104. To send an ASCII string to HID host:
AT+AS=Hello Bluetooth HID<CR><LF>
send an ASCII string to the HID host.
OK<CR><LF>
response from the module to indicate the command is adopted.
Ex. 5.105. To send a ASCII string to HID host:
AT+AS=!@#$%^abcdef9876<CR><LF>
send an ASCII string to the HID host.
OK<CR><LF>
response from the module to indicate the command is adopted.
Ex. 5.106. To send a ASCII string to HID host:
AT+AS=Hello\tWorld!\b\rThis is \\Ehong\\<CR><LF>
send an ASCII string to the HID host.
OK<CR><LF>
response from the module to indicate the command is adopted.
The HID host will receive and display as below:
Hello World
This is \Ehong\