This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Parameter declarations for GATT callbacks ?

Other Parts Discussed in Thread: CC2540

Hi - I'm a newbie currently looking at the CC2540 keyfob code, trying to figure out how I'll provide a peripheral UART function to exchange data with an MCU in a controller I've designed.  Right now I'm dissecting the accelerometer code as an example, and I'm wondering what documents the parameters fed to the callback functions registered by GATTServApp_RegisterService.

This probably represents a more general question about callbacks.  Do many of them come out of library code, or is the source generating them findable?  What's the best way to find out the details of what the caller is providing, and what behavior it expects?

Thanks.