how i can create android ble app to send AT command to my HM10 module

319 views
Skip to first unread message

vikas upadhyay

unread,
Aug 6, 2016, 1:45:14 AM8/6/16
to mitappinv...@googlegroups.com



---

apk file removed, see the Posting Guidelines.
Taifun

Ghica

unread,
Aug 6, 2016, 6:00:36 PM8/6/16
to MIT App Inventor Forum
You may want to specify in more detail what your app should do.
Cheers, Ghica.

Martyn_HK

unread,
Aug 6, 2016, 11:25:07 PM8/6/16
to mitappinv...@googlegroups.com
Use the mode command. You need to use a serial connection to change the mode property before you can send AT commands over a wireless connection.


AT+MODEx It changes the way the module processes AT commands:

AT+MODE0 (default value): Only accept AT commands over the serial connection (RX/TX) until a Bluetooth connection is made.Once a connection is established AT commands are treated as data.

AT+MODE2 Same as MODE0 but once a connection is established, AT commands can be sent over the Bluetooth connection. This allows you to remotely change the value of GPIO pins.

Reply all
Reply to author
Forward
0 new messages