View Single Post
Old 06-19-2017, 09:45 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
I don't know of anywhere on the device that you can get that. And I think that's because the "mark" is a bit of a fiction. It roughly represents hardware versions, but, each device within are different enough that other than for collecting a firmware update file, it's pretty useless.

The only way I can think of getting the mark directly is to request a firmware update and look at the response. If you use an old version number as part of the request, it will always give the update URL. You will need to read the version file to get the serial number and the other id that is in there.

The other thing you can do is parse the version file and derive the mark from the the serial number or the id. There's a list around here somewhere of the ids and models.

But, to me, the real question is: What are you trying to do? Knowing that maybe someone can suggest another way to do what you are after.
davidfor is offline   Reply With Quote