Coder Social home page Coder Social logo

ykasidit / libbluetooth_gnss Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 8.0 325 KB

This android-studio project repo contains a few main android library 'modules' which allows Android phones to connect and read/parse GNSS (GPS/GLONASS/Galileo/BeiDou) position data from existing Bluetooth GNSS Receivers like the EcoDroidGPS Bluetooth GPS Receiver (https://www.clearevo.com/ecodroidgps) - which is the main target device and developed by the same author of this project and also others similar 'nmea-like-messages over RFCOMM' devices like the HOLUX Bluetooth GPS devices, the Garmin GLO, etc.

Home Page: https://www.clearevo.com

libbluetooth_gnss's People

Contributors

ykasidit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libbluetooth_gnss's Issues

Bluetooth GNSS doesn't report bearing

I use Osmand app and when mock location is active, Osmand always display the map with north up.

supportsBearing is false so I guess that even if setBearing is called, the apps don't get any bearing ?

See osmandapp/OsmAnd#13629

locationManager.addTestProvider(LocationManager.GPS_PROVIDER,
/*boolean requiresNetwork*/ false,
/*boolean requiresSatellite*/ true,
/*boolean requiresCell*/ false,
/*boolean hasMonetaryCost*/ false,
/*boolean supportsAltitude*/ true,
/*boolean supportsSpeed*/ true,
/*boolean supportsBearing */ false,
Criteria.POWER_LOW,
Criteria.ACCURACY_MEDIUM);

if (!Double.isNaN(bearing))
newLocation.setBearing(bearing);
else {
//Log.d(TAG, "bearing is nan so not setting in newlocation");
}

PS: Osmand also get 0 satellites

Capture d’écran 2022-01-25 à 20 41 41

2 small issues

Hi!

First thanks for this app it s great!

3 things

When you enable phone gps in the same time than bluetooth gps sometimes my position "jump" On the phone gps with a bigger blue circle in google map... Might be good to compare the accuracies then just update if she s better :) (don t understand why google map doesn t use mocked position ONLY when enabled...) i seen some examples in the android doc for multi sources like that (will post link later)

2 - some ntrip caster doesn t require auth (in my case caster.centipede.fr:2101) so actually i can't use the rtk corrections since it requires login/password (if i m not wrong) possible to add this possibility?

3- wich messages must be enabled to have the ublox fix z xyz etc? I use a simplertk2b card... Or maybe it s printed only when caster enabled :p

Thanks!!!

Please add Bluetooth LE support

As there seems to be no market for good Bluetooth GNSS devices anymore, we more or less have to build them ourselves.

I've done so several years ago with a u-blox M8N GPS module and a HC-06 Bluetooth serial module. Worked great so far.

Now my plan was to create a new device based on the M9N chipset with a bigger antenna on the module. But while testing I found out that the Bluetooth module, being pretty close to the GNSS module, causes the signal to get really bad. Especially for GLONASS satellites. Maybe there is a similar effect on my M8N and the accuracy could be better without the Bluetooth.

Today I tried if I still have any effect if I go for Bluetooth LE which, as a nice side-effect, would also reduce battery usage on my GNSS device. I used a HM-10 Bluetooth LE module and some Bluetooth LE terminal app from the Play Store to test things out.

All my tests show zero effect of Bluetooth LE to the GNSS signal. So I would like to go with the Bluetooth LE module. But to do this my favorite GNSS app would need support for Bluetooth LE so I can bind my module and make use of the sent NMEA data. Can you have a look at this?

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.