Statistics: Posted by ESP_Faye — Tue May 31, 2016 9:34 am
Statistics: Posted by anszom — Sat Apr 23, 2016 4:30 pm
Statistics: Posted by ESP_Faye — Tue Feb 02, 2016 11:51 am
Code:
#include "ets_sys.h"
#include "osapi.h"
#include "user_interface.h"
void user_init() {
// wifi_set_opmode_current(STATION_MODE);
wifi_set_opmode_current(SOFTAP_MODE);
uart_div_modify(0, UART_CLK_FREQ / 115200);
gpio_init();
uint32_t io_info[1][3] = {
{PERIPHS_IO_MUX_MTCK_U,FUNC_GPIO13,13},
};
uint32_t duty[1] = {500};
pwm_init(1000, duty,1,io_info);
pwm_start();
}
�lrl�mode : softAP(1a:fe:34:9f:da:75)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
ets Jan 8 2013,rst cause:4, boot mode:(3,0)
wdt reset
load 0x40100000, len 27336, room 16
tail 8
chksum 0x9f
load 0x3ffe8000, len 904, room 0
tail 8
chksum 0x5f
load 0x3ffe8388, len 244, room 0
tail 4
chksum 0x7d
csum 0x7d
rl�mode : softAP(1a:fe:34:9f:da:75)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
ets Jan 8 2013,rst cause:4, boot mode:(3,0)
wdt reset
load 0x40100000, len 27336, room 16
tail 8
chksum 0x9f
load 0x3ffe8000, len 904, room 0
tail 8
chksum 0x5f
load 0x3ffe8388, len 244, room 0
tail 4
chksum 0x7d
csum 0x7d
rl�mode : softAP(1a:fe:34:9f:da:75)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
Code:
#include "ets_sys.h"
#include "osapi.h"
#include "user_interface.h"
void user_init() {
wifi_set_opmode_current(STATION_MODE);
// wifi_set_opmode_current(SOFTAP_MODE);
uart_div_modify(0, UART_CLK_FREQ / 115200);
gpio_init();
uint32_t io_info[1][3] = {
{PERIPHS_IO_MUX_MTCK_U,FUNC_GPIO13,13},
};
uint32_t duty[1] = {500};
pwm_init(1000, duty,1,io_info);
pwm_start();
}
�l�lrl�mode : sta(18:fe:34:9f:da:75)
add if0
ets Jan 8 2013,rst cause:4, boot mode:(3,0)
wdt reset
load 0x40100000, len 27336, room 16
tail 8
chksum 0x9c
load 0x3ffe8000, len 904, room 0
tail 8
chksum 0x5c
load 0x3ffe8388, len 244, room 0
tail 4
chksum 0x7e
csum 0x7e
rl�mode : sta(18:fe:34:9f:da:75)
add if0
ets Jan 8 2013,rst cause:4, boot mode:(3,0)
wdt reset
load 0x40100000, len 27336, room 16
tail 8
chksum 0x9c
load 0x3ffe8000, len 904, room 0
tail 8
chksum 0x5c
load 0x3ffe8388, len 244, room 0
tail 4
chksum 0x7e
csum 0x7e
rl�mode : sta(18:fe:34:9f:da:75)
add if0
Code:
#include "ets_sys.h"
#include "osapi.h"
#include "user_interface.h"
void user_init() {
// wifi_set_opmode_current(STATION_MODE);
// wifi_set_opmode_current(SOFTAP_MODE);
uart_div_modify(0, UART_CLK_FREQ / 115200);
gpio_init();
uint32_t io_info[1][3] = {
{PERIPHS_IO_MUX_MTCK_U,FUNC_GPIO13,13},
};
uint32_t duty[1] = {500};
pwm_init(1000, duty,1,io_info);
pwm_start();
}
r��`rlmode : softAP(1a:fe:34:9f:da:75)
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 snapdan — Sun Jan 31, 2016 3:23 am
Statistics: Posted by ESP_Faye — Thu Jan 28, 2016 12:10 pm
Code:
#include "ets_sys.h"
#include "osapi.h"
#include "user_interface.h"
void show_mac (void) {
unsigned char mac[6];
// wifi_get_macaddr ( STATION_IF, mac );
// os_printf ( "MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
// mac[0], mac[1], mac[2], mac[3], mac[4], mac[5] );
}
void user_init() {
uart_div_modify(0, UART_CLK_FREQ / 115200);
gpio_init();
uint32_t io_info[1][3] = {
{PERIPHS_IO_MUX_MTCK_U,FUNC_GPIO13,13},
};
uint32_t duty[1] = {500};
pwm_init(1000, duty,1,io_info);
pwm_start();
// show_mac ();
}
r��`rlmode : sta(18:fe:34:9f:da:75) + softAP(1a:fe:34:9f:da:75)
add if0
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
f r0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt
connected with MuseumWorst, channel 5
dhcp client start...
ip:192.168.1.81,mask:255.255.255.0,gw:192.168.1.254
Code:
#include "ets_sys.h"
#include "osapi.h"
#include "user_interface.h"
void show_mac (void) {
unsigned char mac[6];
wifi_get_macaddr ( STATION_IF, mac );
// os_printf ( "MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
// mac[0], mac[1], mac[2], mac[3], mac[4], mac[5] );
}
void user_init() {
uart_div_modify(0, UART_CLK_FREQ / 115200);
gpio_init();
uint32_t io_info[1][3] = {
{PERIPHS_IO_MUX_MTCK_U,FUNC_GPIO13,13},
};
uint32_t duty[1] = {500};
pwm_init(1000, duty,1,io_info);
pwm_start();
// show_mac ();
}
b��`rlmode : sta(18:fe:34:9f:da:75) + softAP(1a:fe:34:9f:da:75)
add if0
add if1
dhcp server start:(ip:192.
ets Jan 8 2013,rst cause:4, boot mode:(3,0)
wdt reset
load 0x40100000, len 27360, room 16
tail 0
chksum 0x5d
load 0x3ffe8000, len 904, room 8
tail 0
chksum 0x9d
load 0x3ffe8388, len 244, room 8
tail 12
chksum 0xbf
csum 0xbf
rlmode : sta(18:fe:34:9f:da:75) + softAP(1a:fe:34:9f:da:75)
add if0
add if1
dhcp server start:(ip:192.
ets Jan 8 2013,rst cause:4, boot mode:(3,0)
wdt reset
load 0x40100000, len 27360, room 16
tail 0
chksum 0x5d
load 0x3ffe8000, len 904, room 8
tail 0
chksum 0x9d
load 0x3ffe8388, len 244, room 8
tail 12
chksum 0xbf
csum 0xbf
rlmode : sta(18:fe:34:9f:da:75) + softAP(1a:fe:34:9f:da:75)
add if0
add if1
dhcp server start:(ip:192.
Statistics: Posted by snapdan — Tue Jan 26, 2016 9:38 am
Statistics: Posted by ESP_Faye — Mon Jan 25, 2016 5:00 pm
Code:
#include "ets_sys.h"
#include "osapi.h"
#include "user_interface.h"
void show_mac (void) {
unsigned char mac[6];
// wifi_get_macaddr ( STATION_IF, mac );
// os_printf ( "MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
// mac[0], mac[1], mac[2], mac[3], mac[4], mac[5] );
}
void user_init() {
uart_div_modify(0, UART_CLK_FREQ / 115200);
gpio_init();
uint32_t io_info[1][3] = {
{PERIPHS_IO_MUX_MTCK_U,FUNC_GPIO13,13},
};
uint32_t duty[1] = {500};
pwm_init(1000, duty,1,io_info);
pwm_start();
// show_mac ();
}
Code:
#include "ets_sys.h"
#include "osapi.h"
#include "user_interface.h"
void show_mac (void) {
unsigned char mac[6];
wifi_get_macaddr ( STATION_IF, mac );
// os_printf ( "MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
// mac[0], mac[1], mac[2], mac[3], mac[4], mac[5] );
}
void user_init() {
uart_div_modify(0, UART_CLK_FREQ / 115200);
gpio_init();
uint32_t io_info[1][3] = {
{PERIPHS_IO_MUX_MTCK_U,FUNC_GPIO13,13},
};
uint32_t duty[1] = {500};
pwm_init(1000, duty,1,io_info);
pwm_start();
// show_mac ();
}
ets Jan 8 2013,rst cause:4, boot mode:(1,0)
wdt reset
Code:
# Makefile for older versions (<1.0) of Espressif "AT" firmware
CC = xtensa-lx106-elf-gcc
CFLAGS = -I. -mlongcalls
LDLIBS = -nostdlib -Wl,--start-group -lmain -lupgrade -lnet80211 -lwpa -llwip -lpp -lphy -Wl,--end-group -lcirom -lgcc -lpwm
LDFLAGS = -Teagle.app.v6.ld
malarm-0x00000.bin: malarm
esptool.py elf2image $^
malarm: malarm.o
$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)
malarm.o: malarm.c
flash: malarm-0x00000.bin
esptool.py write_flash 0 malarm-0x00000.bin 0x40000 malarm-0x40000.bin
connect:
picocom -b 115200 --omap crcrlf /dev/ttyUSB0
Statistics: Posted by snapdan — Sun Jan 24, 2016 9:36 am