Showing results for 
Search instead for 
Did you mean: 

Forcing a server to disconnect?

Senior III

Hello ....

I have an apk that seems to lose comms with a server.  We have not been able to make it periodic or obvious as to the reason.  We would like the server to timeout after 30 seconds of not receiving read/write rqsts from the client and force it's state to HCI_DISCONNECTION_COMPLETE_EVT_CODE which in turn will put it back into advertising mode.

Can someone tell me what function can I call to set the parameter for the function SVCCTL_App_Notification(void *p_Pckt) which is a registered task in the sequencer?  I would like to set the state and then I will call UTIL_SEQ_SetTask function