Sandrocottus
Sandrocottus

Reputation: 533

BLE dongle API interfacing in Excel VBA

My aim is to create an excel VBA utility which interfaces with the BLE dongle connected to a USB Comport.

I am using BLED112 dongle which uses the BGAPI.

I have been able to successfully implement the sample C example at BLED112 Example on my setup.

I need to interface the BLED112 Example with my Excel VBA such that data from BLED112 Example can be sent to Excel VBA, and vice-versa. For example, list of nearby Bluetooth devices can be seen in column in Excel etc.

I tried to create a dll from the BLED112 Example and add it to my Excel VBA code. However, i was unable to call any functions in the dll from my Excel VBA code.

My questions are:

  1. How can I access the BLED112 Example code from my Excel VBA project?
  2. The BLED112 Example prints data into the console. How can i get the data into Excel VBA?

Thanks a lot in advance!

Upvotes: 0

Views: 803

Answers (0)

Related Questions