-
Notifications
You must be signed in to change notification settings - Fork 1
/
wifi_config_dct.h
76 lines (62 loc) · 2.64 KB
/
wifi_config_dct.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*
* Copyright 2014, Broadcom Corporation
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
* the contents of this file may not be disclosed to third parties, copied
* or duplicated in any form, in whole or in part, without the prior
* written permission of Broadcom Corporation.
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/******************************************************
* Macros
******************************************************/
/******************************************************
* Constants
******************************************************/
/*
* AP settings in this file are stored in the DCT. These
* settings may be overwritten at manufacture when the
* DCT is written with the final production configuration
*/
/* This is the soft AP used for device configuration */
#define CONFIG_AP_SSID "NOT USED FOR THIS APP"
#define CONFIG_AP_PASSPHRASE "NOT USED FOR THIS APP"
#define CONFIG_AP_SECURITY WICED_SECURITY_OPEN
#define CONFIG_AP_CHANNEL 1
#define CONFIG_AP_VALID WICED_FALSE
/* This is the soft AP available for normal operation */
#define SOFT_AP_SSID "hermes"
#define SOFT_AP_PASSPHRASE "electrons"
#define SOFT_AP_SECURITY WICED_SECURITY_WPA2_AES_PSK
#define SOFT_AP_CHANNEL 1
/* This is the default AP the device will connect to (as a client)*/
#define CLIENT_AP_SSID "YOUR_AP_SSID"
#define CLIENT_AP_PASSPHRASE "YOUR_AP_PASSPHRASE"
#define CLIENT_AP_BSS_TYPE WICED_BSS_TYPE_INFRASTRUCTURE
#define CLIENT_AP_SECURITY WICED_SECURITY_WPA2_MIXED_PSK
#define CLIENT_AP_CHANNEL 1
#define CLIENT_AP_BAND WICED_802_11_BAND_2_4GHZ
/* Override default country code */
#define WICED_COUNTRY_CODE WICED_COUNTRY_UNITED_STATES
/******************************************************
* Enumerations
******************************************************/
/******************************************************
* Type Definitions
******************************************************/
/******************************************************
* Structures
******************************************************/
/******************************************************
* Global Variables
******************************************************/
/******************************************************
* Function Declarations
******************************************************/
#ifdef __cplusplus
} /*extern "C" */
#endif