Go Back  Bike Forums > Bike Forums > Electronics, Lighting, & Gadgets
Reload this Page >

Bryton 420 route files format

Notices
Electronics, Lighting, & Gadgets HRM, GPS, MP3, HID. Whether it's got an acronym or not, here's where you'll find discussions on all sorts of tools, toys and gadgets.

Bryton 420 route files format

Old 09-10-21, 06:19 AM
  #1  
Matheus0312
Newbie
Thread Starter
 
Join Date: Jul 2021
Posts: 13
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked 2 Times in 1 Post
Bryton 420 route files format

Hey guys,

I'm trying to write a python script to convert .gpx files in the files used by the bryton 420 gps. My idea behind this project is to circumvent the official app, which is clunky to generate routes in and, a couple of times, generated bugs in my planned route if I add external .gpx files.

I found a similar project on GitHub for older bryton models, but I was not able to get all information I needed since the files seems to have been changed in the new models. I also tried to contact the bryton support but had no reply as of today.

My main obstacle currently is to understand how to decode/encode the .fit files that the bryton uses for route storage. Even though it is a .fit, the file formating is proprietary and don't follow the common Garmin .fit structure.

Have anyone tried something similar or know where I can find some information that might point me in the right direction?
Matheus0312 is offline  
Old 07-13-22, 01:29 PM
  #2  
aliens
Newbie
 
Join Date: Jul 2022
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Any luck on this? I would also be very interested in this capability. Thanks!
aliens is offline  
Old 07-13-22, 02:13 PM
  #3  
Matheus0312
Newbie
Thread Starter
 
Join Date: Jul 2021
Posts: 13
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked 2 Times in 1 Post
Yes

I decided the files and created a python script to convert some .gpx to bryton's formats.

I can't paste links in here, but searching "Bryton Utilities" in GitHub will get you to my project.
Matheus0312 is offline  
Likes For Matheus0312:
Old 07-13-22, 02:18 PM
  #4  
Seattle Forrest
Senior Member
 
Seattle Forrest's Avatar
 
Join Date: Mar 2010
Location: Seattle, WA
Posts: 23,208
Mentioned: 89 Post(s)
Tagged: 0 Thread(s)
Quoted: 18883 Post(s)
Liked 10,645 Times in 6,054 Posts
https://github.com/matheus0312/BrytonUtilities
Seattle Forrest is offline  
Old 07-13-22, 02:48 PM
  #5  
njkayaker
Senior Member
 
Join Date: Sep 2007
Location: Far beyond the pale horizon.
Posts: 14,239
Mentioned: 31 Post(s)
Tagged: 0 Thread(s)
Quoted: 4221 Post(s)
Liked 1,318 Times in 914 Posts
Originally Posted by Matheus0312
My main obstacle currently is to understand how to decode/encode the .fit files that the bryton uses for route storage. Even though it is a .fit, the file formating is proprietary and don't follow the common Garmin .fit structure.
njkayaker is offline  
Likes For njkayaker:
Old 07-14-22, 06:06 AM
  #6  
Matheus0312
Newbie
Thread Starter
 
Join Date: Jul 2021
Posts: 13
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked 2 Times in 1 Post
Originally Posted by Seattle Forrest
That's it, thanks
Matheus0312 is offline  
Old 07-14-22, 06:09 AM
  #7  
Matheus0312
Newbie
Thread Starter
 
Join Date: Jul 2021
Posts: 13
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked 2 Times in 1 Post
Originally Posted by njkayaker
Check the file inside the Doc folder on the GitHub project, there's a .txt in which I explain the file coding, indeed is not the same as Garmin's fit.

Also, I just had to encode the .fit file, then adding this time in the GPS unit, the unit itself creates the other files
Matheus0312 is offline  
Old 07-26-22, 09:15 AM
  #8  
aliens
Newbie
 
Join Date: Jul 2022
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Thanks for the python code, Matheus0312! It looks like they may have changed their protocol since you wrote it. I have a very different header and coding scheme in a .fit file I downloaded from the Bryton Active app (see attached).

Do you have any example .fit files that you can send me so I can make sure I'm not doing something stupid? If not, no worries. I appreciate the head start on the conversion
Attached Files
File Type: zip
bike191847.zip (50.0 KB, 3 views)
aliens is offline  
Old 08-09-22, 11:58 AM
  #9  
Matheus0312
Newbie
Thread Starter
 
Join Date: Jul 2021
Posts: 13
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked 2 Times in 1 Post
Indeed the files are way different. One thing to notice is that both routes and activities are .fit files to bryton, even though they are coded differently. Also I only tested my decoding in the Bryton 420 head unit (because is the only one I have), are you using the same unit?

I can't attach files here apparently, so I added them to the github project at https://github.com/matheus0312/Bryto...ioDoRastro.zip
This zip contains a .fit file that I generated using my python script and later copied to the unit and the .gpx file that I used as input for the script, hope it helps.
Matheus0312 is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.