RTOS_MSPM0
1.1
ECE445M starter code
RTOS_Labs_common
WifiSettings.h
1
// WifiSettings.h
2
// Dung Nguyen
3
// Wally Guzman
4
5
// Launchpad or TM4C123
6
#define LAUNCHPAD 1
7
8
// Baudrate for UART connection to ESP8266
9
//#define BAUDRATE 74880 // The ESP first boots with 74880 baud and then switches
10
#define BAUDRATE 115200
11
12
// Return values
13
#define NORESPONSE (-1)
14
#define BADVALUE (-1)
15
#define SUCCESS 1
16
#define FAILURE 0
17
18
enum
Menu_Status {RX=0, TX, CONNECTED};
19
20
// Station or soft access point mode
21
// 0 means regular station, 1 means act as soft AP
22
#define SOFTAP 0
23
24
// Access Point Parameters
25
// #define SSID_NAME "YourAP"
26
// #define PASSKEY "YourPassword"
27
28
#define SSID_NAME "utexas-iot"
29
#define PASSKEY ""
30
31
/* To get the password for the "utexas-iot" network:
32
33
From your PC/laptop:
34
35
Go to https://network.utexas.edu
36
Log in with your UT EID (via UTLogin)
37
Click the "Register Wireless Device" button
38
Enter your device's MAC address and a description, and click the "Register" button
39
Make note of the WPA2 key generated (will be unique for each device you register)
40
41
On your IoT device:
42
43
Select utexas-iot from the available wireless networks
44
Enter the WPA2 key provided to you in step 5 above
45
46
*/
Generated by
1.9.1