UNPKG

@icoms-detection/server-esp32

Version:

This is the OFFICIAL SERVER library created by Icoms Detection to run their apps.

24 lines (23 loc) 601 B
import { ApiFunction } from "./types"; /** * This function update the firmware. This is only working on esp32 chip * This is a copy/paste from code made by Thomas Rogg from Lowjs * @author Thomas Rogg * @param req * @param res * @returns */ export declare const handleUpdateFirmware: ApiFunction; /** * Send Wifi name and if there is a password * @param req * @param res */ export declare const sendWifi: ApiFunction; /** * Set wifi * Body of the request have to include a "ssid" and a "passord" string fields * @param req * @param res */ export declare const updateWifi: ApiFunction;