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.

SimpleBlePeripheral Code Execution

Hi!!


I have just started working with BLE.

I am understanding the flow of peripheral and central.Now I want to know that what happens in peripheral when link establishment is started from central side...

Say my peripheral is detected by the central and when i press joystick center it starts connection to the peripheral.So i want to know where the flow is transfered in peripheral when i press the joystick center key.

Does it jumps to gapRole_ProcessOSALMsg??

can someone  explain me in brief about how the scan request (which is sent to peripheral when joystick center is pressed) from the central is handled in peripheral and how the scan response is sent back to central?