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 ...

Get Mastering Arduino now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.