Example APP: ESP32 beta TCP Standalone WebServer with Android APP inside!

User avatar
rudi ;-)
Posts: 817
Joined: Fri Nov 13, 2015 3:25 pm
Location: *closed*

Example APP: ESP32 beta TCP Standalone WebServer with Android APP inside!

Postby rudi ;-) » Wed Jan 06, 2016 2:33 pm

Hi gys
..



ESP32 RTOS SDK: 1.1.0(42d074b) compiled @ Dec 18 2015 19:39:49<\r><\n>
SDK version:1.1.0(42d074b)<\r>




attachement is an early beta stadium for your testing with the esp32 beta ( esp31B )

you can download it here:
EDIT: 24 / 30 September 2016
this file is for ESP31
if you want try the TCP Standalone Server for ESP32
( WROOM32, ESP3212, Nano32, Noduino, DevKitC, Devel Board V2, ...)
see the next thread, there is an update for ESP32


ESP31 File:
0x00000_v_0-0-1.bin.zip
(504.97 KiB) Downloaded 265 times


config are:
1MB Flash
26M Crystal
40 MHz SPI Speed
QIO SPI Mode

and the firmware comes with an extra!
there is an Android APP on Flash!
( simply for testing - because we have no much room on beta flash)


Steps:
Download it
unname it from .zip to .bin file
Example Start ESP31 Flash Download Tool V1.0.1
load the file, setup Adress to 0x0, setup com.. start upload.


The firmware is in Original Station Mode
edit:
"Station" is wrong word - i mean Soft AP
noted:
The firmware is in Original Soft AP Mode
And it has 192.168.4.1 as IP with DHCP activated

So no Password is need, connect your Device to the ESP32 beta.
edit: DHCP gives you an IP

If connected, then start Browser, navigate to:

Start/Index/Home

http://192.168.4.1/

You can test GPIO 22 ( Low, High )
http://192.168.4.1/gp0
http://192.168.4.1/gp1

You can test onBoardTemperarure Sensor
http://192.168.4.1/Tempsensor

You can test with an Android Device too.
Surf with your Android Device to the Wifi and connect it.

Navigate http://192.168.4.1
and download by link
or
Navigate directly from
http://192.168.4.1/ESP32AP.apk

After download, install Android APP and open it.
now you can connect to the ESP32 beta by wifi
and you can switch GPIO 22

last but not least:
You can test outputs by connect ESP32 beta on UART and Terminal.
115200

If you have test, navigate to

http://192.168.4.1/AES256

are this welcome?

if yes, then navigate:

http://192.168.4.1/done.htm


;-)

best wishes
rudi ;-)


will upload video too at weekend. the example code comes later too.
and example project will upload to showcase later.
just in time code is trival ( without docu ) and i work at Android APP
for a nice Sensoric Board with ESP32 inside.

let me know, how you get on in this example APP.
what you are say to the download times for the files?
:)
ESP32 is so fast!..


known issues:
favcon, index.tpl and other "ideals" brandmarks just in time not included.
if your browser try to download this, there is no connent on the flash
so click simply abort at browser.

the firmware is not to esphttpd comparison
this firmware is a simple TCP listener with a web and subframe for TestFunction on ESP and
Combine with the Android APK on Flash, ... and this is new way :ugeek:

06 Jan 2016
done!

___________________________________________________________________________________



see the new ESP32 Version..
Last edited by rudi ;-) on Fri Sep 30, 2016 7:12 pm, edited 4 times in total.
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 817
Joined: Fri Nov 13, 2015 3:25 pm
Location: *closed*

Re: Example APP: ESP32 beta TCP Standalone WebServer with Android APP inside!

Postby rudi ;-) » Fri Sep 30, 2016 8:08 am

how to:
YouTube: how you flash and run


Update
ESP32 Version
24 / 30 September 2016



update for ESP32

use the new flash tool 3.4.2 ( windows )
only rename the zip file to bin

ESP32 File
target_0x00000.bin.zip
(778.37 KiB) Downloaded 248 times

load the bin in flash tool like picture
setup address 0x00000
flash it
switch LED on GPIO 18
reboot the Board
connect the Soft AP
.ssid = "WateHadeDuDeDa"
.password = "StandaloneTCPsvr"


this comes later to the repo on github

@staff
happy holidays
greetings.jpg
greetings.jpg (76.41 KiB) Viewed 4443 times


best wishes
rudi ;-)
Attachments
flash_tcp_svr_scr_cpy.jpg
flash_tcp_svr_scr_cpy.jpg (169.23 KiB) Viewed 4450 times
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

testato
Posts: 4
Joined: Sat Dec 05, 2015 9:04 pm

Re: Example APP: ESP32 beta TCP Standalone WebServer with Android APP inside!

Postby testato » Wed Oct 05, 2016 9:32 pm



Hi rudi,
thanks for your work
will you publish the source code of this examples on github ?

User avatar
rudi ;-)
Posts: 817
Joined: Fri Nov 13, 2015 3:25 pm
Location: *closed*

Re: Example APP: ESP32 beta TCP Standalone WebServer with Android APP inside!

Postby rudi ;-) » Fri Oct 14, 2016 12:22 am

testato wrote:


Hi rudi,
thanks for your work
will you publish the source code of this examples on github ?


Hi
i am honest, only perhabs ;-) and if yes, then only a base.
because i do the same in esp8285, esp8266, esp31 and now esp32
i do a little difference like other make http(s) servers and want to use it later in a commercial Gateways/Desk-app with IOs / Android APP inside, the firmware is hold an app inside, and this app is the next base for the next firmware for an authorizate too.
its a little knowledge of "how can do secure update APPS / firmware and the app for mobile and desktop" can save an resource/exe too..and so on.

i mix protocolls, can use AES256 by Code, not need to contact by Web Browser to switch,
can do by Simple Network Transport Protocoll too
and can use secure frame on this messages too "by hand code"
if need or request AES256 example is in demo with picture,

what you want know specific?
perhabs you can build then your own.

best wishes
rudi ;-)

thanks for the "flowers" ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests