User Manual

JDY-25M Super BLE Bluetooth Module
21
Default0
AT+SUBTYPE +SUBTYPE=<Para
m>
Note: After the SUBTYPE is set to 1, the level of the remote device controlled by the INPUT key will change as
the level of its OUTPUT pin.
For example, INPUT1 controls the remote device INPUT1 level to high level, and its own INPUT1 pin will
also become high level.
42Set/query - Learn switch enable
Instruction Response Parameter
AT+LEARN<Param> +OK Param1 or 0
1Button and output pin learn mode on
0Button and output pin learn mode off
Default0
AT+LEARN +LEARN=<Para
m>
Note: When LEARN is set to 1, it means the parameters of INPUT pin set by AT+KEY are completely invalid. The
parameters of key sending and receiving will be acquired by AT+LEAVAL or key learning.
For key learning configuration, please refer to the document Switch panel instructions. PDF.
43Set/query - Learn parameter
Instruction Response Parameter
AT+LEAVAL
<P1>,<P2>,<P3>
+OK P1OUTPUT pin number of current
device
P2Code sender INPUT pin number
P3Code sender short address
0001-FF00
Default0,0,0000
AT+LEAVAL +LEAVAL=
<P1>,<P2>,<P3>
When LEARN mode is on, AT+LEAVAL instruction configures parameters.
Example 1: Remote 0008 device KEY1 simultaneously controls the current device's OUTPUT1 and OUTPUT2
levels
Current device sends instruction: AT+LEAVAL1,1,0008 send AT+LEAVAL2,1,154A
Example 2: Remote 0008 device KEY2 controls the current device's OUTPUT5 level
Current device sends instruction: AT+LEAVAL5,2,0008
44Set/query - Turn on one key binding to connect the strongest signal slave
Instruction Response Parameter