Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@embedded-js/wifi-connection-manager

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@embedded-js/wifi-connection-manager - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

CHANGELOG.md

18

package.json
{
"name": "@embedded-js/wifi-connection-manager",
"description": "A wifi connection manager for Embedded JS that supports multiple networks and auto-reconnect.",
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"main": "dist/index.js",
"author": {
"name": "Andréas HANSS",
"email": "contact@codingspark.io"
},
"license": "MIT",
"keywords": [
"wifi",
"connection",
"manager",
"embedded-js",
"iot"
],
"repository": {
"type": "git",
"url": "https://github.com/ScreamZ/wifi-connection-manager"
},
"devDependencies": {

@@ -8,0 +24,0 @@ "@arethetypeswrong/cli": "^0.17.0",

9

README.md
# Embedded : WiFi connection manager
> [!IMPORTANT]
> This module is ESM only.
> This module is ESM only and only available for usage with the Moddable SDK as it uses core dependencies.
> Learn how to setup an Embedded JavaScript project using [xs-dev](https://xs-dev.js.org/).

@@ -43,8 +44,8 @@ A robust solution to manage Wi-Fi connections in embedded systems using the Moddable SDK. `WiFiConnectionManager` simplifies the process of maintaining an active connection to a Wi-Fi access point.

switch (msg) {
case WiFiConnectionManager.gotIP.connected:
case WiFiConnectionManager.connected:
break; // still waiting for IP address
case WiFiConnectionManager.gotIP.gotIP:
case WiFiConnectionManager.gotIP:
trace(`IP address ${Net.get("IP")}\n`);
break;
case WiFiConnectionManager.gotIP.disconnected:
case WiFiConnectionManager.disconnected:
break; // connection lost

@@ -51,0 +52,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc