Skip to content

A Node.js command line utility to parse a BLE advertisement packet

Notifications You must be signed in to change notification settings

nrbrook/bleadvparse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bleadvparse

A Node.js command line utility to parse BLE advertisement packets. Uses bleadvertise.

Usage

Clone, run npm install, and then parse a packet:

node . 02011a1bff4c000c0e0008c69ae1fab7f0c391281a0d6e10064b1e2ae6fdf7

Gives the output:

Parsing input: 02011a1bff4c000c0e0008c69ae1fab7f0c391281a0d6e10064b1e2ae6fdf7

Parsed output:

Flags
[
  'LE General Discoverable Mode',
  'Simultaneous LE and BR/EDR to Same Device Capable (Controller)',
  'Simultaneous LE and BR/EDR to Same Device Capable (Host)'
]

Manufacturer Specific Data
<Buffer 4c 00 0c 0e 00 08 c6 9a e1 fa b7 f0 c3 91 28 1a 0d 6e 10 06 4b 1e 2a e6 fd f7>

About

A Node.js command line utility to parse a BLE advertisement packet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published