Code Monkey home page Code Monkey logo

m5stack-core2-pn532-felica's Introduction

あくあたんFelica SwitchBot Lock Controller

Felica  ))))  PN532 - M5Stack ))))  apiserver (authentication + invoke switchbot api)

M5Stack Core2 + PN532でFelicaを読む

lib内に利用するPN532ライブラリをsubmoduleとして追加しているので、--recursiveを付けてCloneする。

git clone https://github.com/Hiroya-W/m5stack-core2-pn532-felica.git --recursive

PN532 library

Seeed-Studio/PN532をベースに、PlatformIOのライブラリとして読める形に修正したHiroya-W/PN532を利用している。

SwitchBot Lock BLE解析

custom service CBA20D00-224d-11e6-9fb8-0002a5d5c51b

adv data length = 12, bytes = 6909 6909 c3 a7 27 60 88 6d

c3 a7 27 60 88 6d dc 8b 08 20 lock c3 a7 27 60 88 6d dd 9b 08 20 unlock c3 a7 27 60 88 6d de 8b 08 20 lock c3 a7 27 60 88 6d e4 9b 08 20 unlock -- bit 7: calibration status 1:calibrated 0:not calibrated bit 6-4: lock status 000 locked 001 unlocked bit 3: door status update source 0 bit 2: door status 0 closed bit 1-0: reserve

m5stack-core2-pn532-felica's People

Contributors

hiroya-w avatar omzn avatar

Watchers

 avatar  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.