Extending the X_NUCLEO_IDW01M1 to allow configuration of the board as an access point
Dependents: X_NUCLEO_IDW01M1_AP_Test
Fork of X_NUCLEO_IDW01M1 by
Spwf/inc/wifi_driver.h@22:a1276b7d3b2d, 2016-07-07 (annotated)
- Committer:
- scsims
- Date:
- Thu Jul 07 13:54:06 2016 +0000
- Revision:
- 22:a1276b7d3b2d
- Parent:
- 8:0f302a13e21b
Added wifi_connected_to_ap extern to indicate when BSSS beacons have been lost/picked up. Also added some debugging to get a better idea as to what's going to and from the SPWF01SA.11 over the UART
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mridup | 0:dc55f40eb04f | 1 | |
mridup | 0:dc55f40eb04f | 2 | #include "wifi_module.h" |
mridup | 0:dc55f40eb04f | 3 | |
mridup | 0:dc55f40eb04f | 4 | extern volatile Wifi_Status_Var status_flag; |
mridup | 0:dc55f40eb04f | 5 | |
mridup | 0:dc55f40eb04f | 6 | extern wifi_bool Uartx_Rx_Processing; |
mridup | 0:dc55f40eb04f | 7 | extern buffer_td big_buff; |
mridup | 0:dc55f40eb04f | 8 | extern wifi_bool resume_receive_data; |
mridup | 0:dc55f40eb04f | 9 | extern wifi_bool AT_Cmd_Processing; |
mridup | 0:dc55f40eb04f | 10 | extern WiFi_AT_CMD_Response_t WiFi_Module_State; |
mridup | 0:dc55f40eb04f | 11 | extern volatile WiFi_WIND_State_TypeDef WiFi_WIND_State; |
mridup | 0:dc55f40eb04f | 12 | extern volatile uint8_t wifi_connected; |
mridup | 6:e7a3fca2df10 | 13 | extern volatile uint32_t WIND64_count; |
mridup | 6:e7a3fca2df10 | 14 | extern volatile uint8_t wifi_client_connected; |
mridup | 0:dc55f40eb04f | 15 | extern wifi_bool WiFi_Enabled; |
mridup | 0:dc55f40eb04f | 16 | extern wifi_bool Standby_Enabled; |
mridup | 0:dc55f40eb04f | 17 | extern wifi_bool Deep_Sleep_Enabled; |
mridup | 8:0f302a13e21b | 18 | extern int write_size; |
mridup | 0:dc55f40eb04f | 19 | extern uint8_t WiFi_AT_Cmd_Buff[]; |
mridup | 0:dc55f40eb04f | 20 | |
mridup | 0:dc55f40eb04f | 21 | extern void callSpwfSADevice_init(void* object); |
mridup | 0:dc55f40eb04f | 22 | extern char callSpwfSADevice_getChar(void* object); |
mridup | 8:0f302a13e21b | 23 | extern int callSpwfSADevice_write(void* object, const char * cmd, uint16_t size); |
mridup | 0:dc55f40eb04f | 24 | extern void callSpwfSADevice_wakeup(void* object, int wake); |
mridup | 0:dc55f40eb04f | 25 | extern void callSpwfSADevice_reset(void* object, int reset); |
mridup | 0:dc55f40eb04f | 26 | extern void callSpwfSADevice_rts(void* object, int rts); |
mridup | 0:dc55f40eb04f | 27 | extern void callSpwfSADevice_attach(wifi_bool attach); |
mridup | 0:dc55f40eb04f | 28 | extern void callSpwfSADevice_debug(void* object, const char * string); |
mridup | 0:dc55f40eb04f | 29 | extern void destroySpwfSADevice(void); |
mridup | 0:dc55f40eb04f | 30 | extern int callSpwfSADevice_read_rts(void* object); |
mridup | 0:dc55f40eb04f | 31 | |
mridup | 0:dc55f40eb04f | 32 | extern void Stop_Timer(void); |
mridup | 0:dc55f40eb04f | 33 | extern void Start_Timer(void); |
mridup | 0:dc55f40eb04f | 34 | |
mridup | 0:dc55f40eb04f | 35 | extern void Wifi_TIM_Handler(void); |
mridup | 0:dc55f40eb04f | 36 | extern void Wifi_SysTick_Isr(void); |
mridup | 0:dc55f40eb04f | 37 | |
mridup | 0:dc55f40eb04f | 38 | void *spwf_dev; |
mridup | 0:dc55f40eb04f | 39 | |
mridup | 0:dc55f40eb04f | 40 | void Wifi_scheduler(void); |
mridup | 0:dc55f40eb04f | 41 | void Rx_irq_handler(void); |
mridup | 0:dc55f40eb04f | 42 | void Wifi_ticker(void); |
mridup | 0:dc55f40eb04f | 43 |