Statistics: Posted by dexterash — Wed Nov 19, 2014 4:28 am
costaud wrote:try this to set baudrate to 115200 bps.Code:
#include "driver/uart_register.h"
void user_init(void)
{
uart_div_modify(0, UART_CLK_FREQ / 115200);
//clear rx and tx fifo,not ready
SET_PERI_REG_MASK(UART_CONF0(0), UART_RXFIFO_RST | UART_TXFIFO_RST);
CLEAR_PERI_REG_MASK(UART_CONF0(0), UART_RXFIFO_RST | UART_TXFIFO_RST);
os_printf("set baudrate to 115200\n\r");
os_printf("SDK version:%d.%d.%d\n", SDK_VERSION_MAJOR, SDK_VERSION_MINOR, SDK_VERSION_REVISION);
Statistics: Posted by costaud — Wed Nov 19, 2014 2:46 am
Code:
#include "driver/uart_register.h"
void user_init(void)
{
uart_div_modify(0, UART_CLK_FREQ / 115200);
//clear rx and tx fifo,not ready
SET_PERI_REG_MASK(UART_CONF0(0), UART_RXFIFO_RST | UART_TXFIFO_RST);
CLEAR_PERI_REG_MASK(UART_CONF0(0), UART_RXFIFO_RST | UART_TXFIFO_RST);
os_printf("set baudrate to 115200\n\r");
os_printf("SDK version:%d.%d.%d\n", SDK_VERSION_MAJOR, SDK_VERSION_MINOR, SDK_VERSION_REVISION);
Statistics: Posted by dexterash — Mon Nov 17, 2014 9:46 pm
tinhead wrote:vowstar wrote:If use this patch, the sniffer interface (promiscuous mode) will have bug.
what a bug? what exactly is not working ?
Statistics: Posted by vowstar — Mon Nov 17, 2014 12:52 pm
vowstar wrote:If use this patch, the sniffer interface (promiscuous mode) will have bug.
Statistics: Posted by tinhead — Mon Nov 17, 2014 1:35 am
Code:
#include "driver/uart_register.h"
void user_init(void)
{
uart_div_modify(0, UART_CLK_FREQ / 115200);
//clear rx and tx fifo,not ready
SET_PERI_REG_MASK(UART_CONF0(0), UART_RXFIFO_RST | UART_TXFIFO_RST);
CLEAR_PERI_REG_MASK(UART_CONF0(0), UART_RXFIFO_RST | UART_TXFIFO_RST);
os_printf("set baudrate to 115200\n\r");
os_printf("SDK version:%d.%d.%d\n", SDK_VERSION_MAJOR, SDK_VERSION_MINOR, SDK_VERSION_REVISION);
#if ESP_PLATFORM
user_esp_platform_init();
#endif
user_devicefind_init();
#ifdef SERVER_SSL_ENABLE
user_webserver_init(SERVER_SSL_PORT);
#else
user_webserver_init(SERVER_PORT);
#endif
}
Code:
rl岒nn瀕nn溾?bp寧lrlrlp騨??lbn鈢?巔?b岒nnl`nr帓抧忪抈p騨?r寽溾?bn鈢靗帋b岒nnn鈢ll帋b岒nnl`nr帓抧b?lr拻nb?l
set baudrate to 115200
SDK version:0.9.2
mode : sta(18:fe:34:97:f5:e8) + softAP(1a:fe:34:97:f5:e8)
add if0
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
Statistics: Posted by costaud — Sun Nov 16, 2014 11:38 pm
Statistics: Posted by tinhead — Sun Nov 16, 2014 9:19 pm
Statistics: Posted by vowstar — Sun Nov 16, 2014 8:45 pm
Statistics: Posted by Roffey — Sat Nov 15, 2014 2:52 am
Statistics: Posted by dexterash — Fri Nov 14, 2014 2:15 am
Statistics: Posted by costaud — Fri Nov 14, 2014 2:10 am
Statistics: Posted by dexterash — Tue Nov 11, 2014 6:26 am
Statistics: Posted by Espressif_Kelly — Fri Oct 31, 2014 11:25 am