Morse Micro IoT SDK  2.13.1
relay_mode_led.h
Go to the documentation of this file.
1/*
2 * Copyright 2026 Morse Micro
3 *
4 * This file is licensed under terms that can be found in the LICENSE.md file in the root
5 * directory of the Morse Micro IoT SDK software package.
6 */
7
13#ifndef RELAY_MODE_LED_H
14#define RELAY_MODE_LED_H
15
16#include <stdint.h>
17
21void relay_led_init(void);
22
25
28
30void relay_led_set_failed(void);
31
37void relay_led_set_depth(uint8_t depth);
38
39#endif /* RELAY_MODE_LED_H */
void relay_led_set_connected(void)
Indicates that the app has connected to Wi-Fi.
void relay_led_set_failed(void)
Indicates that the app has failed to connect.
void relay_led_set_depth(uint8_t depth)
Indicates the current relay depth by pulsing the green LED depth times.
void relay_led_init(void)
Initializes the LED status module and starts its background task.
void relay_led_set_connecting(void)
Indicates that the app is attempting to connect to Wi-Fi.