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.

Understanding of Code in in SimpleBLEperipheral.C

Hello i am trying to understand the Structure of BLE and how the things are interrelated, i am new to BLE Stack and right now i have little knowledge about it, i have read the software development guide and now i am trying to understand how the things actually working, but the code shown in the pic below is not making any sense to me, this function is basically to handle the keys, but i wanted to ask where these variables are defined ? and i have an experience of programming in C++ but here things seems to be little bit complicated, can you please explain me the this code, 

Thanks,