LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Usb > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: "Marc Reinig" <mreinig@p...>
    Date: Tue, 7 Oct 2003 10:40:20 -0700
    Subject: RE: [usb] Get more descriptor data from device than it is available
    Top

    > -----Original Message-----
    > Subject: [usb] Get more descriptor data from device than it is available
    >
    >  If the host requests more descriptor bytes than it is available,
    >  what is the expected behaviour from the device?
    
    The device sends as much as it has or as much as the host has asked, which
    ever is less.
    
    >  If the device
    >  sends only the available bytes, what is expected behaviour of
    >  host?
    
    The host knows the rules and would not be surprised.  In general though,
    unless you are writing host drivers, never make assumptions about what the
    host might do on a control endpoint.  A device should do whatever the hosts
    says, and not try to out guess it.
    
    Marc Reinig
    System Solutions
    
    
    
    
    

    ReferenceAuthor
    [usb] Get more descriptor data from device than it is availableGovindsrajan

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.