ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
1.0
ESP8266ILI9341DisplayProject
|
Go to the source code of this file.
Functions | |
MEMSPACE char * | ipv4_2str (uint32_t ip) |
MEMSPACE void | poll_network_message (window *win) |
void | ntp_setup (void) |
MEMSPACE void | my_receive (void *arg, char *pdata, unsigned short len) |
MEMSPACE void | wifi_event_cb (System_Event_t *event_p) |
WIFI Event Callback. More... | |
MEMSPACE void | setup_networking (void) |
Code fragments if(!wifi_station_dhcpc_stop()) printf( "ERROR wifi_station_dhcpc_stop() \n ");. More... | |
Variables | |
int | network_init |
Definition at line 66 of file network.c.
Referenced by ntp_setup(), and user_loop().
MEMSPACE void my_receive | ( | void * | arg, |
char * | pdata, | ||
unsigned short | len | ||
) |
void ntp_setup | ( | void | ) |
Definition at line 176 of file user_main.c.
Referenced by user_loop().
MEMSPACE void setup_networking | ( | void | ) |
Code fragments if(!wifi_station_dhcpc_stop()) printf( "ERROR wifi_station_dhcpc_stop() \n ");.
if(!wifi_set_ip_info( STATION_IF , &info)) printf( "ERROR wifi_set_ip_info()\n");
if(!wifi_station_connect()) printf( "ERROR wifi_station_connect()\n");
if(!wifi_station_set_auto_connect( TRUE) ) printf("ERROR wifi_station_set_auto_connect(1)\n"); IP4_ADDR( & info.ip , 192 , 168 , 200 , 123); IP4_ADDR( & info.netmask , 255 , 255 , 255 , 0); IP4_ADDR( & info.gw, 192 , 168 , 200 , 1); if(!wifi_set_ip_info( STATION_IF , &info) ) printf( "ERROR wifi_set_ip_info() \n "); if(!wifi_station_set_auto_connect( TRUE) ) printf( "ERROR wifi_station_set_auto_connect(1) \n "); Setup Wifi Network Credits: ideas borrowed from David Ogilvy(MetalPhreak)
Definition at line 165 of file network.c.
Referenced by setup().
MEMSPACE void wifi_event_cb | ( | System_Event_t * | event_p | ) |
WIFI Event Callback.
[in] | *event_p | Wifi event structure This callback status code borrowed from David Ogilvy(MetalPhreak) |
Definition at line 80 of file network.c.
Referenced by setup_networking().
int network_init |
Definition at line 50 of file network.c.
Referenced by ntp_setup(), and wifi_event_cb().