If you want to configure Bluetooth by using C I’d suggest you to check this link. I also found this post on how to pair a device in C with blueZ, on the second post the user suggest a really helpful book that might help you. Another option would be to use the system function to use linux commands in your c code. Additionally I’d suggest you to check Edison Bluetooth User Guide Edison Bluetooth User Guide and Connecting to Intel® Edison from Android* with Bluetooth* LE (BLE). I hope you find this helpful.