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 time66 //--------------------------------------------------------------------------------------------------70 //--------------------------------------------------------------------------------------------------73 //--------------------------------------------------------------------------------------------------76 * Connect the current client thread to the service providing this API. Block until the service is80 * called before any other functions in this API. Normally, ConnectService is automatically called85 //--------------------------------------------------------------------------------------------------91 //--------------------------------------------------------------------------------------------------94 * Try to connect the current client thread to the service providing this API. Return with an error98 * called before any other functions in this API. Normally, ConnectService is automatically called107 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).110 //--------------------------------------------------------------------------------------------------116 //--------------------------------------------------------------------------------------------------120 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants123 //--------------------------------------------------------------------------------------------------130 //--------------------------------------------------------------------------------------------------136 * longer a connection to the service, and the functions in this API can't be used. For details, see141 //--------------------------------------------------------------------------------------------------148 //--------------------------------------------------------------------------------------------------157 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------173 //--------------------------------------------------------------------------------------------------179 //--------------------------------------------------------------------------------------------------188 //--------------------------------------------------------------------------------------------------194 //--------------------------------------------------------------------------------------------------199 //--------------------------------------------------------------------------------------------------le_result_t le_riPin_TryConnectService(void)void(* le_riPin_DisconnectHandler_t)(void *)Definition: le_riPin_interface.h:71void le_riPin_ConnectService(void)LE_FULL_API void le_riPin_SetServerDisconnectHandler(le_riPin_DisconnectHandler_t disconnectHandler, void *contextPtr)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)