Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bglib

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bglib - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

8

package.json
{
"name": "bglib",
"version": "0.0.1",
"version": "0.0.2",
"description": "Create and parse packets for the BlueGiga BLE112 and BLE113",

@@ -18,4 +18,8 @@ "main": "bglib.js",

"ble",
"ble112"
"ble112",
"ble113",
"bluegiga",
"low",
"energy"
]
}

@@ -1,7 +0,7 @@

###BGLib
BGLib is a JavaScript library for BlueGiga BLE devices. It is still under heavy development and will likely not work as intended for a while. It is currently being developed by Technical Machine to support our Tessel BLE module.
##BGLib
BGLib is a Node library for sending and receiving packets from BlueGiga BLE devices (currently supports ble112 and ble113). It is still under heavy development and will likely not work as intended for a while. It is currently being developed by Technical Machine to support our Tessel BLE module.
I still need to replace bitwise functions with Buffers once those are fully functional on Tessel.
###Install
##Install
```

@@ -12,5 +12,5 @@ npm install bglib

###Examples
##Examples
#Creating a packet
###Creating a packet

@@ -25,5 +25,5 @@ ```

})
```
###Parsing Incoming Data
#Parsing Incoming Data
```

@@ -37,5 +37,7 @@ var bglib = new require('bglib').bglib();

})
```
The library will hold the current state of the packets so you can pass in pieces of a packet and it will return the entire parsed packet when it has all been passed in.
The library will hold the current state of the packets so you can pass in pieces of a packet and it will return the entire parsed packet when it has all been passed in.
###Thanks
JRowberg deserves a special shout-out. Some of the code is modeled after [his Arduino bglib work](https://github.com/jrowberg/bglib).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc