This is encouraging - when thru one of the demos { https://github.com/DesignSparkrs/sdr-ble-demo } - installed PothosGui, and ran the example in examples/btle_printer_float32.pth
While that was running, used node ‘bleno’ simple advertising demo with a little bluetooth dongle to start advertising, and it worked! Receiver decoded:
Cool - however trying to build the project gets this error:
chuck@OSCompute1:~/src/BLESDR/build$ make
[ 33%] Building CXX object blesdr-tools/CMakeFiles/blesdr.dir/blesdr.cpp.o
In file included from /home/chuck/src/BLESDR/blesdr-tools/blesdr.cpp:27:0:
/home/chuck/src/BLESDR/blesdr-tools/…/lib/BLESDR.hpp:93:21: error: extra qualification ‘BLESDR::’ on member ‘sample_for_ADV_IND’ [-fpermissive]
std::vector BLESDR::sample_for_ADV_IND(size_t chan, uint8_t data_type, uint8_t* buff, size_t bufflen);
^
/home/chuck/src/BLESDR/blesdr-tools/…/lib/BLESDR.hpp:95:21: error: extra qualification ‘BLESDR::’ on member ‘sample_for_RAW’ [-fpermissive]
std::vector BLESDR::sample_for_RAW(uint8_t* buff, size_t bufflen);
^
/home/chuck/src/BLESDR/blesdr-tools/…/lib/BLESDR.hpp:97:21: error: extra qualification ‘BLESDR::’ on member ‘sample_for_iBeacon’ [-fpermissive]
std::vector BLESDR::sample_for_iBeacon(size_t chan, uint8_t* uuid, uint16_t Major, uint16_t Minor);
^
/home/chuck/src/BLESDR/blesdr-tools/…/lib/BLESDR.hpp:99:21: error: extra qualification ‘BLESDR::’ on member ‘sample_for_Packet’ [-fpermissive]
std::vector BLESDR::sample_for_Packet(size_t chan, lell_packet pocket);
^
/home/chuck/src/BLESDR/blesdr-tools/blesdr.cpp: In function ‘void lell_print(const lell_packet*)’:
/home/chuck/src/BLESDR/blesdr-tools/blesdr.cpp:333:42: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
_dump_24("CRCInit: ", pkt->symbols, 22);
^
/home/chuck/src/BLESDR/blesdr-tools/blesdr.cpp: In function ‘int main(int, char**)’:
/home/chuck/src/BLESDR/blesdr-tools/blesdr.cpp:439:21: error: ‘strlen’ was not declared in this scope
if (strlen(optarg) != 32) {
^
/home/chuck/src/BLESDR/blesdr-tools/blesdr.cpp:445:44: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘uint8_t* {aka unsigned char*}’ [-Wformat=]
sscanf(optarg + 2 * i, “%02x”, &uuid[i]);
^
make[2]: *** [blesdr-tools/CMakeFiles/blesdr.dir/blesdr.cpp.o] Error 1
make[1]: *** [blesdr-tools/CMakeFiles/blesdr.dir/all] Error 2
make: *** [all] Error 2