Lab_interaccio/2012/Edgard/Vdossier01/WiFly/WiFly.h

27 lines
485 B
C
Raw Permalink Normal View History

2025-02-25 21:29:42 +01:00
#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