0xface / bbconsole Goto Github PK
View Code? Open in Web Editor NEWLinux console for BlueBasic (BASIC interpreter for CC2540 and CC2541 Bluetooth LE chips).
Linux console for BlueBasic (BASIC interpreter for CC2540 and CC2541 Bluetooth LE chips).
Hey,
I might be late, but I still would like to get BlueBasic working on linux. I followed the instructions of your README and ran into the above problem:
[~/bbconsole]$ make
gcc -L. -Os -g -Wall -DHAVE_CONFIG_H -I../bluez/attrib -I../bluez -I../bluez/lib -I../bluez/src -I../bluez/gdbus -I../bluez/btio -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -o bbconsole bbconsole.c ../bluez/lib/bluetooth.c ../bluez/lib/hci.c ../bluez/lib/sdp.c ../bluez/lib/uuid.c ../bluez/attrib/att.c ../bluez/attrib/gatt.c ../bluez/attrib/gattrib.c ../bluez/attrib/utils.c ../bluez/btio/btio.c ../bluez/src/log.c ../bluez/src/shared/mgmt.c ../bluez/src/shared/crypto.c ../bluez/src/shared/att.c ../bluez/src/shared/queue.c ../bluez/src/shared/util.c ../bluez/src/shared/io-glib.c ../bluez/src/shared/timeout-glib.c -lglib-2.0
/usr/bin/ld: /tmp/ccmCyhlD.o: in function `monitor_log':
/home/user/bbconsole/../bluez/src/log.c:40: undefined reference to `bt_log_vprintf'
/usr/bin/ld: /home/user/bbconsole/../bluez/src/log.c:40: undefined reference to `bt_log_vprintf'
/usr/bin/ld: /home/user/bbconsole/../bluez/src/log.c:40: undefined reference to `bt_log_vprintf'
/usr/bin/ld: /home/user/bbconsole/../bluez/src/log.c:40: undefined reference to `bt_log_vprintf'
/usr/bin/ld: /home/user/bbconsole/../bluez/src/log.c:40: undefined reference to `bt_log_vprintf'
/usr/bin/ld: /tmp/ccmCyhlD.o:/home/user/bbconsole/../bluez/src/log.c:40: more undefined references to `bt_log_vprintf' follow
/usr/bin/ld: /tmp/ccmCyhlD.o: in function `__btd_log_init':
/home/user/bbconsole/../bluez/src/log.c:172: undefined reference to `bt_log_open'
/usr/bin/ld: /tmp/ccmCyhlD.o: in function `__btd_log_cleanup':
/home/user/bbconsole/../bluez/src/log.c:186: undefined reference to `bt_log_close'
collect2: error: ld returned 1 exit status
make: *** [Makefile:28: bbconsole] Error 1
Hope you're still here to help me out :)
Ok, another thing, the console does not seem to receive something from the device:
pi@raspberrypi:~/bbconsole $ ./bbconsole 98:7B:F3:xx:xx:xx
Connecting to.. 98:7B:F3:59:2A:0B
Connected.
PRINT "hello"
RUN
<nothing happens>
Shouldnt it print some details? Like here:
Maybe some EOL problems? LF vs. CRLF?
And another thing: which image are you using? I found a pretty up to date fork: kscheff as well as an little oder one: fanoush. Any suggestions?
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.