le_riPin_interface.h
Go to the documentation of this file.
34 * The RING pin can be configured to notify a host device with different timing of pulse signals for42 * - le_riPin_PulseRingSignal() function sets the ring signal high for configurable duration of time63 //--------------------------------------------------------------------------------------------------66 * Connect the current client thread to the service providing this API. Block until the service is70 * called before any other functions in this API. Normally, ConnectService is automatically called75 //--------------------------------------------------------------------------------------------------81 //--------------------------------------------------------------------------------------------------84 * Try to connect the current client thread to the service providing this API. Return with an error88 * called before any other functions in this API. Normally, ConnectService is automatically called95 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.96 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).99 //--------------------------------------------------------------------------------------------------105 //--------------------------------------------------------------------------------------------------111 * longer a connection to the service, and the functions in this API can't be used. For details, see116 //--------------------------------------------------------------------------------------------------122 //--------------------------------------------------------------------------------------------------130 //--------------------------------------------------------------------------------------------------137 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------151 //--------------------------------------------------------------------------------------------------159 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------170 //--------------------------------------------------------------------------------------------------le_result_t le_riPin_AmIOwnerOfRingSignal(bool *amIOwnerPtr)void le_riPin_PulseRingSignal(uint32_t duration)le_result_t le_riPin_TakeRingSignal(void)void le_riPin_DisconnectService(void)void le_riPin_ConnectService(void)le_result_t le_riPin_ReleaseRingSignal(void)le_result_t le_riPin_TryConnectService(void)