Example: TE_disconnect

In this example, TE_disconnect waits for the default timeout of 300 milliseconds.

TE_disconnect();

 

In this example, TE_disconnect waits for the specified timeout of 5000 milliseconds.

TE_disconnect(5000);