Giter VIP home page Giter VIP logo

ble_werun_faker's Introduction

BLE_WeRun_Faker

这是一个利用esp32低功耗蓝牙欺骗微信运动步数的项目。

插上电源,按下按键,挑一个合适的步数,打开蓝牙,打开公众号,等待同步,然后排行榜上你就占领封面啦。

适用于要求微信步数与体育运动分数挂钩的某些奇葩学校。个人认为,要让学生动起来,领导和老师要起到带头作用,否则再怎么所谓“创新”、“为学生健康着想”的方案永远都是耽误学生课余时间的空头话。

类似的方案有很多,可以去淘宝代刷,可以用安卓+(Virtual)Xposed,甚至可以把手机绑在招财猫上面,然而都挺麻烦的,而且不安全、不可控。(2018年6月中旬,微信官方大面积封杀Xposed插件用户,强烈不建议继续使用Xposed+步数修改器,除非使用XposedHide模块或者手工Hook住微信的app/p.class中的a方法)

本项目旨在做一个可控的、安全的、简便的步数修改器。

视频DEMO

硬件准备

  • esp32 x 1

这个我想啰嗦几句,淘宝上没见到啥廉价的支持GATT的开发板,之前买了个cc2540和nrf51822,前者因为自带固件太屎搞不成,后者针脚太细,而且两者都因为缺少编程器而无法自己写固件,只好选昂贵一些的esp32,只能大材小用了。。

  • 微动开关/按钮 x 1
  • 10k电阻 x 1
  • 3461AS x 1
  • 7x9 洞洞板 x 1

电路图连接

a

原理

参考源码main.cppble.cpp,BLE的协议文档,以及微信硬件平台-蓝牙精简协议

绑定微信

创建微信测试号,打开设备功能,新建具有蓝牙连接能力的设备,然后参考微信硬件平台-设备授权新接口

License

MIT

ble_werun_faker's People

Contributors

zhangjingye03 avatar

Watchers

James Cloos 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.