im_receive_buffer
4-37
4
Notes
This function does not return until an end of message, a buffer is full, a
timeout occurs or an error occurs. If no EOM character is defined, the
function returns after a character is received.
See Also
im_receive_field, im_transmit_buffer
Example
/********************* im_receive_buffer *****************************/
#include <string.h>
#include <conio.h>
#include "stdio.h"
#include "im209x.h"
void main ( void )
{
char szRxBuffer[1024];
IM_STATUS iStatus;
IM_USHORT iCommLength;
im_clear_screen();
iStatus = im_receive_buffer ( IM_NETUDP, 1024, szRxBuffer, 10000L, &iCommLength );
if(iStatus == IM_SUCCESS)
printf("\nData Receive: %s, Length: %u\n", szRxBuffer, iCommLength);
else
{
printf("\nReceive Buffer Err:\nStatus Code#: %x\n", iStatus);
im_message(iStatus);
}
getch();
}
Summary of Contents for Trakker T2090
Page 1: ...TRAKKER T2090Batch Hand HeldComputer P N 067212 003 User s Manual ...
Page 4: ......
Page 14: ......
Page 19: ...Getting Started 1 ...
Page 20: ......
Page 33: ...User Interface 2 ...
Page 34: ......
Page 55: ...Application Development 3 ...
Page 56: ......
Page 61: ...Application Functions 4 ...
Page 62: ......
Page 127: ...Reader Command Reference 5 ...
Page 128: ......
Page 145: ...Configuration Command Reference 6 ...
Page 146: ......
Page 187: ...BIOS Support 7 ...
Page 188: ......
Page 205: ...Hardware Specifications 8 ...
Page 206: ......
Page 212: ......
Page 213: ...Demo Software A ...
Page 214: ......
Page 230: ......
Page 231: ...Microsoft Visual C C Settings B ...
Page 232: ......
Page 237: ...Full ASCII Charts C ...
Page 238: ......