Commit: 87b420b82b2373446c5f45d73842c54e710a4909
Parent: e114d23e570b8ce8a6d82dc899c6748efe03474a
Author: Johan Hedberg <johan.hedberg@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:47:54
Tree: 3391fd51b0175faf384a9659f60f350914e1d0d3

obexd: Try to reopen the tty once if the connection gets dropped This ensures that we're back monitoring the tty in case the client sends a OBEX Disconnect which in the current code always does a OBEX_TransportDisconnect. This patch is also preparation for the next step where we should be able to re-initialize the tty through some external trigger (e.g. a SIGUSR1 signal).

Diffstat

M obexd/src/main.c | 5 +++- -
M obexd/src/obex.c | 23 ++++++++++++++++++++++-
M obexd/src/obex.h | 4 ++++

3 files changed, 29 insertions(+), 3 deletions(-)

View Full Diff | Patch