electronics, repairs, service manuals and datasheets discussion community for the repairs professionals and technicians
FAQSearchMembersGroupsRegisterProfilePM'sLogin/Out
How to decode raw data

 
Post new topic   Reply to topic    Electronic equipment repair and service manual search discussion Forum Index -> Electronics General
View previous topic :: View next topic  
Author Message
carterturner



Joined: 19 Aug 2017
Posts: 113

PostPosted: Sat Oct 07, 2017 4:49 am    Post subject: How to decode raw data Reply with quote

Hello,

Currently I can get raw data from my evk-m8xcam but I cannot decode it. I work in python and here's what it prints me when I read said data: b'\xb5b\x010\x10\x01xb\xe5\x1c\x16\x04\x00\x00\x07\x07\r\x07\x1b\x18,\x01R\x00\x00\x00\x0b\x08\x04\x04\x15\x1f\xbd\x00\x00\x00\x00\x00\x04\t\r\x07\x1d.\x1c\x01]\x00\x00\x00\r\x10\r\x07"C0\x00n\xfe\xff\xff\x08\x15\r\x04\x15\x10A\x000\xfa\xff\xff\x03\x17\x0c\x03\x113\xe8\x00\xd3\x0f\x00\x00\x01\x1a\r\x07&&A\x00_\x00\x00\x00\t\x1b\r\x07 ;\x98\x00\xca\xff\xff\xff\x0e\x1f\x0c\x04\n'



I want to decode that information but it seems that the ubx format prevent me from just doing: line_decode = line.decode("utf-8")

I get this error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 0: invalid start byte

So can anyone help me on how to get the informations from the message I read?

Thank You!!!


I didn't find the right solution from the Internet.
References
https://forum.u-blox.com/index.php?qa=11373&qa_1=how-to-decode-raw-data
App Trailers
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Electronic equipment repair and service manual search discussion Forum Index -> Electronics General All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Електроника София - Service Manuals Free Download - Prikachi - Service Diagrams

Free TV Schematics Download - HARDW.net - Pinout Master - Jabse Search - Jabse.InK  - Pulsator

Connector Pinout Forum - Новини - SnimkiOt.com - безплатен DNS - Whois разузнаване - Poblizo.com : пътешествия