Patch against maemo conic device to allow the device to sleep



Hi,

find attached a patch that changes a little bit the API of the maemo conic device. Basically it allows the caller to specify whether or not the connection request was issued by an user action or by an automatic process (like for example the alarmd daemon in the Maemo platform). This allows us to set different flags for the connection request.

When the connection is requested by the user the device will always try to connect. But if the connection is not requested by an user, then the connection request will fail if it's not currently connected. This allows the device to go on sleeping and not be woken up by an automatic system (like the alarmd daemon).

Br


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]