Author Topic: Android development  (Read 1506 times)

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • Posts: 751
    • 1998 12v Ram
Reply #15 on: October 26, 2018, 03:15:28 PM
The android app was updated today, twice actually :)

It includes the new bulk data transfers, and should be pretty robust.. I haven't had a sync issue in over 2 hours with it just sitting on my phone spamming.
The screen keep on option, is respected all the time now, and should work without the app needing to be restarted. It'll drop the screen on, if you're still connected to the LBB but the application isn't in the foreground (but it still updates screen data).

I'm going to try to tackle an IDE swap over today and then start to get data logging going

AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.



Offline hakcenter

  • developer
  • Hero Member
  • *****
  • Posts: 751
    • 1998 12v Ram
Reply #16 on: November 07, 2018, 06:34:19 PM
I wanted to just give an update to whoever reads this thread anyways.

I've been slaving over the application, and updating the lbb code, to really go hand in hand the last week. It's been absolutely apparent that bluetooth communication has it's serious limitations, and making programmatic timeouts are just not feasible.

I can get round trips of code ranging from 40ms all the way to 140ms, with the devices right next to each other. That's when I know how many bytes to expect, so best case 0 latency wait. It would also be a terrible idea to make the application wait up to 150ms between sends and receives, it would just be so slow and laggy and pointless. But now a timeout of 2-3s actually works and shuts down the connections properly, etc etc etc. All around just 100% better than using buffers and either getting old data, or waiting for new data, then jamming up and breaking.

What that means realistically is that a code upgrade is going to be absolutely mandatory. So I'll basically just force over the bulk data anyways, and it's insanely fast. Absolutely no reason to not use it.

Graphing is in, it's looking pretty good so far. Once I get the app and LBB code stable I'll push out the updates and really hone in on graphing, then log saving / possibly review.. however I think csv viewing via google sheets, is probably the most ideal. Maybe automatic data graphing can be built into sheet creation /shrug

Anyways thanks for all your patience.

AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.



Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • Posts: 1049
  • Jack of all trades
    • '94 Dodge dually
Reply #17 on: November 10, 2018, 09:44:21 PM
I'm reading!.. doesn't apply to me but I still enjoy it

'94 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM


Offline hakcenter

  • developer
  • Hero Member
  • *****
  • Posts: 751
    • 1998 12v Ram
Reply #18 on: November 13, 2018, 11:45:59 AM
Here's the latest screens, I'll figure out how to get the icon back.

Just waiting for a ton of driving so I can tell if everything is stable. It's all built with compat now, so it should basically work on every device that is ICS is later. I need to work on the bluetooth section, so it'll update the bt info every time it's shown. A bit problematic if you had the app open, and then paired later, or changed pairing information at all after it was open. ¯\_(ツ)_/¯

I've also done a monumental amount of code optimizations now, and reigning everything in for a full release.

AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.



Offline hakcenter

  • developer
  • Hero Member
  • *****
  • Posts: 751
    • 1998 12v Ram
Reply #19 on: November 20, 2018, 01:44:06 PM
Okay so this is basically ready to go. I'm going to drive around on it for another week before letting the update rip.. but  it's basically all good to go.

AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.



Offline hakcenter

  • developer
  • Hero Member
  • *****
  • Posts: 751
    • 1998 12v Ram
Reply #20 on: January 04, 2019, 10:22:09 PM
Dang I've figured out a way to upload hex's now :D and it works!

AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.



Offline hakcenter

  • developer
  • Hero Member
  • *****
  • Posts: 751
    • 1998 12v Ram
Reply #21 on: January 18, 2019, 03:11:44 PM
firmware updating > android_app [Lil' Blackbox]

So it'll be hex's.

I'll start uploading hex's with the source code as well now. Need to think of a easy way to distribute them maybe even through the app itself...

AMP 2 Corinthians 8:21
For we take thought beforehand and aim to be honest and absolutely above suspicion, not only in the sight of the Lord but also in the sight of men.