//------------------------------------------------------------------------------ // Upload DB0 (surely exists in AG) //------------------------------------------------------------------------------ void UploadDB0() { int Size = sizeof(Buffer); // Size is IN/OUT par // In input it tells the client the size available // In output it tells us how many bytes were uploaded. int res=Cli_Upload(Client, Block_SDB, 0, &Buffer, &Size); if (Check(res,"Block Upload (SDB 0)")) { printf("Dump (%d bytes) :\n",Size); hexdump(&Buffer,Size); } }
//--------------------------------------------------------------------------- int TS7Client::Upload(int BlockType, int BlockNum, void *pUsrData, int *Size) { return Cli_Upload(Client, BlockType, BlockNum, pUsrData, Size); }