Tool/software: Code Composer Studio
Hi,
in Simple_peripheral project I want to use GAP_TerminateLinkReq.
To test it I try:
in SimplePeripheral_processGapMessage -> GAP_LINK_ESTABLISHED_EVENT I start a Clock that at the time out call a function where I call
GAP_TerminateLinkReq(selfEntity,0x0000,HCI_DISCONNECT_REMOTE_USER_TERM)
or I try to call: GAPRole_TerminateConnection(); instead of GAP_TerminateLinkReq
but I see that when the execution arrive to GAP_TerminateLinkReq or GAPRole_TerminateConnection it is blocked and no value returns.
Why?
Can you help me?
Thanks.
Best regards.
Giuseppe