le_riPin_interface.h
Go to the documentation of this file.
36 * The RING pin can be configured to notify a host device with different timing of pulse signals for44 * - le_riPin_PulseRingSignal() function sets the ring signal high for configurable duration of time65 //--------------------------------------------------------------------------------------------------69 //--------------------------------------------------------------------------------------------------72 //--------------------------------------------------------------------------------------------------75 * Connect the current client thread to the service providing this API. Block until the service is79 * called before any other functions in this API. Normally, ConnectService is automatically called84 //--------------------------------------------------------------------------------------------------90 //--------------------------------------------------------------------------------------------------93 * Try to connect the current client thread to the service providing this API. Return with an error97 * called before any other functions in this API. Normally, ConnectService is automatically called106 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).109 //--------------------------------------------------------------------------------------------------115 //--------------------------------------------------------------------------------------------------119 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants122 //--------------------------------------------------------------------------------------------------129 //--------------------------------------------------------------------------------------------------135 * longer a connection to the service, and the functions in this API can't be used. For details, see140 //--------------------------------------------------------------------------------------------------147 //--------------------------------------------------------------------------------------------------156 //--------------------------------------------------------------------------------------------------163 //--------------------------------------------------------------------------------------------------172 //--------------------------------------------------------------------------------------------------178 //--------------------------------------------------------------------------------------------------187 //--------------------------------------------------------------------------------------------------193 //--------------------------------------------------------------------------------------------------198 //--------------------------------------------------------------------------------------------------le_result_t le_riPin_TryConnectService(void)void(* le_riPin_DisconnectHandler_t)(void *)Definition: le_riPin_interface.h:70void le_riPin_ConnectService(void)void le_riPin_PulseRingSignal(uint32_t duration)le_result_t le_riPin_TakeRingSignal(void)void le_riPin_DisconnectService(void)le_result_t le_riPin_AmIOwnerOfRingSignal(bool *amIOwnerPtr)le_result_t le_riPin_ReleaseRingSignal(void)void le_riPin_SetServerDisconnectHandler(le_riPin_DisconnectHandler_t disconnectHandler, void *contextPtr)