From: Hendrik S. <po...@he...> - 2011-04-13 17:11:02
|
This also increases the server timeout to make it usuable if the client is manually operated by a human (e.g. obex_test client mode). --- apps/obex_test/obex_test.c | 1 + apps/obex_test/obex_test_server.c | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/apps/obex_test/obex_test.c b/apps/obex_test/obex_test.c index 17d83c1..41d9170 100644 --- a/apps/obex_test/obex_test.c +++ b/apps/obex_test/obex_test.c @@ -503,6 +503,7 @@ int main (int argc, char *argv[]) } /* No process server events */ server_do(handle); + OBEX_TransportDisconnect(handle); break; default: printf("Unknown command %s\n", cmd); diff --git a/apps/obex_test/obex_test_server.c b/apps/obex_test/obex_test_server.c index fbfc978..38014da 100644 --- a/apps/obex_test/obex_test_server.c +++ b/apps/obex_test/obex_test_server.c @@ -238,7 +238,7 @@ void server_do(obex_t *handle) gt->serverdone = FALSE; while(!gt->serverdone) { - ret = OBEX_HandleInput(handle, 10); + ret = OBEX_HandleInput(handle, 60); if(ret < 0) { printf("Error while doing OBEX_HandleInput()\n"); break; -- 1.7.4.1 |