Posts: 1
Joined: Wed Dec 02, 2015 5:05 am

How to read/write BLE divices via c code

Mon Dec 21, 2015 4:44 am

I had successfully scanned and connected to my BLE device, and then I want to use raspberry pi to read and write my BLE device's attributes.

The problem is that I can't find gatt.h or gattrib.h on my raspberry pi. I need to use them to read or write atrributes on BLE devices. What should I do to install these library.

I 'm not a native speaker but I will try to express my question.

User avatar
Posts: 202
Joined: Tue Nov 20, 2012 7:52 pm
Location: Poland

Re: How to read/write BLE divices via c code

Tue Dec 29, 2015 9:43 am

Probably you need to install libbluetooth-dev

Return to “General discussion”