27 lines
485 B
C
27 lines
485 B
C
#ifndef __WIFLY_H__
|
|
#define __WIFLY_H__
|
|
|
|
#include "SpiUart.h"
|
|
|
|
#include "WiFlyDevice.h"
|
|
|
|
#include "WiFlyClient.h"
|
|
#include "WiFlyServer.h"
|
|
|
|
// Join modes
|
|
#define WEP_MODE false
|
|
#define WPA_MODE true
|
|
|
|
// Configuration options
|
|
#define WIFLY_BAUD 1
|
|
|
|
// TODO: Don't make this extern
|
|
// TODO: How/whether to allow sending of arbitrary data/commands over serial?
|
|
// NOTE: Only the WiFly object is intended for external use
|
|
extern SpiUartDevice SpiSerial;
|
|
|
|
extern WiFlyDevice WiFly;
|
|
|
|
#endif
|
|
|