![]() |
Morse Micro IoT SDK
2.13.1
|
Optional LED status indication for the Relay Mode Example Application.
Definition in file relay_mode_led.h.
#include <stdint.h>

Go to the source code of this file.
Functions | |
| void | relay_led_init (void) |
| Initializes the LED status module and starts its background task. More... | |
| void | relay_led_set_connecting (void) |
| Indicates that the app is attempting to connect to Wi-Fi. More... | |
| void | relay_led_set_connected (void) |
| Indicates that the app has connected to Wi-Fi. More... | |
| void | relay_led_set_failed (void) |
| Indicates that the app has failed to connect. More... | |
| void | relay_led_set_depth (uint8_t depth) |
Indicates the current relay depth by pulsing the green LED depth times. More... | |
| void relay_led_init | ( | void | ) |
Initializes the LED status module and starts its background task.
Definition at line 110 of file relay_mode_led.c.
| void relay_led_set_connected | ( | void | ) |
Indicates that the app has connected to Wi-Fi.
Definition at line 122 of file relay_mode_led.c.
| void relay_led_set_connecting | ( | void | ) |
Indicates that the app is attempting to connect to Wi-Fi.
Definition at line 117 of file relay_mode_led.c.
| void relay_led_set_depth | ( | uint8_t | depth | ) |
Indicates the current relay depth by pulsing the green LED depth times.
| depth | The current relay depth, as reported by mmwlan_register_depth_change_cb(). |
Definition at line 132 of file relay_mode_led.c.
| void relay_led_set_failed | ( | void | ) |
Indicates that the app has failed to connect.
Definition at line 127 of file relay_mode_led.c.