Changeset 20247

Show
Ignore:
Timestamp:
05/22/07 08:39:23 (2 years ago)
Author:
aronb
Message:

Fix application data support.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/gadgeteer/plugins/ApplicationDataManager/ApplicationDataServer.cpp

    r20198 r20247  
    5959void ApplicationDataServer::serializeAndSend() 
    6060{ 
    61    // Clear old data and reset the position. 
    62    mDataPacket->getData().clear(); 
    63    mDataPacket->getPacketWriter()->setCurPos(0); 
    64  
    6561   mDataPacket->serialize(*mApplicationData); 
    6662 
    6763   // We must update the size of the actual data that we are going to send 
    6864   mDataPacket->getHeader()->setPacketLength(Header::RIM_PACKET_HEAD_SIZE  
    69                                     + 16 /*Plugin GUID*/ 
    70                                     + 16 /*Plugin GUID*/ 
    7165                                    + mDataPacket->getData().size()); 
    7266