![sparkfun RN-52 Скачать руководство пользователя страница 12](http://html1.mh-extra.com/html/sparkfun/rn-52/rn-52_user-manual_1339608012.webp)
The functions for each GPIO can be found in the datasheet.
Configuration
By default, the RN-52 does not have the AVRCP enabled. This is part of
the extended features. When you type
D
to see the basic settings, you’ll
notice a line that says
ExtFeatures=XX
, where XX is some hex value. As of
this writing, the default firmware comes with the AVRCP buttons disabled.
Future versions of the firmware may differ. Looking in the Command
Specifications document, we find this table:
EK is the Evaluation Kit Roving Networks sells and comes with the AVRCP
enabled by default.
Notice that bit 0 is the bit we need to enable to activate the AVRCP button
functionality. Send the command
S%,07(/r)
to enable this bit while leaving
the other two bits enabled. Then follow it up with a reboot –
R,1(/r)
. You
should now have AVRCP enabled. Type
D
to double check the settings.
Page 12 of 14