Main Page | Data Structures | File List | Data Fields | Globals

cctalk-cl-test.c File Reference


Detailed Description

Test the cctalk channel client interface.

This module will be the frame work to test the cctalk channel client interface for the axis platform.

Author:
Rod Boyce
Date:
22/10/04

#include <stdio.h>
#include <string.h>
#include "cctalk-channel-defs.h"
#include "cctalk-operations.h"
#include "cctalk-channel.h"

Include dependency graph for cctalk-cl-test.c:

Include dependency graph

Functions

void print_hex (unsigned char *abData, int zlen)
 print a buffer is hex and ASCII

int main (void)
 program entry point


Function Documentation

main void   ) 
 

program entry point

Very simple test program to test the cctalk interface. A packet is send on channel A to the cctalk device at adddress 2. The send and received packets are printed out.

Date:
20/10/04
Author:
Rod Boyce
Returns:
0 when the program has finished

History

Here is the call graph for this function:

void print_hex unsigned char *  abData,
int  zlen
[static]
 

print a buffer is hex and ASCII

Given a buffer print the buffer in hex and in ASCII form.

Author:
Rod Boyce
Parameters:
pabData - pointer to the data to be displayed
zlen - the number of bytes to display

History


Generated on Thu Jan 20 16:11:27 2005 for Axis cctalk sub-system by doxygen 1.3.6