Freedman v2
Fork of WizFi250Interface by
WizFi250/WizFi250_conf.h@7:ba28fe711055, 2014-11-14 (annotated)
- Committer:
- DongEun Koak
- Date:
- Fri Nov 14 15:27:47 2014 +0900
- Revision:
- 7:ba28fe711055
- Parent:
- 0:f2039204c8f6
- Child:
- 9:12ecb377f63f
Fixed bug in init function of WizFi250.
Removed sendCommand for operating polling in order to wait response.
Fixed some bug.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kaizen | 0:f2039204c8f6 | 1 | /* Copyright (C) 2013 gsfan, MIT License |
kaizen | 0:f2039204c8f6 | 2 | * |
kaizen | 0:f2039204c8f6 | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
kaizen | 0:f2039204c8f6 | 4 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
kaizen | 0:f2039204c8f6 | 5 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
kaizen | 0:f2039204c8f6 | 6 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
kaizen | 0:f2039204c8f6 | 7 | * furnished to do so, subject to the following conditions: |
kaizen | 0:f2039204c8f6 | 8 | * |
kaizen | 0:f2039204c8f6 | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
kaizen | 0:f2039204c8f6 | 10 | * substantial portions of the Software. |
kaizen | 0:f2039204c8f6 | 11 | * |
kaizen | 0:f2039204c8f6 | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
kaizen | 0:f2039204c8f6 | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
kaizen | 0:f2039204c8f6 | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
kaizen | 0:f2039204c8f6 | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
kaizen | 0:f2039204c8f6 | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
kaizen | 0:f2039204c8f6 | 17 | */ |
kaizen | 0:f2039204c8f6 | 18 | /* Copyright (C) 2014 Wiznet, MIT License |
kaizen | 0:f2039204c8f6 | 19 | * port to the Wiznet Module WizFi250 |
kaizen | 0:f2039204c8f6 | 20 | */ |
kaizen | 0:f2039204c8f6 | 21 | |
kaizen | 0:f2039204c8f6 | 22 | #ifndef WIZFI250_CONF_H_ |
kaizen | 0:f2039204c8f6 | 23 | #define WIZFI250_CONF_H_ |
kaizen | 0:f2039204c8f6 | 24 | |
kaizen | 0:f2039204c8f6 | 25 | |
kaizen | 0:f2039204c8f6 | 26 | #define CFG_TRYJOIN 3 |
kaizen | 0:f2039204c8f6 | 27 | |
kaizen | 0:f2039204c8f6 | 28 | |
DongEun Koak | 7:ba28fe711055 | 29 | #define DEFAULT_WAIT_RESP_TIMEOUT 2000 // ms |
DongEun Koak | 7:ba28fe711055 | 30 | #define CFG_JOIN_TIMEOUT 30000 // ms |
kaizen | 0:f2039204c8f6 | 31 | #define CFG_CMD_SIZE 128 |
kaizen | 0:f2039204c8f6 | 32 | |
kaizen | 0:f2039204c8f6 | 33 | #define CFG_DATA_SIZE 512 |
kaizen | 0:f2039204c8f6 | 34 | |
DongEun Koak | 7:ba28fe711055 | 35 | #define CFG_DEFAULT_MAC "00:08:DC:00:00:00" |
DongEun Koak | 7:ba28fe711055 | 36 | |
kaizen | 0:f2039204c8f6 | 37 | |
kaizen | 0:f2039204c8f6 | 38 | #endif /* WIZFI250_CONF_H_ */ |