tomaskovacik / bk8000l Goto Github PK
View Code? Open in Web Editor NEWarduino library for bluetooth a2dp module based on BK8000L chip from BEKEN corp.
License: GNU General Public License v3.0
arduino library for bluetooth a2dp module based on BK8000L chip from BEKEN corp.
License: GNU General Public License v3.0
BK3254:
CMD+AUD+ENABLE+%d+%d"
CMD+AUD+CONF+%d
CMD+FLASH+AECIOCTL+%d+%d"
CMD+FAIL
CMD+OK
CMD+AUD+ENABLE+%d+%d
CMD+DUTTEST+CLOSE"
CMD+DUTTEST+OPEN"
CMD+SINWAVE+OPEN"
CMD+SINWAVE+CLOSE"
CMD+SINWAVE+CONF+%d+%d+%d"
bk8000L;
DUTTEST
OPEN
CLOSE
SINWAVE
CONF
FLASH
DEBUGSHOW
DEBUGENV
ENABLE
DISCONN
A2DP
AVRCP
REGNO
transaction label
PLAY
PAUSE
PREV
NEXT
FORWARD
REWIND
PAIR
ACCEPT
REJECT
HUNG
REDIAL
DTMF
IDLE
CHECK
this require that code wait for responce in timed loop and if loop reach end without responce from module, initialize reset of module
or
make note of last send command for which we should have receive responce in some defined time, and check in function getNextEventFromBT if we are not over defined timeout
hi
can this lib be used to control the chip's EQ?
thx!
I would like to make a custom media Controller for my mobile but dont wish it to connect as a audio interface, can this module be set to only connect the AVRCP protocol and turn off A2DP? I have read though the information but cant see a command for this?
Hi, please change getConnectioStatus(); //get BT connection status line
to
getConnectionStatus(); //get BT connection status
Thank you very much for your work
Hi
I have error while compiling example code:
C:\Users\Krzysztof\Documents\Arduino\libraries\BK8000L-master\BK8000L.cpp:36:2: error: expected initializer before 'btSerial'
btSerial->end();
^
C:\Users\Krzysztof\Documents\Arduino\libraries\BK8000L-master\BK8000L.cpp:37:1: error: expected declaration before '}' token
}
Hello,
I'm using your library with the ROM image from https://github.com/tomaskovacik/kicad-library/blob/master/library/datasheet/F-6188_BK8000L/bins/firmware_serial.bin but when I change inputs (i want to try the line input) it seems to crash. It disconnects from the computer and I see the program restarting.
Does that version of the configuration support line input?
Hello,
First of all I would like to thank you, you created nice and easy to use library for BK8000L, but still, I am probably doing something wrong...
I use ESP8622 to communicate with BK8000L because both chips are operating in 3.3V. Unfortunately your example code does not work for me.
After start it returns this to the console:
15:47:15.191 -> ⸮�O⸮$<⸮H⸮⸮D>⸮,4⸮⸮press h for help
15:47:17.552 -> Bluetooth disconnected
15:47:17.552 -> Music stoped
15:47:17.592 -> Module OFF
And the only command that is "working" (I mean I get a response, because it actually does nothing with the module) is command 1 (enter pairing).
15:55:44.709 -> Bluetooth in pairing mode
But if I use any other commands, I get no response :(
In your code I only changed the swSerial pins (#16) and I add LED indication (#51 and #356) so that I know if the esp received the commend from PC.
The BK8000L is working (I tested the music playback and so on), but only the communication, the main reason why I bought it, is not working.
Please can you help me? I would be very thankful, master.
My code:
new_test_BT.zip
What AT commands translate the module into master mode?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.