osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.72k stars 1.03k forks source link

BLE/ANT+ Management Sensors #15459

Closed vshcherb closed 1 year ago

vshcherb commented 2 years ago

ToDo

Next to ANT+ support BLE sensors https://developer.android.com/guide/topics/connectivity/bluetooth/ble-overview

Main screen empty state

First screen when sensors are not paired with OsmAnd.

Pair new sensor bottom sheet

Empty state Pair new sensor

Searching

Bluetooth Off Searching Nothing found List of available devices

Main screen with connected sensors, Figma

Menu

Sensor screen, Figma

Not paired Paired, Disconnected Paired, Connected

Toast messages

dmpr0 commented 1 year ago

Docs:

niobebo commented 1 year ago

Can I test the BLE function in the current nightly build ?

vshcherb commented 1 year ago

Nope you can test demo apk that we're preparing though .... We plan to merge this demo app with OsmAnd.

niobebo commented 1 year ago

thanks When will the demo app be available? Where can I download it?

0xRe1nk0 commented 1 year ago

thanks When will the demo app be available? Where can I download it? app-debug.zip

Here is the test app. Supported sensors are in the filter

niobebo commented 1 year ago

thanks for reply sorry  can't install   Message:  bad or split  APK

Am Donnerstag, 2. Februar 2023 um 13:00:02 MEZ hat 0xRe1nk0 ***@***.***> Folgendes geschrieben:  

thanks When will the demo app be available? Where can I download it? app-debug.zip

Here is the test app. Supported sensors are in the filter

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

vshcherb commented 1 year ago

You need to unzip it after download

niobebo commented 1 year ago

that is was i doo... unzip and install the apk

i tried also to install with a split apk installer the Message: select Base APK (com.example.bletestapp) > install Y > error> install parse failed no certificate sorry...

utack commented 1 year ago

Sorry to ask in here, but would that work also allow you to add a feature to send GPX files to ANT+ devices like a Garmin Etrex directly?
https://www8.garmin.com/manuals/webhelp/eTrex22x-32x/EN-US/GUID-9B89C076-1C30-457C-84D0-E3DBF5A34ACB.html

That would be absolutely amazing

dmpr0 commented 1 year ago

Review #1

Main screen empty state

Image

Pair new sensor bottom sheet

Searching

Searching for sensors

Figma Android

List of available devices

Figma Android

Sensor screen

Figma Android

Main screen with connected sensors,

alex-osm commented 1 year ago
JakDoh commented 1 year ago

Is there a plan to save sensor readings using trip recorder to gpx file ?

Update: Okey, I see. Function is planned, but not fully implemented yet (setDeviceWriteGpx). Will be possible to view/analyze this additional data in the in-app track analyzer with map overlay (like distance, speed ect.)

JakDoh commented 1 year ago

It would be good to have an additional layer that ensure authentication (CHAP or so) with the sensor (like for MiBand and other brands of wristbands) before reading data from the sensor.

Zirochkabila commented 1 year ago

OsmAnd~ 4.5.0#82m, Released: 2023-05-24

dmpr0 commented 1 year ago

Review #2

Device : bluejay Brand : google Model : Pixel 6a Product : bluejay_beta Build : UPB2.230407.014 Version : 13 App Version : OsmAnd~ Apk Version : 4.5.0#131m 4500

exception (1).log


Main screen empty state


Empty state

Connection

dmpr0 commented 1 year ago

Review #3

Empty state

Sensor screen

Information card:

Received data card

Main screen

Icons: Use this icons for listed types of sensors

Zirochkabila commented 1 year ago

Review #4

Tested on: OsmAnd~ 4.5.0#213m, Released: 2023-06-15


Empty state

dmpr0 commented 1 year ago

Review #4

RTL

dmpr0 commented 1 year ago

Review – 5

shurasmiling commented 1 year ago

review 03.01.24 by Eugene