Giter Club home page Giter Club logo

Comments (4)

mzanetti avatar mzanetti commented on July 28, 2024 2

Are location services enabled on the Phone? For some reason Android requires Location Services to be enabled in order to deliver Bluetooth search results.

from berrylan.

t-mon avatar t-mon commented on July 28, 2024

The advertisment behavior depends on the mode you configured for the nymea-networkmanager.
There is also a boot mode which enabled the advertisement for a certain time after boot and disables afterwards.
Default is the offlin mode, which should restart th bluetooth server if you are offline (independet if lan or wlan). For testing you could try to use the always mode, which should advertise always...

Regarding the advertisement name: we noticed that behavior too, and it comes from the mix of classic bluetooth advertisement and low energy. If you see the "raspberry pi" name first, that is you pretty name you can change in the /etc/machine-info -> PRETTY_HOSTNAME=bluetooth-name.

If your host is discoverable, your phone shows the classic bluetooth name (pretty-hostname), once the nymea-networkmanager starts the service, a bluetooth LE server will be started and begins to advertise as LE device. This leads to the behaviour you noticed, first the name of the service is the hostname, then th package containing the server name arrives and the phone updates the name...

from berrylan.

TechSgin avatar TechSgin commented on July 28, 2024

We are experiencing issues with berryLan on android (we didn't try iOS) .
It seems like the "phone" (android Samsung A33, LG V20 and few others) list the Bluetooth "entry" but it is not listed on the berryLan app.

we have tried:

  1. filtering enabled \ disabled
  2. change the AdvertiseName in /etc/nymea/nymea-networkmanager.conf (only 8 chars)
  3. change the timeout in /etc/nymea/nymea-networkmanager.conf
  4. change the mode offline, start and always
  5. change the host name to match the AdvertiseName (only 8 chars)
  6. we have tried to re-install berryLan on the phone
  7. we have updated \ upgraded the service on the pi

all with no success

When looking at the logs "journalctl -u nymea-networkmanager.service" all seems to be ok ..
We will be more than happy to get some help here ..

Thanks In Advance Oren

from berrylan.

TechSgin avatar TechSgin commented on July 28, 2024

Thank You Very Much @mzanetti
Amazing, enabling "Location Services" solved the issue and we can now see the device on our phones.

  • we have spend few hours for the last couple of days, we couldn't figure this out.

from berrylan.

Related Issues (20)

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.