Skip to content

Compatibility with USB Host Shield 2.0 library #12

@kristofferpeterhansel

Description

@kristofferpeterhansel

I am trying to combine the Circuits@Home USB Host Shield 2.0 with the RedBearLabs BLE Shield 2.0 to build a bridge from my rowing machine to get data to my phone.

My initial approach was using the RBL_nRF8001 library to abstract somewhat low-level-ness of the BLE library. But then I discovered this BLEPeripheral and figured it would give me a lot more control. So off I went integrating it instead.

I am hitting a bit of an issue though. As it appears that library processing calls (BLEPeripheral::central() and USB::Task()) don't like each other very much. Where calling one will basically break the functionality of the other library. And I can't quite figure out why. Since the RBL_nRF8001 library seemed to co-exist just fine.

I did initially have similar symptom with the RBL_nRF8001 library. But that turned out to simply be conflicts on the use of pin 9. And was easily fixed on the BLE Shield (lucky since it requires soldering on the USB Host shield).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions