View Single Post
Old January 14th, 2010   #5
ericthegeek
Task Group Member
 
Join Date: Aug 2008
Posts: 375
Default

You don't have to support SLOT_INFO. But, it's a good PID to have since it helps the controller understand what it's dealing with.

You are limited to 230 bytes in single packet, but you can use the ACK_OVERFLOW mechanism to deliver arbitrarily large responses. With ACK_OVERFLOW, you send as many responses as you can in a single packet, but you replace the ACK with an ACK_OVERFLOW. That tells the controller that there is more data, and it should issue a GET SLOT_INFO again to get the rest of it. You send as many ACK_OVERFLOW packets as you need, and then go back to ACK for the final packet.
ericthegeek is offline   Reply With Quote