Giter Club home page Giter Club logo

airkiss-1's Introduction

Airkiss

Airkiss是微信提出的一种无线应用层协议,主要用于给无法交互的硬件设备进行网络配置, 比如小爱同学等.

About:

这是一个用go语言编写的SmartConfig App的命令行版本, 这样就不需要在微信小程序上进行发送测试;

你现在可以根据你不同的环境使用go编译工具进行不同平台的版本编译;

  • Linux
  • Windows
  • Arm Linux
  • Mac Os

airkiss目录下是用于数据封包的实现, main.go文件中主要是调用airkiss进行数据封包, 再通过udp进行发送;

Build

我的电脑环境是linux, 所以直接编译:

go build

Run

PS: 因为现在只是个简单的实现, 并没有指定网卡发送, 所以在发送前要断开你的有线网络;

查看帮助:

./airkiss_send -help

帮助:


Usage of ./airkiss_send:
  -e string
    	essid
  -p string
    	passwd
  -t int
    	timeout (default 1000)

测试:

./airkiss_send -e hardwareLab -p dsj88888 -t 10

测试结果图:

PS: 我是用的ESP8266做的设备配置.

airkiss-1's People

Contributors

sourcelink avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.