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 time70 //--------------------------------------------------------------------------------------------------74 //--------------------------------------------------------------------------------------------------77 //--------------------------------------------------------------------------------------------------80 * Connect the current client thread to the service providing this API. Block until the service is84 * called before any other functions in this API. Normally, ConnectService is automatically called89 //--------------------------------------------------------------------------------------------------95 //--------------------------------------------------------------------------------------------------98 * Try to connect the current client thread to the service providing this API. Return with an error101 * For each thread that wants to use this API, either ConnectService or TryConnectService must be102 * called before any other functions in this API. Normally, ConnectService is automatically called111 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).114 //--------------------------------------------------------------------------------------------------120 //--------------------------------------------------------------------------------------------------124 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants127 //--------------------------------------------------------------------------------------------------134 //--------------------------------------------------------------------------------------------------140 * longer a connection to the service, and the functions in this API can't be used. For details, see145 //--------------------------------------------------------------------------------------------------152 //--------------------------------------------------------------------------------------------------161 //--------------------------------------------------------------------------------------------------168 //--------------------------------------------------------------------------------------------------177 //--------------------------------------------------------------------------------------------------183 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------198 //--------------------------------------------------------------------------------------------------203 //--------------------------------------------------------------------------------------------------le_result_t le_riPin_AmIOwnerOfRingSignal(bool *amIOwnerPtr)le_result_t le_riPin_TakeRingSignal(void)void le_riPin_PulseRingSignal(uint32_t duration)le_result_t le_riPin_TryConnectService(void)le_result_t le_riPin_ReleaseRingSignal(void)LE_FULL_API void le_riPin_SetServerDisconnectHandler(le_riPin_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_riPin_ConnectService(void)void le_riPin_DisconnectService(void)void(* le_riPin_DisconnectHandler_t)(void *)Definition: le_riPin_interface.h:75