OBEX_HandleInput

Name

OBEX_HandleInput --  Let the OBEX parser do some work

Synopsis

int OBEX_HandleInput (obex_t * self, int timeout);

Arguments

self

OBEX handle

timeout

Maximum time to wait in seconds

Description

Let the OBEX parser read and process incoming data. If no data is available this call will block.

When a request has been sent or you are waiting for an incoming server- request you should call this function until the request has finished.

Like select this function returns -1 on error, 0 on timeout or positive on success.