O'Reilly logo

Mastering Arduino by Jon Hoffman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Query notify information

Command

Response

Parameters

Description

AT+NOTI?

 

OK+get:{parameter}

 

None

 

This command will return if the device will send a

notification when a device connects or disconnects.

 

We can only issue AT commands to the Bluetooth module when another device is not connected to it. Once a device is connected to the application code that we wrote takes over, and the data that is typed into the serial console is sent to the connected device. Let's see what happens when we connect to the Bluetooth module from another device. I will be using the BTCommander – Serial Port HM10 app to show how this works.

With the application running on the Arduino, start up the Bluetooth application on your phone/tablet ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required