Test example basicRX.cpp generates warnings


#1

I built the example basicRX.cpp with on macOS Sierra with -

g++ -std=c++11 -o basicRX basicRX.cpp -lLimeSuite

running the example gave the output -

./basicRX
Devices found: 1
Reference clock 40.00 MHz
Received 5000 samples
Received 5000 samples

Received 5000 samples
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4

libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4

The next run gave -

./basicRX
Devices found: 1
Reference clock 40.00 MHz
Received 0 samples
Received 0 samples
Received 0 samples
Received 0 samples
Received 0 samples
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 1 pipe 4


#2

I tried the latest version of libusb and it does not work at all now errors -

Devices found: 1

libusb: error [submit_bulk_transfer] bulk transfer failed (dir = Out): unknown error (0xe00002d8) (code = 0xe00002d8)
libusb: error [submit_bulk_transfer] bulk transfer failed (dir = Out): unknown error (0xe00002d8) (code = 0xe00002d8)

libusb: error [submit_bulk_transfer] bulk transfer failed (dir = Out): unknown error (0xe00002d8) (code = 0xe00002d8)

libusb: error [submit_bulk_transfer] bulk transfer failed (dir = Out): unknown error (0xe00002d8) (code = 0xe00002d8)
Write(64 bytes) failed
libusb: error [submit_bulk_transfer] bulk transfer failed (dir = Out): unknown error (0xe00002d8) (code = 0xe00002d8)
Write(64 bytes) failed
libusb: error [submit_bulk_transfer] bulk transfer failed (dir = Out): no connection to an IOService (code = 0xe00002c0)
Write(64 bytes) failed
libusb: error [submit_bulk_transfer] bulk transfer failed (dir = Out): no connection to an IOService (code = 0xe00002c0)
Write(64 bytes) failed
libusb: error [submit_bulk_transfer] bulk transfer failed (dir = Out): no connection to an IOService (code = 0xe00002c0)
Write(64 bytes) failed
libusb: error [submit_bulk_transfer] bulk transfer failed (dir = Out): no connection to an IOService (code = 0xe00002c0)
Write(64 bytes) failed
libusb: error [submitbulk_transfer] bulk transfer failed (dir = Out): no connection to an IOService (code = 0xe00002c0)
Write(64 bytes) failed

libusb: error [submit_bulk_transfer] bulk transfer failed (dir = Out): no connection to an IOService (code = 0xe00002c0)

libusb: error [submit_bulk_transfer] bulk transfer failed (dir = Out): no connection to an IOService (code = 0xe00002c0)

libusb: warning [darwin_close] USBDeviceClose: no connection to an IOService
after libusb_exit
[dir:LimeSuite-master/src/examples] dir% g++ -std=c++11 -o basicRX basicRX.cpp -lLimeSuite