mos/com/include/udp.h File Reference

Mac layer built on top of udp datagram sockets. More...

#include "com.h"

Go to the source code of this file.

Defines

#define DEFAULT_IP_ADDR   "255.255.255.255"
#define MANTIS_PORT   5000

Functions

uint8_t udp_init ()
 udp init function.
uint8_t udp_send (comBuf *buf)
 udp send function.
uint8_t udp_mode (uint8_t mode)
 udp mode function.
uint8_t udp_ioctl (uint8_t request, va_list ap)
 Not implemented.


Detailed Description

Broadcasts messages to a well known port where the receiver would be. This only supports a single receiver right now...
Author:
Jeff Rose
Date:
02/01/2004

Definition in file udp.h.


Function Documentation

uint8_t udp_ioctl uint8_t  request,
va_list  ap
 

Generic control function for doing things like changing the properties of the serial connection etc...

uint8_t udp_mode uint8_t  mode  ) 
 

Parameters:
mode Mode

uint8_t udp_send comBuf buf  ) 
 

Parameters:
buf Buffer to use


Generated on Mon Nov 23 06:25:59 2009 for MANTIS by  doxygen 1.4.6