Hi all,
We’re a little busy these days. I do some simple test with HM10 module. It seems has a new self learning feature. I downloaded the user manual bluetooth40_en.zip and read the “HM-10_11 V542 Self-Learning Function Introduction”.
Here’re the command list for HM10 module (firmware V545).
- HM10 work as central role
- BlueDuino work as peripheral role
Those AT Command only need be executed once more
================================================
AT+RENEW
AT+IMME1
AT+SHOW1 (If you doesnt want to get slave device name, forget this command)
AT+COMP1
AT+NOTI1
AT+128B0
AT+UUID0xFFF2
AT+CHAR0xFFF1
AT+ROLE1
Now you can use those AT Commands to discovery or connect a slave device.
=========================================================================
AT+DISC? (Start a scan procedure)
OK+DISCS (Module response, Start scan procedure)
OK+DIS<P1><P2><P3> (Module response, Found device)
<P1>: Device Type
<P2>: Device MAC Address
<P3>: Device Name
OK+DISCE (Module response, Scan procedure finished)
AT+CO<P1><P2> (Try to connect a slave device)
<P1>: Device Type
<P2>: Device MAC address