Coder Social home page Coder Social logo

dwil2444 / sig_scraper Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 6.78 MB

A Web-Scraper that extracts GATT Specifications from the SIG Website.

License: MIT License

Python 89.55% Shell 10.45%
bluetooth-low-energy web-scraper gatt-server xml-parser

sig_scraper's Introduction

SIG_Scraper

The Special Interest Group (SIG) defines a few standard Generic Attribute Profiles which serve as the foundation for the design of any Bluetooth Low Energy (BLE) System.

Mongo Server

1. Download and install the MongoDB Community Server from the following link: https://www.mongodb.com/download-center/community

2. To start the mongo server run the mongod process within your mongodb folder and specify your data directory with the following command:
    /Users/******/mongodb/bin/mongod --dbpath=/Users/*******/mongodb-data

Scraping

The scraping scripts search the Bluetooth GATT specifications pages for all the XML links containing the relevant bluetooth services and characteristics.

Parsing

The parsing scripts extract the relevant data from the downloaded XML files and build objects that can be used to populate a noSQL database for GATT profiles.

ChromeDriver

To run the scraper, check your google chrome version at the following link: https://www.whatismybrowser.com. Then download the appropriate driver and extract the file into the root of the repository. Chrome Drivers are available at the following url: http://chromedriver.chromium.org/downloads. The current repo uses version 75 but use the appropriate driver for your version of chrome.

sig_scraper's People

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.