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 time62 //--------------------------------------------------------------------------------------------------65 * Connect the current client thread to the service providing this API. Block until the service is69 * called before any other functions in this API. Normally, ConnectService is automatically called74 //--------------------------------------------------------------------------------------------------80 //--------------------------------------------------------------------------------------------------83 * Try to connect the current client thread to the service providing this API. Return with an error87 * called before any other functions in this API. Normally, ConnectService is automatically called94 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.95 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).98 //--------------------------------------------------------------------------------------------------104 //--------------------------------------------------------------------------------------------------110 * longer a connection to the service, and the functions in this API can't be used. For details, see115 //--------------------------------------------------------------------------------------------------121 //--------------------------------------------------------------------------------------------------130 //--------------------------------------------------------------------------------------------------137 //--------------------------------------------------------------------------------------------------146 //--------------------------------------------------------------------------------------------------152 //--------------------------------------------------------------------------------------------------161 //--------------------------------------------------------------------------------------------------167 //--------------------------------------------------------------------------------------------------172 //--------------------------------------------------------------------------------------------------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)