GithubHelp home page GithubHelp logo

9bmetrics's People

Contributors

fgorina avatar

Stargazers

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

Watchers

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

9bmetrics's Issues

Ninebot One A1/S2 Support

Ninebot One A1/S2 is not founded, because uses another Service UUID (FEE7) and characteristics:

  • FEC7 (CBCharacteristicProperties.Write)
  • FEC8 (CBCharacteristicProperties.Indicate)
  • FEC9 (CBCharacteristicProperties.Read)

This is no problem, but no getted headers (SN, etc.).

May be have choice get all firmware data for debug?

KingSong/Gotway total distance

On KS/Gotway wrong calculating total distance.
130 real km = 376045570.0 in app.
let totalDistance = Double( (Int(buffer[6]) * 256 + Int(buffer[7]))*65536 + (Int(buffer[8]) * 256 + Int(buffer[9])))

Tests:
On my tests KS14 rides 137km (by official app metrics).
Value of buffer:
buffer[6] = 2
buffer[7] = 0
buffer[8] = 106
buffer[9] = 22

Gotway MSuper V3 rides 8.4km
Value of buffer:
buffer[6] = 64
buffer[7] = 0
buffer[8] = 28
buffer[9] = 32

Change Serial Number

Nice source! You can add changing Serial Number?
Tip: If you have Ninebot One E and change Serial Number on "N1OP...", max speed will be ~30 km/h

Gotway temperature

On Gotway (exclude MCM4) wrong calculating temperature. Tested on ACM, MSuper V3, Monster.

219 value app ≈ 20 °C

One Fun Bool

I checked "One Fun Bool". You know what function it performs?

Change Max Speed on Ninebot One E

Changing max speed is not working. Ninebot One E on 1.3.5 limiting max speed on ~22 km/h. I set max speed on 30 km/h via 9Metrics (TestMode), reset Ninebot One, but it's not works - limit also ~22 km/h :(

Change Lock & Limit Mode

Need add method for On/Off limit speed mode, and On/Off lock mode.

I did complete methods for getting values:

    func limitMode() -> Bool? {
        let v = data[BLENinebot.kvFlags].value
        if v == -1{
            return nil
        }

        return (v == 9 || v == 11)
    }

    func lockMode() -> Bool? {
        let v = data[BLENinebot.kvFlags].value
        if v == -1{
            return nil
        }

        return (v == 10 || v == 11)
    }

And need include kvFlags in listaOpFast array

About values kvFlags:
8 - normal,
9 - limited,
10 - locked,
11 - limited & locked

Swift 4/5 support (xcode 10.3)

Project doesnt work with newer version of xcode, and trying to upgrade to swift 4 or 5 breaks the code.

Im not that familiar with iOS development to make a fix and a PR.

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.