Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Davide Toldo
    @unixb0y
    Sorry if this isn't 100% related to your project but you seem very knowledgeable on this topic and there's not a ton of info available.
    AlejandroGorgues
    @AlejandroGorgues
    Hello everyone!!
    I have a problem, when I broadcast the peripheral and read it with android ble library or a beacon scan app, it only shows the ADRESS, RSSI and the Name of the peripheral, no UUID, no services, nothing, do you know why it's happening this way?
    moritz4
    @moritz4
    Hi guys, just getting started with BLE using this great library. @AlejandroGorgues can you try using "nrf connect" app? And post the code you are using
    Also, the information in this pack might be helpful https://www.bluetooth.com/bluetooth-resources/bluetooth-le-developer-starter-kit/ For bleno examples can be found in the server > rpi folder
    fankp1
    @fankp1
    Hello, is there any possibility to add a pin entry before we accept the connection of a smartphone?
    sabufung
    @sabufung
    hello im using bleno for a demo but i cannot get it start advertising , everytime it displayed an error like this
    Could not start scanning, state is unknown (not poweredOn)
    can somebody help me
    my environment is debian 9.0
    Matthew Barber
    @EndoMatrix
    @sabufung it sounds like you're trying to scan before noble.state is defined: https://github.com/noble/noble/issues/869#issuecomment-474327454
    Meet Mangukiya
    @meetmangukiya
    Hello.
    I recently tried to create a peripheral by bleno, added some descriptors to a characteristic. However, none of those descriptors appear on the client.
    I even tried running the echo example, not able to read or write.
    Charles Read
    @charlesread
    Is bleno being actively maintained? I don't see any movement in the repo in a long time.
    Matthew Barber
    @EndoMatrix
    @charlesread A number of forks are more active, such as abandonware/bleno, and include a number of compatibility fixes.
    Eirik Ølberg
    @Detzy

    Hi! I have tried to make a simple advertiser with Bleno.startAdvertisingIBeacon, but I cannot get state to change from undefined to "poweredon". Why can this be? Can anyone explain to me what is supposed to trigger a StateChange setting the value to "poweredOn"?

    My source code: https://pastebin.com/se103tJp
    I want to add that I have remembered to do:
    sudo service bluetooth stop
    sudo hciconfig hci0 up

    I am using a Rasberry Pi 4b with integrated bluetooth (no dongle)

    Matthew Barber
    @EndoMatrix
    @Detzy does it work if you change StateChange to stateChange?
    Eirik Ølberg
    @Detzy
    Thank you so much, I feel like a complete idiot now ^^
    Reda Kassame
    @Re4ctor
    Hi, mi using BLeno in a 1 to 1 connection and it works fine..it is possible use it in a 1 to Many type of network?
    It allows mesh structure?
    Big Jake
    @JakeSays
    hello. is there a native component to bleno?
    Jaumard
    @jaumard
    Hello, look like bleno is a dead project right ? nothing since 2018 :(
    Ben
    @bzeeman
    yep apparently.
    Philippe Coval
    @rzr
    @jaumard check this fork
    Christian Mattes
    @CarpeNecopinum
    is it possible to do pairing/bonding with the abandonware/bleno fork? I found that there are "secure" properties for characteristics. But whenever my android phone tries to bond with bleno running on my raspis (I tried the RPi 3B+, as well as RPi 4) nothing happens and the connection ends after a few seconds.
    Christian Mattes
    @CarpeNecopinum
    If not, is there a roadmap for what would have to be done or does anybody here know of some alternative? I'm kinda pulling my own hair right now as I can't find anything to prototype BLE peripherals where there is a definite "yes" regarding bonding support
    Philippe Coval
    @rzr
    please file issues on github
    Christian Mattes
    @CarpeNecopinum
    Can do, just wanted to make sure that bonding is a thing that is in general intended/plausible to work with bleno...
    Philippe Coval
    @rzr
    hi
    any interest for
    please review
    clairenorth
    @clairenorth
    Hi all, anyone found any good alternatives to bleno (or forked versions of bleno) that are still maintained?
    clairenorth
    @clairenorth
    I'm trying to have a swift app using core bluetooth connect to a Raspberry pi peripheral device using bleno, but I'm only able to see the peripheral appear on LightBlue. Anyone know how to get it to appear using core bluetooth library?
    Simon Andrews
    @SimonGAndrews
    @clairenorth, an alternative to create a peripherial on a pi,. is to use a dbus library eg https://www.npmjs.com/package/dbus-next and work with Bluez service directly. Ive beenworking on it for a while in background, its hardgoing for a novice but ive got as far as advertising and defining a Gatt service. Just got lightblueto connect and am working thecharasteristices to read, write and notify. My experience is start with the python example libraries for advert and gatt server in the bluez documentation at https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test.
    Re write these in JS using the dbus-next. The dbus tool d-feet will become your best friend to see whats going on. The only JS library ive found, and they are v helpfull examples, are at https://github.com/WaeCo/node-bluez/tree/dbus-next/src , WaeCo has a dbus-next branch in this repro.
    Simon Andrews
    @SimonGAndrews
    Another good library for the client side, that also works with Dbus-next is
    https://github.com/chrvadala/node-ble But @Chrvadala has not got peripherial functionality (identified as an enhancement) .
    @WaeCo see above with thanks for your work
    This message was deleted
    Simon Andrews
    @SimonGAndrews
    @clairenorth sorry may not be for you. In your orig question, if your client is not seeing your periperial to connect to. It maybe becaause the periph does not have the correct data in the body of the advertisement, maybe in the uuids , or service data or manufacting data. See if your server has a spec for the advert data it will recognise and try to connect to. Good luck
    John Rucker
    @JohnRucker

    I started with bleno years ago and pretty quickly determined it wasn’t going to meet my needs and not going to support secure encrypted connections.

    My project uses a swift IOS app (now on the app store) to securely connect to a Raspberry Pi running Node.JS over Bluetooth LE. The only way I could get an iPhone to pair and bind (over BLE) with a Raspberry Pi is by using blutoothd version 5.50 (now included in the Raspberry Pi OS). I wrote a node.js class blePeripheral that is based on my fork of Shougun’s node-bus (I had to make some mods to one of his c functions to get it to support the dbus getMangedObjects call from Bluez) that allows the Raspberry Pi to respond as a Bluetooth Low Energy Peripheral. It fully supports secure encrypted characteristics and binding with IOS devices. Here is a video of the binding process with an iPhone.

    Simon Andrews
    @SimonGAndrews
    @JohnRucker ... Thanks V much for sharing , looks like really usefull info and libraries.
    Jim Baldwin
    @jmbldwn

    Can anyone explain why my iphone would try to pair to my bleno peripheral? I've distilled it down to a simple service with one read characteristic, and when I try to interrogate it with any of the iPhone BLE tools, the iPhone tries to pair, which triggers some attempt at crypto that fails.

    While bleno might not have everything I need to make a secure peripheral, I'd sure like to make it work for prototyping.

    Philippe Coval
    @rzr
    hi is anyone in touch with @sandeepmistry ?
    clairenorth
    @clairenorth
    @SimonGAndrews thank you so much!! sorry for the delay - did not see these. this is incredibly useful information. Will definitely start with looking into the data in the body of the advertisement, server spec etc and if not will check out the dbus example. Appreciate the help!
    clairenorth
    @clairenorth
    @JohnRucker got it. Good to know - also doesn't seem like bleno is going to cut it for my use case either. Thanks for sharing all of these links - your fork of node-bus looks super useful. Based on these convos I'm going to pivot towards utilizing a d bus based library and rewrite what i have