sandeepmistry / node-bleacon

A Node.js library for creating, discovering, and configuring iBeacons
MIT License
498 stars 88 forks source link

Can't discover Punchthrough LightBean or Estimote Stickers #24

Closed mtt87 closed 9 years ago

mtt87 commented 9 years ago

Hi, I have an Estimote Sticker and a Punchthrough LightBean but I can't discover them.

If I use noble I'm able to see the LightBean as this device:

{ _noble: 
   { state: 'poweredOn',
     _bindings: 
      { _xpcConnection: [Object],
        _peripherals: [Object],
        _events: [Object],
        sendCBMsg: [Function],
        init: [Function],
        startScanning: [Function],
        stopScanning: [Function],
        connect: [Function],
        disconnect: [Function],
        updateRssi: [Function],
        discoverServices: [Function],
        discoverIncludedServices: [Function],
        discoverCharacteristics: [Function],
        read: [Function],
        write: [Function],
        broadcast: [Function],
        notify: [Function],
        discoverDescriptors: [Function],
        readValue: [Function],
        writeValue: [Function],
        readHandle: [Function],
        writeHandle: [Function],
        timer: [Object] },
     _peripherals: { '9c8fbe377a694ca698cb68f74fff5975': [Circular] },
     _services: { '9c8fbe377a694ca698cb68f74fff5975': {} },
     _characteristics: { '9c8fbe377a694ca698cb68f74fff5975': {} },
     _descriptors: { '9c8fbe377a694ca698cb68f74fff5975': {} },
     _events: { discover: [Object] },
     _discoveredPeripheralUUids: [ '9c8fbe377a694ca698cb68f74fff5975' ],
     _allowDuplicates: true },
  uuid: '9c8fbe377a694ca698cb68f74fff5975',
  advertisement: 
   { localName: 'Bean',
     txPowerLevel: 4,
     manufacturerData: undefined,
     serviceData: [],
     serviceUuids: [ 'a495ff10c5b14b44b5121370f02d74de' ] },
  rssi: -55,
  services: null,
  state: 'disconnected' }

Can you help me discover these with Bleacon?

sandeepmistry commented 9 years ago

@mtt87

Based on your output, your bean is definitely not broadcasting as an iBeacon, manufacturer data is undefined:

   { localName: 'Bean',
     txPowerLevel: 4,
     manufacturerData: undefined,
     serviceData: [],
     serviceUuids: [ 'a495ff10c5b14b44b5121370f02d74de' ] }

See this to set it up: https://punchthrough.com/bean/ibeacon-setup/