ESP8266 Developer Zone The Official ESP8266 Forum 2017-04-07T17:03:40+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3505 2017-04-07T17:03:40+08:00 2017-04-07T17:03:40+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3505&p=12084#p12084 <![CDATA[how ESP8266 send data by source code? (not by AT command)]]>
Thank you!
I gave up RTOS SDK and playing with AT commands now. ESP8266 can Tx/Rx data by AT+CIPSTART and AT+CIPSEND.
My request is ESP8266 needs to send "11,!11" when she got the following example input:
---------------------
+IPD,6:deg=11
OK
--------------------

any idea to implement this by changing the source codes? (in user_main.c?)

Statistics: Posted by wolf — Fri Apr 07, 2017 5:03 pm


]]>
2017-04-07T14:37:07+08:00 2017-04-07T14:37:07+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3505&p=12075#p12075 <![CDATA[Re: web server not work after building ESP8266_IOT_PLATFORM]]> Did you try 192.168.4.2/ instead of using the domain name?

Statistics: Posted by Guest — Fri Apr 07, 2017 2:37 pm


]]>
2017-03-29T10:55:23+08:00 2017-03-29T10:55:23+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3505&p=11674#p11674 <![CDATA[web server not work after building ESP8266_IOT_PLATFORM]]>
My web server seems not work after building ESP8266_IOT_PLATFORM and flashing my firmware as below:

-----------------

make[1]: Leaving directory `/data/esp8266/ESP8266_IOT_PLATFORM/libesphttpd'
xtensa-lx106-elf-gcc -L/data/esp8266/ESP8266_RTOS_SDK/lib -Wl,--gc-sections -nostdlib -T/data/esp8266/ESP8266_RTOS_SDK/ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lcirom -lmirom -lgcc -lhal -lphy -lpp -lnet80211 -lcrypto -lwpa -lmain -lfreertos -llwip -lssl -ljson -lsmartconfig -lpwm -L./libesphttpd -lesphttpd -lwebpages-espfs user/.output/eagle/debug/lib/libuser.a driver/.output/eagle/debug/lib/libdriver.a upgrade/.output/eagle/debug/lib/libupgrade.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out

!!!
SDK_PATH: /data/esp8266/ESP8266_RTOS_SDK
BIN_PATH: ./bin

No boot needed.
Generate eagle.flash.bin and eagle.irom0text.bin successully in BIN_PATH
eagle.flash.bin-------->0x00000
eagle.irom0text.bin---->0x20000

------------------------------------------------------

wolf@wolf-pc:/data/esp8266/esp-open-sdk$ python esptool/esptool.py --port /dev/ttyUSB0 chip_id
esptool.py v1.2
Connecting...
Chip ID: 0x00ce2557

wolf@wolf-pc:/data/esp8266/esp-open-sdk$ python esptool/esptool.py --port /dev/ttyUSB0 write_flash --flash_mode qio --flash_size 16m 0x00000 ../ESP8266_IOT_PLATFORM/bin/eagle.flash.bin 0x20000 ../ESP8266_IOT_PLATFORM/bin/eagle.irom0text.bin
esptool.py v1.2
Connecting...
Running Cesanta flasher stub...
Flash params set to 0x0030
Writing 36864 @ 0x0... 36864 (100 %)
Wrote 36864 bytes at 0x0 in 3.2 seconds (92.0 kbit/s)...
Writing 339968 @ 0x20000... 339968 (100 %)
Wrote 339968 bytes at 0x20000 in 29.5 seconds (92.3 kbit/s)...
Leaving...

----------------------------------------------------

My phone connected to ESP8266 SoftAP and got ipaddress 192.168.4.2

But fail to connect the following web site:

Http://esp.nonet/index.html

-------------------------------------------------

my UART output are all HEX codes in attached file(Screenshot from 2017-03-29 10:53:58.png).

Statistics: Posted by wolf — Wed Mar 29, 2017 10:55 am


]]>