Giter VIP home page Giter VIP logo

ble-nfc's Introduction

BLE-NFC

[Build Status] Sugandh Ranawatt [Sugandh's Community] API Open Source Love [License]

1. Application will work in two modes

BLE Server/Card Emulation Mode

        Screen will contain Edit Text, Text View, 4 buttons (1st for BLE, 2nd for NFC, 3rd for Encrypt, 4th for Advertiser Mode)

BLE Client/NFC Reader Mode

        Screen will contain 2 Text View, 3 buttons (1st for BLE, 2nd for NFC, 3rd for Scanner Mode)

BLE Communication

2.1. Server Mode

             User will enter any text in Edit Text
             User will click Encrypt button, on click text will be encrypted using AES-256 Algorithms with
		   Key = 60CA0C1AC45776EF7C42C958F2A009107348D0F3B858F32691B3EABF3DC5B2FF
	     Encrypted text will be displayed on Text View
             User will click on BLE Button. On click GATT server will setup and start advertising.

2.2. Client Mode

             Screen will contain 2 Text View, 2 buttons (1st for BLE, 2nd for NFC)
             User will click on BLE. On click, BLE Scan will start and connect to GATT Server and read encrypted data.
             Client will decrypt data and display Encrypted Data on 1st Text View and Decrypted Text on 2nd Text View.

NFC Communication

3.1 Card Emulation Mode

            Same as step - i and ii in 2.1 for BLE.
            User will click on NFC button. On click Encrypted data will be ready for transmission through NFC.

3.2 Reader Mode

   	    # Same as step-i in 2.2 for BLE.
            User will click on NFC. Device will start as NFC Reader.
            Card Emulating device will be tapped on Reader device so data encrypted data will be received by reader.
            Same as step-iii in 2.2

Note โ€“

       For BLE, feel free to use any UUID for GATT Service and GATT Characteristic.
       For NFC, Use AID: A0000001010101 and create command as per your convenience.
       If your device supports BLE and NFC, then test as well otherwise complete the code and send.

ble-nfc's People

Contributors

ranawatt avatar

Stargazers

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