Bluetooth Low Energy in C - using Bluez to create a GATT server
问题 I'm attempting to use GATT on my Linux box to set up a custom service with a load of characteristics. Using this question, and the ones it links to, I was able to identify the code that I would need to write (making use of the gatt_service_add() function). I've created a separate file called gatt_service.c, and written the code I think that I need. However, I cannot work out how to link my code to the Bluez libraries in order to compile and run my solution. For example this site (whilst not