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,024
Mentioned: 82 Post(s)
Tagged: 0 Thread(s)
Quoted: 17994 Post(s)
Liked 9,812 Times in 5,564 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
Posts: 13,401
Mentioned: 27 Post(s)
Tagged: 0 Thread(s)
Quoted: 3603 Post(s)
Liked 979 Times in 683 Posts
Originally Posted by Matheus0312 View Post
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 View Post
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 View Post
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 - Do Not Sell My Personal Information -

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