In file nokialib.c:

Err nokia_SetFrame

(unsigned int datas_length,
  unsigned char type, unsigned char* buffer,
  int seq, unsigned char messnum)

Builds a Nokia frame (header, checksum,) with datas given and sends it or puts it in transmit buffer pool if last frame sent not acknowledged.

Documentation

Builds a Nokia frame (header, checksum,) with datas given and sends it or puts it in transmit buffer pool if last frame sent not acknowledged.

Parameters:
datas_length - length of datas
type - type
buffer - pointer on datas
seq - sequence number. If > 0, frame is numbered and needs acknowledgement, it's put in transmit buffers pool and a timeout is armed (not to be used externaly). If < 0 the frame is sent out of band, no timeout is set
messnum - message number (used when a message span several frames)
Returns:
0 if OK, error code otherwise
See Also:
nokia_SendMessage

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.