Ubuntu PC unable to find/connect to MMR
Both devices we purchased can connect to my Android phone via Bluetooth, allowing me to collect a stream of quaternion data on my phone using the MetaBase app.
However, I have spent all day trying to connect the MetaWear devices to the Ubuntu 16.04 PC via Bluetooth LE, but to no avail. The Bluetooth on the CPU is switched on, and I also turned on its visibility. I ran
sudo hcitool lescan on the command line, but it's not able to find any device; instead it returns this error: "Set scan parameters failed: Input/output error"
As a result, running gattool on the command line with the MAC address of the MetaWear device also returns a failed connection.
I experimented connecting my Android phone to the CPU via Bluetooth and it does work. Thus, I'm wondering if anyone knows about any additional steps I should take to connect the MetaWear devices to the CPU?
I've already run
hcitool dev to make sure that the Bluetooth LE adaptor is recognised by the computer (https://mbientlab.com/tutorials/Linux.html). I also ran
hciconfig -a to make sure that the Bluetooth LE in the CPU is of version 4.0.
I've also looked all around for information, including the MbientLab tutorials (https://mbientlab.com/tutorials/Linux.html) and StackOverflow (https://stackoverflow.com/questions/24853597/ble-gatttool-cannot-connect-even-though-device-is-discoverable-with-hcitool-lesc). But after going through these instructions, I'm still unable to locate the MetaWear device on the command line.
Is it perhaps normal that the MetaWear device cannot be located on the command line, so I have to use a library like Warble to connect to the device?
Thanks in advance!