EH-MA41 User Guide
6-26
5.1. General Commands
5.1.1. PF
—Query or configure the profiles
5.1.1.1. Description:
This command can query or configure the profiles of Bluetooth module. Once configured, the configuration will take effect
immediately and until the next time the module is configured by this command. It means the Bluetooth module will
remember the configuration, and even if the Bluetooth module has been powered off, the configuration will not be lost. If
the new configuration is adopted by the Bluetooth module, the module will perform a reboot, the non-memorable settings
will return to their default value. Therefore, it is recommended to send this command first if necessary.
If the parameter is not presented, the Bluetooth module will report current profile configuration by the Indicator PF.
5.1.1.2. Syntax:
Synopsis: Comments
AT+PF[=Spp][,Hid][,Rfc]<CR><LF> For MA41 and MA46
5.1.1.3. Parameter Description:
Parameter
Description
Mandatory or Optional
Comments
SPP
SPP disable or enable
Value: 00 or 01
Default: 01
M
Rfc
IAP disable or enable
Value: 00 or 01
Default: 00
M
Hid
HID disable or enable
Value: 00 or 01
Default: 00
M
5.1.1.4. Examples:
Ex. 5.1. To query current profile configuration of Bluetooth module (MA41 or MA46):
AT+PF<CR><LF>
query current profile configuration.
PF=05,01,01,00,00<CR><LF>
report current profile configuration: 5 SPP instance,1 HID instance,1
RFCOMM instance.
Ex. 5.2. To configure the features of Bluetooth module (MA41 or MA46):
AT+PF=04,00,00,00,00<CR><LF>
configure the module profiles: 4 SPP instance and no HID and RFCOMM
profile supported.
OK<CR><LF>
response from the module to indicate the command is adopted.
AP=00<CR><LF>
Indicate that the Bluetooth has performed a reboot and is ready now.
Ex. 5.3. To configure the features of Bluetooth module (MB05 or ):
AT+PF=01,00,01,00,02,02<CR><LF>
configure the module profiles: 1 SPP instance, 1 RFCOMM instance, 2
A2DP instance and 2 AVRCP instance supported.
OK<CR><LF>
response from the module to indicate the command is adopted.
AP=00<CR><LF>
Indicate that the Bluetooth has performed a reboot and is ready now.
5.1.2. AD
—Query the Bluetooth address
5.1.2.1. Description:
This command can query the Bluetooth address of local module. Once the Bluetooth module adopted this query request,
it will report its Bluetooth address by the Indicator AD.
5.1.2.2. Syntax:
Synopsis: