Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 752 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 752 Bytes

ZTE-MF79U-api-js

A JavaScript library, built with Node.js, for interacting with ZTE MF79 modems.

This library, adapted from the Python version, provides a comprehensive hardware detail retrieval (such as IMEI and hardware version), and connection status(including WAN IP address and LTE signal strength).

Usage Example:

const ZTEapi = require('zte-api');

// Example usage
async function manageModem() {
    try {
        const modemInfo = await ZTEapi.getModemInfo("192.168.0.1", "admin");
        console.log("Modem Info:", modemInfo);
    } catch (error) {
        console.error("An error occurred:", error);
    }
}

manageModem();

References: Based on: https://github.com/pmcrwf-mid/ZTE-MF79U-api/blob/main/main.py