BK3266-doc/README.md

9.4 KiB

BK3266

Image of the BK3266 dev board

Image 1

Image 2

Datasheet

[BK3266 Datasheet](doc/BK3266 Datasheet.pdf)

BK3266 Control instruction list

+SNAME+ Example: COM+SNAME+BTBLUE\r\n

"\r\n stands for carriage return and line feed, input in the debugging assistant (Enter key)"

BTBLUE is the modified name

Modify the Bluetooth name COM+SNAME+XXXX\r\n

XXXX: Up to 16 characters

Correct: OK\n

Error: ERR\n

Effective after power off and restart

+SPIN+ Example: COM+SPIN+12345678\r\n

"\r\n stands for carriage return and line feed, input in the debugging assistant (Enter key)"

12345678 is the modified password

Edit Bluetooth pairing password

(feature optional)

COM+SPIN+XXXX\r\n

XXXX: Maximum 16 characters

Correct: OK\n

Error: ERR\

TONExx Xx: "ON" turns on the tone

Xx: "OFF" turns off the tone

Support power-down save

Default tone

Tone setting COM+TONEON\r\n

Turn on the tone

COM+TONEOFF\r\n

Turn off the tone

Effective immediately

MTONE Query tone settings COM+MTONE\r\n

Open: TOMEON\n

Close: TOMEOFF\n

GOBACKxx Xx: "ON" opens back

Xx: "OFF" closes back

Support power-down save

Power on by default

Power-on

connection settings COM+GOBACKON\r\n

Turn on the power back

COM+GOBACKOFF\r\n

Turn off the power back

Effective immediately

MGOBACK Query back connection settings COM+MGOBACK\r\n

Open: GOBACKON\n

Close: GOBACKOFF\n

CALLxx Xx: "ON" to open the call function

Xx: "OFF" to turn off the call function

Support power-down save

Call on by default

Call function settings COM+CALLON\r\n

Turn on the call

COM+GOBACKOFF\r\n

Turn off call

Power off restart takes effect

MCALL Query call settings COM+MCALL\r\n

Open: CALLON\n

Close: CALLOFF\n

MP3AUTOPLYxx U disk / TF mode:

Xx: "ON" turns on auto play

Xx: "OFF" turns off automatic playback

Support power-down save

Autoplay is enabled by default

Auto play settings COM+MP3AUTOPLYON\r\n

Turn on autoplay

COM+MP3AUTOPLYOFF\r\n

Turn off autoplay

Effective immediately

MP3AUTOPLY Query autoplay

Setting

COM+MP3AUTOPLY\r\n

Open: MP3AUTOPLYON\n

Close: MP3AUTOPLYOFF\n

MEQ Query EQ NORMAL\n

BOOST\n

TREBLE\n

POP\n

ROCK\n

CLASSIC\n

JAZZ\n

DANCE\n

R&P\n

SETEQxx Xx:NORMAL

BOOST\

TREBLE

POP

ROCK

CLASSIC

JAZZ

DANCE

R&P

Support power-down save

Default "NORMAL"

EQ settings COM+SETEQNORMAL\r\n

Correct: OK\n

Error: ERR\n

Effective immediately

OT Example:

0015: A total of 15 songs

0001: The first song is currently played.

0328: Play time 3 minutes 28 seconds

Open print song information COM+GN\r\n

Correct: MUSIC: 001500010328\n

Error: ERR\n

CT Turn off song information by default Turn off song information COM+CT\r\n

Correct: OK\n

Error: ERR\n

GN Xxxxxxxx: song name, up to 8 characters, when using more than 8 characters, replace with "~1" Get the current song play name COM+GN\r\n

Correct: xxxxxxxx\n

Error: ERR\n

PR Enter pairing BT+PR\r\n
AC Connect the last paired device BT+AC\r\n
DC Disconnect BT+DC\r\n
CA Answer the call BT+CA\r\n
CJ Refuse to call BT+CJ\r\n
CE Hang up the phone BT+CE\r\n
CR Redial last number BT+CR\r\n
PP Music play/pause COM+PP\r\n
PA play music COM+PA\r\n
PU Music pause COM+PU\r\n
PN next track COM+PN\r\n
PV previous piece COM+PV\r\n
VP Volume plus COM+VP\r\n
VD Volume reduction COM+VD\r\n
SETTSxx Xx: (00-16)

Serial port settings

Support power-down save

Set the tone volume COM+SETTSxx\r\n

Correct: OK\n

Error: ERR\n

MTS x:(0-16) Query current prompt tone volume COM+MTS\r\n

Correct: TSx\n

Error: ERR\n

Vxx Xx: (00-16)

Button, serial port

settings

Support power-down save

Set the volume

COM+Vxx\r\n

Correct: COM_Vxx\n

Error: ERR\n

GV Xx: (00-16) Query current volume COM+GV\r\n

Correct: COM_Vxx\n

Error: ERR\n

PWDS Soft shutdown COM+PWDS\r\n
PWOS Soft boot COM+PWOS\r\n
REBOOT This restart is equivalent to a power failure restart Restart COM+REBOOT\r\n
MC Switch to the next working mode COM+MC\r\n
MBT Bluetooth mode COM+MBT\r\n
MSD TF mode (if valid) COM+MSD\r\n
MAX AUX mode (if valid) COM+MAX\r\n
MUD U disk mode (if valid) COM+MUD\r\n
IQ Query current mode and status COM+IQ\r\n
SMA Default play mode SMA Loop all

(TF/U disk mode)

COM+SMA\r\n

Correct: COM_SMA\n

Error: ERR\n

SMO Single loop

(TF/U disk mode)

COM+SMO\r\n

Correct: COM_SMO\n

Error: ERR\n

SMNO Single does not loop

(TF/U disk mode)

COM+SMNO\r\n

Correct: COM_SMNO\n

Error: ERR\n

SMR Shuffle Playback

(TF/U disk mode)

COM+SMR\r\n

Correct: COM_SMR\n

Error: ERR\n

GSM Query current MP3

Play mode

(TF/U disk mode)

COM+GSM\r\n

All loops: COM_SMA\n

Single loop: COM_SMO\n

Single does not loop: COM_SMNO\n

Random play: COM_SMR\n

SMPxxxx Xxxx: (0001-9999)

("0001" stands for the first one)

Selection song

(TF/U disk mode)

COM+SMP0040\r\n
MRMP3 x:(1-9999) Query the currently playing

MP3 song serial number

(in TF mode)

COM+MRMP3\r\n

Correct: music_mun=x\n

Error: ERR\n

MMMP3 x:(1-9999) Query current mode

Number of MP3 songs

(TF/U disk mode)

COM+MMMP3\r\n

Correct: MMMPx\n

Error: ERR\n

MRUSB x:(1-9999) Query the currently playing

U disk song serial number

(in U disk mode)

COM+MRUSB\r\n

Correct: music_mun=x\n

Error: ERR\n