SM130.h File Reference

Header file for SM130 library. More...

#include "WProgram.h"

Go to the source code of this file.

Data Structures

class  SM130
 Class representing a SonMicro SM130 RFID module. More...

Defines

#define SIZE_PAYLOAD   18
#define SIZE_PACKET   (SIZE_PAYLOAD + 2)
#define halt   haltTag

Functions

void printArrayAscii (byte array[], byte len)
 Print byte array as ASCII string.
void printArrayHex (byte array[], byte len)
 Print byte array as hexadecimal character pairs.
void printHex (byte val)
 Print byte as two hexadecimal characters.


Detailed Description

Header file for SM130 library.

Author:
Marc Boon <http://www.marcboon.com>
Date:
May 2009

Definition in file SM130.h.


Define Documentation

#define halt   haltTag

Definition at line 16 of file SM130.h.

#define SIZE_PACKET   (SIZE_PAYLOAD + 2)

Definition at line 14 of file SM130.h.

#define SIZE_PAYLOAD   18

Definition at line 13 of file SM130.h.


Function Documentation

void printArrayAscii ( byte  array[],
byte  len 
)

Print byte array as ASCII string.

Non-printable characters (<0x20 or >0x7E) are printed as dot.

Parameters:
array byte array
len length of byte array

Definition at line 488 of file SM130.cpp.

void printArrayHex ( byte  array[],
byte  len 
)

Print byte array as hexadecimal character pairs.

Parameters:
array byte array
len length of byte array

Definition at line 509 of file SM130.cpp.

void printHex ( byte  val  ) 

Print byte as two hexadecimal characters.

Parameters:
val byte value

Definition at line 524 of file SM130.cpp.


Generated on Mon May 11 17:40:05 2009 for SM130 Library by  doxygen 1.5.9