forked from mdw123/arduino-dsc
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Orion Intelliscope mode with SkySafari Pro 4.0 works!
- Tested AP mode - Able to configure WiFly board & save settings - Switched from WiFlySerial to WiFly library
- Loading branch information
1 parent
aa4e927
commit 1c4c6b0
Showing
10 changed files
with
424 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef __NETWORK_H__ | ||
#define __NETWORK_H__ | ||
|
||
#include <Flash.h> | ||
#include <AnySerial.h> | ||
#include <WiFly.h> | ||
#include "defaults.h" | ||
|
||
#define PAUSE_DURATION 100 | ||
#define LONG_PAUSE_DURATION 500 | ||
|
||
#define PORT_OPEN "*port opened*" | ||
#define PORT_CLOSE "*port closed*" | ||
#define COMM_SIZE 1420 | ||
#define COMM_TIME_MS 5 | ||
|
||
void wifi_initial_setup(WiFly *, network_settings_t *); | ||
void wifi_configure(WiFly *, network_settings_t *); | ||
void wifi_setup_comms(WiFly *); | ||
void wifi_setup_network(WiFly *, network_settings_t *); | ||
void wifi_setup_wireless(WiFly *, network_settings_t *); | ||
void wifi_get_config(WiFly *, AnySerial *); | ||
|
||
#endif |
Oops, something went wrong.