Open Peter-Lin opened 7 years ago
Hi Peter,
I'll check into it.
Ben
Hi Peter - please use autotools
cd pkg autoreconf -i configure make
/beetle-master/pkg# make make all-recursive make[1] : Entering directory '/beetle-master/pkg' Making all in src make[2] : Entering directory '/beetle-master/pkg/src' gcc -DHAVE_CONFIG_H -I. -I.. -g -02 -MT beetle.o -MD -MP -MF .deps/beetle.Tpo -c -o beetle.o beetle.c **beetle.c:49:24: fatal error: build_info.h: No such file or directory
^ compilation terminated. Makefile:382 : recipe for target 'beetle.o' failed make[2] : ** [beetle.o] Error 1 make[2] : Leaving directory '/beetle-master/pkg/src' Makefile : 404: recipe for target 'all-recursive' failed make[1] : [all-recursive] Error 1 make[1] : Leaving directory '/beetle-master/pkg' Makefile : 324: recipe for target 'all' failed make : *** [all] Error 2
Hi Peter,
cd beetle/pkg/src ./make-build-info.sh cd .. make
The above instructions should help you build it.
Thanks, Ranjit
@Peter-Lin Did this work for you? Can we close this issue? Let us know if you need help.
Could you tell me how to use this tool? thanks.
Execute the beetle tool:
usage -- beetle [options][-p
I apologize, I didn't understand your question. The "commands" are commands that our hub software (hubby) sends to beetle. What you list is the command line options.
There is no way for you to actually "use" the beetle tool, except to run it. It is only used by hubby. I'll talk to my engineering team tomorrow (Monday) to see what the typical command line options are and if there's anything specific you can do to confirm operation before we provide you with hubby. We are still working on getting hubby to cross compile and run on LE. We hope to get that done this week.
In regards to porting to Bluedroid, have you started that? Do you need a meeting for our engineers to go through the code with you?
@Peter-Lin Hi Peter - although there is no interactive mode on the command line, it is possible to telnet into Beetle. @afjgeorge is putting together a document to explain how to do that so you can see it working. Please standby.
@Peter-Lin Hi Peter!
Please review the two new documents posted in https://github.com/AferoCE/beetle/tree/master/docs when you get a chance. They're some simple diagnostic procedures you can use to ensure that beetle is able to communicate over BTLE. The device test doc uses one beetle instance talking to an Afero device, and the connection test doc is a more thorough test of beetle's functionality but it requires two instances of beetle on two separate hosts and exercises both hub mode and peripheral mode in the software. Please let me know if you have any questions!
I tried to "make" in beele-master folder, but I got some error. Makefile:16: /rules.mk: no such file or directory Makefile:30: /package.mk: no such file or directory Makefile:31: /nls.mk: no such file or directory make: *** No rule to make target '/nls.mk'. stop