Uniot Core
0.8.1
Loading...
Searching...
No Matches
Uniot Core

Classes

class  UniotCore
 Main API class for the Uniot IoT platform. More...
 

Variables

UniotCore Uniot
 Global Uniot platform instance.
 

Detailed Description

This file provides the primary interface for the Uniot IoT platform, offering a simplified API for developing embedded applications. The UniotCore class abstracts the complexity of the underlying subsystems and provides intuitive methods for common IoT operations.

Key features:

The API is designed to be familiar to web developers while providing the performance and reliability required for embedded systems. It follows patterns similar to Node.js for timer management and event handling.

Example usage:

#include <Uniot.h>
void setup() {
Uniot.configWiFiCredentials("MyNetwork", "password");
Uniot.configWiFiStatusLed(LED_BUILTIN);
Uniot.configWiFiResetButton(0, LOW);
Uniot.begin();
}
void loop() {
Uniot.loop();
}
Main API interface for the Uniot IoT platform.
UniotCore Uniot
Global Uniot platform instance.
Definition Uniot.cpp:23

Variable Documentation

◆ Uniot

UniotCore Uniot
extern

Global Uniot platform instance.

Global instance providing immediate access to Uniot platform functionality. This singleton-style instance eliminates the need for complex initialization and provides a familiar API for Arduino developers.