Giter Site home page Giter Site logo

Vidonn X6 Support and Lua about openvidonn HOT 17 OPEN

dgomes avatar dgomes commented on July 19, 2024
Vidonn X6 Support and Lua

from openvidonn.

Comments (17)

dgomes avatar dgomes commented on July 19, 2024

Hi,

I don't have the X6 band, so unfortunately I'm not able to support it.

I also don't know how Lua support would workout in an android app... OpenVidonn simply reads the data that is already available in the bracelet, It doesn't do any calculations.

from openvidonn.

javaskater avatar javaskater commented on July 19, 2024

I just bought the X6 that is why I started to follow the dgomes GitHub repository.
I first want to thank him for his work ..
I am a JAVAEE + Web Developper I am now starting (privately) with Android programming. So as soon as I have time left I will start forking dgomes repo (if dgomes agrrees) while trying to write an X6 version of his app ...

from openvidonn.

dgomes avatar dgomes commented on July 19, 2024

Hi javaskater,

You more than welcome to fork and contribute :)

I'll take any pull requests I receive from the community

from openvidonn.

romcok avatar romcok commented on July 19, 2024

Can you tell me how to pull commands from the bracelet? I want to do some tests.

@javaskater +1
Support for the X6 would help me, official application crashes every time I select an item from the menu.

from openvidonn.

dgomes avatar dgomes commented on July 19, 2024

I used https://itunes.apple.com/us/app/lightblue/id639944780?mt=12

from openvidonn.

computerlyrik avatar computerlyrik commented on July 19, 2024

@romcok: I am in - on X6 support.

Need any help?

Seems like there are fewer characteristics. Anyone knows a good BLE listener (working within linux)

from openvidonn.

romcok avatar romcok commented on July 19, 2024

@dgomes nice thanks

I put to work an older version of the official application, so when I have more time I will look at it.

from openvidonn.

computerlyrik avatar computerlyrik commented on July 19, 2024

What i found out:

    public static String VIDONN_SERVICE = "0000ffe0-0000-1000-8000-00805f9b34fb";
    public static String VIDONN_OPERATION_READ = "0000ffe1-0000-1000-8000-00805f9b34fb";
    public static String VIDONN_OPERATION_NOTIFICATION = "0000ffe2-0000-1000-8000-00805f9b34fb";
    public static String VIDONN_OPERATION_WRITE = "0000ffe4-0000-1000-8000-00805f9b34fb";

    public static String VIDONN_SERVICE2 = "0000ffe5-0000-1000-8000-00805f9b34fb";
    public static String VIDONN_OPERATION_READ_CURRENT = "0000ffe9-0000-1000-8000-00805f9b34fb";

But these are not enough characteristics to read all the possible measurements.
So digging in Source gives something like:

OP_X6_R_AlarmClock = 0x69
OP_X6_R_CurrentValue = 0x3
OP_X6_R_HistoryDetail = 0x66
OP_X6_R_HistoryMap = 0x65
...

Anyone knows how this fits into BLE-Protocol?

from openvidonn.

computerlyrik avatar computerlyrik commented on July 19, 2024

I am having a rudimentary setup here with the original code running and debugger working. But i have no idea how to read correct values.

I do get some byte[6] array with some integers from VIDONN_OPERATION_READ - but always the same and no match to display data on Vidonn X6

from openvidonn.

computerlyrik avatar computerlyrik commented on July 19, 2024

VIDONN_OPERATION_READ_CURRENT gives an Array with [0]=Steps as displayed on wristband; other three fields are 0

from openvidonn.

dgomes avatar dgomes commented on July 19, 2024

Forget about that, you don’t know their encodings

I would use light blue and check all the characteristics that are available, it’s easy to browse. Then would figure out what matches what.

On 08/07/2015, at 15:11, computerlyrik [email protected] wrote:

What i found out:

public static String VIDONN_SERVICE = "0000ffe0-0000-1000-8000-00805f9b34fb";
public static String VIDONN_OPERATION_READ = "0000ffe1-0000-1000-8000-00805f9b34fb";
public static String VIDONN_OPERATION_NOTIFICATION = "0000ffe2-0000-1000-8000-00805f9b34fb";
public static String VIDONN_OPERATION_WRITE = "0000ffe4-0000-1000-8000-00805f9b34fb";

public static String VIDONN_SERVICE2 = "0000ffe5-0000-1000-8000-00805f9b34fb";
public static String VIDONN_OPERATION_READ_CURRENT = "0000ffe9-0000-1000-8000-00805f9b34fb";

But these are not enough characteristics to read all the possible measurements.
So digging in Source gives something like:
``
OP_X6_R_AlarmClock = 0x69
OP_X6_R_CurrentValue = 0x3
OP_X6_R_HistoryDetail = 0x66
OP_X6_R_HistoryMap = 0x65
...

Anyone knows how this fits into BLE-Protocol?

Reply to this email directly or view it on GitHub #4 (comment).

from openvidonn.

computerlyrik avatar computerlyrik commented on July 19, 2024

@dgomes sure...but i do not have a mac. Is there any way or similar SW to get run on linux? (or better - on android directly?)

PS: reading VIDONN_OPERATION_READ after communication with original app changes - and stays the same...i think it is some kind of stateful protocol (??)

from openvidonn.

thelemmings avatar thelemmings commented on July 19, 2024

Hello, I am working on a Windows client for the X6 and haven't been able to figure out the protocol either. Have you made any advances on your research ?

PS: I was also able to get the current steps, although it doesn't seem to be always a bit behind what the bracelet displays.

from openvidonn.

sriraman avatar sriraman commented on July 19, 2024

Do anyone found a way to use X6?

from openvidonn.

computerlyrik avatar computerlyrik commented on July 19, 2024

Not here.

Using Xiaomi Mi Fit extensively.

Want the X6?

On 29.08.2015 13:19, sriraman wrote:

Do anyone found a way to use X6?


Reply to this email directly or view it on GitHub
#4 (comment).

from openvidonn.

sriraman avatar sriraman commented on July 19, 2024

Yes. Now, I'm trying to build it for X6. So, If you give any reference, It will be useful for me.
Can you share the Mi fit link?

Thanks,

from openvidonn.

cosmojg avatar cosmojg commented on July 19, 2024

@javaskater @sriraman @thelemmings @romcok Did you guys have any success in making something that works for X6/X6S? I'm definitely gonna try so any tips would be great! :)

from openvidonn.

Related Issues (5)

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.