Results 1 to 4 of 4

Thread: What does 15:9 Reserved mean?

  1. #1
    Join Date
    May 2019
    Posts
    4
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default What does 15:9 Reserved mean?

    1) Reading INDETIFY DEVICE data documentation.
    Can you explain me what does "15:9 Reserved" mean?

    2) I need to read binary file with device identification parameters and to parse it. Can I do it using QByteArray?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: What does 15:9 Reserved mean?

    Quote Originally Posted by Mikhail86 View Post
    1) Reading INDETIFY DEVICE data documentation.
    Can you explain me what does "15:9 Reserved" mean?
    Usually something being "reserved" means it is not being used yet by the current version of a format.

    What the numbers mean really depends on the specification at hand.

    Could mean "at position 15 with a length of 9", for example.


    Quote Originally Posted by Mikhail86 View Post
    2) I need to read binary file with device identification parameters and to parse it. Can I do it using QByteArray?
    Yes.

    You can either use QFile::readAll() to get the full file content into a single byte array or use QFile::seek() to jump to a specific position and then use QFile::read() to read a number of bytes from that position onwards.

    Cheers,
    _

  3. #3
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    512
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: What does 15:9 Reserved mean?

    Hi, from my experience 15:9 are bit numbers, e.g. in a 16bit word this means the upper seven bits.

    Ginsengelf

  4. #4

    Default Re: What does 15:9 Reserved mean?

    At position 15 with a length of 9

Similar Threads

  1. Replies: 1
    Last Post: 9th May 2011, 20:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.