Giter VIP home page Giter VIP logo

list-beacons's Introduction

List Beacons

A simple Node.js utility to list nearby iBeacons.

Setup

Clone this repo, then cd into it and run npm install to install its dependencies.

Usage

Run node index.js to start scanning for nearby iBeacons. You'll see the UUID, major, and minor values of nearby iBeacons as they advertise:

$ node index.js
0: Listening for iBeacons...
388: ad0249b25eaf458fba702d487818ce2f | 006f | 8241
768: ad0249b25eaf458fba702d487818ce2f | 006f | 8241
2750: ad0249b25eaf458fba702d487818ce2f | 006f | 8241
3086: ad0249b25eaf458fba702d487818ce2f | 006f | 8241
3822: a495deadc5b14b44b5121370f02d74de | beef | cafe <-- Bean!
3989: a495deadc5b14b44b5121370f02d74de | beef | cafe <-- Bean!
4846: ad0249b25eaf458fba702d487818ce2f | 006f | 8241
5403: ad0249b25eaf458fba702d487818ce2f | 006f | 8241

The script searches for iBeacons that match the following pattern (_ can be any value):

a495____c5b14b44b5121370f02d74de

If it finds a matching iBeacon, it marks it as a LightBlue Bean.

Since Beans can only set those 16 bits of their iBeacon UUID, they will always match the above pattern. However, nothing stops other iBeacons from using a similar UUID and being marked as Beans.

This script is known to work with Node 5.1.1 on OS X 10.11.1.

License

MIT

list-beacons's People

Contributors

mplewis avatar

Stargazers

 avatar Andrew Baker avatar Dan Crevier avatar Nadine avatar Nitcha Tothong avatar Kane avatar

Watchers

Colin Karpfinger avatar James Cloos avatar Mike Waddick avatar  avatar Matt Rengo avatar Stephen Stack avatar  avatar  avatar

Forkers

eledir khorovatin

list-beacons's Issues

unable to install bleacon

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
bignum.cc
win_delay_load_hook.cc
..\bignum.cc(143): error C2061: syntax error: identifier 'BN_is_zero' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(145): error C2061: syntax error: identifier 'BN_is_one' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(183): error C2079: 'BigNum::bignum_' uses undefined struct 'bignum_st' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcx
proj]
..\bignum.cc(296): error C3861: 'BN_init': identifier not found [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(297): error C2664: 'int BN_set_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(297): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(299): error C2440: 'initializing': cannot convert from 'int *' to 'BIGNUM *' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bign
um.vcxproj]
..\bignum.cc(299): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(304): error C3861: 'BN_init': identifier not found [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(307): error C2664: 'int BN_set_bit(BIGNUM *,int)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\iBeacon-GPS\nod
e_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(307): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(325): error C3861: 'BN_init': identifier not found [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(328): error C2664: 'int BN_set_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(328): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(330): error C2664: 'int BN_set_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(330): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(331): error C2664: 'int BN_lshift(BIGNUM *,const BIGNUM *,int)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(331): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(332): error C2664: 'int BN_add_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(332): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(339): error C3861: 'BN_init': identifier not found [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(345): error C2664: 'int BN_set_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(345): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(346): error C2664: 'int BN_lshift(BIGNUM *,const BIGNUM *,int)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(346): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(348): error C2664: 'int BN_set_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(348): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(350): error C2664: 'int BN_set_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(350): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(351): error C2664: 'int BN_lshift(BIGNUM *,const BIGNUM *,int)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(351): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(352): error C2664: 'int BN_add_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(352): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(355): error C2664: 'void BN_set_negative(BIGNUM *,int)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\iBeacon-G
PS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(355): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(361): error C3861: 'BN_init': identifier not found [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(362): error C2664: 'BIGNUM *BN_copy(BIGNUM *,const BIGNUM *)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\iBe
acon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(362): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(367): error C3861: 'BN_init': identifier not found [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(368): error C2664: 'int BN_set_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(368): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(373): error C2664: 'void BN_clear_free(BIGNUM *)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\iBeacon-GPS\nod
e_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(373): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(385): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(413): error C2661: 'v8::Value::ToNumber': no overloaded function takes 0 arguments [D:\Projects\iBeacon-GPS\node_modules\bignum\buil
d\bignum.vcxproj]
..\bignum.cc(413): error C2227: left of '->Value' must point to class/struct/union/generic type [D:\Projects\iBeacon-GPS\node_modules\bignum\buil
d\bignum.vcxproj]
..\bignum.cc(436): error C2664: 'char *BN_bn2dec(const BIGNUM *)': cannot convert argument 1 from 'int *' to 'const BIGNUM *' [D:\Projects\iBeaco
n-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(436): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(439): error C2664: 'char *BN_bn2hex(const BIGNUM *)': cannot convert argument 1 from 'int *' to 'const BIGNUM *' [D:\Projects\iBeaco
n-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(439): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(430): warning C4996: 'v8::Value::ToInteger': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpr
oj]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10052): note: see declaration of 'v8::Value::ToInteger'
..\bignum.cc(459): error C2664: 'int BN_add(BIGNUM *,const BIGNUM *,const BIGNUM *)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Pr
ojects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(459): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(461): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(456): warning C4996: 'v8::Value::ToObject': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpro
j]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\bignum.cc(472): error C2664: 'int BN_sub(BIGNUM *,const BIGNUM *,const BIGNUM *)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Pr
ojects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(472): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(474): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(470): warning C4996: 'v8::Value::ToObject': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpro
j]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\bignum.cc(486): error C2664: 'int BN_mul(BIGNUM *,const BIGNUM *,const BIGNUM *,BN_CTX *)': cannot convert argument 1 from 'int *' to 'BIGNUM
*' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(486): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(488): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(484): warning C4996: 'v8::Value::ToObject': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpro
j]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\bignum.cc(500): error C2664: 'int BN_div(BIGNUM *,BIGNUM *,const BIGNUM *,const BIGNUM *,BN_CTX *)': cannot convert argument 1 from 'int *' to
'BIGNUM *' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(500): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(502): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(498): warning C4996: 'v8::Value::ToObject': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpro
j]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\bignum.cc(512): error C2664: 'BigNum::BigNum(const BigNum &)': cannot convert argument 1 from 'int *' to 'uint64_t' [D:\Projects\iBeacon-GPS\n
ode_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(512): note: There is no context in which this conversion is possible
..\bignum.cc(514): error C2664: 'int BN_add_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(514): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(517): error C2664: 'int BN_add(BIGNUM *,const BIGNUM *,const BIGNUM *)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Pr
ojects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(517): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(520): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(511): warning C4996: 'v8::Value::ToInteger': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpr
oj]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10052): note: see declaration of 'v8::Value::ToInteger'
..\bignum.cc(530): error C2664: 'BigNum::BigNum(const BigNum &)': cannot convert argument 1 from 'int *' to 'uint64_t' [D:\Projects\iBeacon-GPS\n
ode_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(530): note: There is no context in which this conversion is possible
..\bignum.cc(532): error C2664: 'int BN_sub_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(532): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(535): error C2664: 'int BN_sub(BIGNUM *,const BIGNUM *,const BIGNUM *)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Pr
ojects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(535): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(538): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(529): warning C4996: 'v8::Value::ToInteger': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpr
oj]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10052): note: see declaration of 'v8::Value::ToInteger'
..\bignum.cc(548): error C2664: 'BigNum::BigNum(const BigNum &)': cannot convert argument 1 from 'int *' to 'uint64_t' [D:\Projects\iBeacon-GPS\n
ode_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(548): note: There is no context in which this conversion is possible
..\bignum.cc(550): error C2664: 'int BN_mul_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(550): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(554): error C2664: 'int BN_mul(BIGNUM *,const BIGNUM *,const BIGNUM *,BN_CTX *)': cannot convert argument 1 from 'int *' to 'BIGNUM
*' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(554): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(557): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(547): warning C4996: 'v8::Value::ToInteger': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpr
oj]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10052): note: see declaration of 'v8::Value::ToInteger'
..\bignum.cc(567): error C2664: 'BigNum::BigNum(const BigNum &)': cannot convert argument 1 from 'int *' to 'uint64_t' [D:\Projects\iBeacon-GPS\n
ode_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(567): note: There is no context in which this conversion is possible
..\bignum.cc(569): error C2664: 'unsigned __int64 BN_div_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [
D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(569): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(573): error C2664: 'int BN_div(BIGNUM *,BIGNUM *,const BIGNUM *,const BIGNUM *,BN_CTX *)': cannot convert argument 1 from 'int *' to
'BIGNUM *' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(573): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(576): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(566): warning C4996: 'v8::Value::ToInteger': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpr
oj]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10052): note: see declaration of 'v8::Value::ToInteger'
..\bignum.cc(585): error C2660: 'v8::Value::ToUint32': function does not take 0 arguments [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bign
um.vcxproj]
..\bignum.cc(585): error C2227: left of '->Value' must point to class/struct/union/generic type [D:\Projects\iBeacon-GPS\node_modules\bignum\buil
d\bignum.vcxproj]
..\bignum.cc(587): error C2664: 'int BN_lshift(BIGNUM *,const BIGNUM *,int)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(587): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(589): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(598): error C2660: 'v8::Value::ToUint32': function does not take 0 arguments [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bign
um.vcxproj]
..\bignum.cc(598): error C2227: left of '->Value' must point to class/struct/union/generic type [D:\Projects\iBeacon-GPS\node_modules\bignum\buil
d\bignum.vcxproj]
..\bignum.cc(600): error C2664: 'int BN_rshift(BIGNUM *,const BIGNUM *,int)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(600): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(602): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(611): error C2664: 'BigNum::BigNum(const BigNum &)': cannot convert argument 1 from 'int *' to 'uint64_t' [D:\Projects\iBeacon-GPS\n
ode_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(611): note: There is no context in which this conversion is possible
..\bignum.cc(612): error C2664: 'void BN_set_negative(BIGNUM *,int)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\iBeacon-G
PS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(612): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(614): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(623): error C2664: 'BigNum::BigNum(const BigNum &)': cannot convert argument 1 from 'int *' to 'uint64_t' [D:\Projects\iBeacon-GPS\n
ode_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(623): note: There is no context in which this conversion is possible
..\bignum.cc(624): error C2664: 'int BN_is_negative(const BIGNUM *)': cannot convert argument 1 from 'int *' to 'const BIGNUM *' [D:\Projects\iBe
acon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(624): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(624): error C2660: 'BN_set_negative': function does not take 1 arguments [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.v
cxproj]
..\bignum.cc(626): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(638): error C2664: 'int BN_div(BIGNUM *,BIGNUM *,const BIGNUM *,const BIGNUM *,BN_CTX *)': cannot convert argument 2 from 'int *' to
'BIGNUM *' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(638): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(640): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(636): warning C4996: 'v8::Value::ToObject': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpro
j]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\bignum.cc(652): error C2664: 'unsigned __int64 BN_mod_word(const BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'const
BIGNUM *' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(652): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(652): error C2660: 'BN_set_word': function does not take 1 arguments [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpr
oj]
..\bignum.cc(656): error C2664: 'int BN_div(BIGNUM *,BIGNUM *,const BIGNUM *,const BIGNUM *,BN_CTX *)': cannot convert argument 2 from 'int *' to
'BIGNUM *' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(656): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(659): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(649): warning C4996: 'v8::Value::ToInteger': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpr
oj]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10052): note: see declaration of 'v8::Value::ToInteger'
..\bignum.cc(672): error C2664: 'int BN_mod_exp(BIGNUM *,const BIGNUM *,const BIGNUM *,const BIGNUM *,BN_CTX *)': cannot convert argument 1 from
'int *' to 'BIGNUM *' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(672): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(674): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(669): warning C4996: 'v8::Value::ToObject': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpro
j]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\bignum.cc(670): warning C4996: 'v8::Value::ToObject': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpro
j]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\bignum.cc(689): error C2664: 'int BN_mod_exp(BIGNUM *,const BIGNUM *,const BIGNUM *,const BIGNUM *,BN_CTX *)': cannot convert argument 1 from
'int *' to 'BIGNUM *' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(689): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(691): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(684): warning C4996: 'v8::Value::ToInteger': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpr
oj]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10052): note: see declaration of 'v8::Value::ToInteger'
..\bignum.cc(685): warning C4996: 'v8::Value::ToObject': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpro
j]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\bignum.cc(705): error C2664: 'int BN_exp(BIGNUM *,const BIGNUM *,const BIGNUM *,BN_CTX *)': cannot convert argument 1 from 'int *' to 'BIGNUM
*' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(705): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(707): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(701): warning C4996: 'v8::Value::ToInteger': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpr
oj]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10052): note: see declaration of 'v8::Value::ToInteger'
..\bignum.cc(718): error C2664: 'int BN_rand_range(BIGNUM *,const BIGNUM *)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(718): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(720): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(727): error C2660: 'v8::Value::ToUint32': function does not take 0 arguments [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bign
um.vcxproj]
..\bignum.cc(727): error C2227: left of '->Value' must point to class/struct/union/generic type [D:\Projects\iBeacon-GPS\node_modules\bignum\buil
d\bignum.vcxproj]
..\bignum.cc(732): error C2664: 'int BN_generate_prime_ex(BIGNUM *,int,int,const BIGNUM *,const BIGNUM *,BN_GENCB *)': cannot convert argument 1
from 'int *' to 'BIGNUM *' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(732): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(734): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [D:\Projects\iBeacon-GPS\node_modules\bignu
m\build\bignum.vcxproj]
..\bignum.cc(728): warning C4996: 'v8::Value::ToBoolean': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpr
oj]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10034): note: see declaration of 'v8::Value::ToBoolean'
..\bignum.cc(744): error C2660: 'v8::Value::ToUint32': function does not take 0 arguments [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bign
um.vcxproj]
..\bignum.cc(744): error C2227: left of '->Value' must point to class/struct/union/generic type [D:\Projects\iBeacon-GPS\node_modules\bignum\buil
d\bignum.vcxproj]
..\bignum.cc(746): error C2664: 'int BN_is_prime_ex(const BIGNUM *,int,BN_CTX *,BN_GENCB *)': cannot convert argument 1 from 'int *' to 'const BI
GNUM *' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(746): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(753): error C2660: 'v8::Value::ToUint32': function does not take 0 arguments [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bign
um.vcxproj]
..\bignum.cc(753): error C2227: left of '->Value' must point to class/struct/union/generic type [D:\Projects\iBeacon-GPS\node_modules\bignum\buil
d\bignum.vcxproj]
..\bignum.cc(755): error C2664: 'int BN_is_bit_set(const BIGNUM *,int)': cannot convert argument 1 from 'int *' to 'const BIGNUM *' [D:\Projects
iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(755): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(764): error C2664: 'int BN_cmp(const BIGNUM *,const BIGNUM *)': cannot convert argument 1 from 'int *' to 'const BIGNUM *' [D:\Proje
cts\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(764): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(762): warning C4996: 'v8::Value::ToObject': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpro
j]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\bignum.cc(773): error C2664: 'int BN_cmp(const BIGNUM *,const BIGNUM *)': cannot convert argument 1 from 'int *' to 'const BIGNUM *' [D:\Proje
cts\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(773): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(771): warning C4996: 'v8::Value::ToInteger': was declared deprecated [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxpr
oj]
c:\users\kenke.node-gyp\10.13.0\include\node\v8.h(10052): note: see declaration of 'v8::Value::ToInteger'
..\bignum.cc(785): error C2079: 'bn' uses undefined struct 'bignum_st' [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(786): error C3861: 'BN_init': identifier not found [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(787): error C2664: 'int BN_set_word(BIGNUM *,unsigned __int64)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\i
Beacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(787): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(788): error C2664: 'int BN_cmp(const BIGNUM *,const BIGNUM *)': cannot convert argument 1 from 'int *' to 'const BIGNUM *' [D:\Proje
cts\iBeacon-GPS\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(788): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
..\bignum.cc(789): error C2664: 'void BN_clear_free(BIGNUM *)': cannot convert argument 1 from 'int *' to 'BIGNUM *' [D:\Projects\iBeacon-GPS\nod
e_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(789): fatal error C1003: error count exceeds 100; stopping compilation [D:\Projects\iBeacon-GPS\node_modules\bignum\build\bignum.vcx
proj]

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.