-->
Page 25 of 27

Re: Source code changes and samples for new AT+ commands

PostPosted: Wed Dec 10, 2014 5:29 am
by igrr
Well, if i ever do transparent mode, it will support both client and server, because there actually is no real difference. But i haven't seen much use in transparent mode for my own projects, so i'm a bit hesitant to implement it.

Re: Source code changes and samples for new AT+ commands

PostPosted: Sat Dec 13, 2014 8:39 am
by saper_2
garyservin wrote:I've also asked the same question as an issue in the espressif repo on github but couldn't decipher the answer properly


hahaha, I have that often when write to Chinese - they use Google translate frequently (so far I have talked to 3 or 4 Chinese people who used understandable English).

As far I could understand "atdeveloper" he write: when you use server in transparent mode, you can handle only one client connection, so he give you a hint, that you have to limit link number by function espconn_tcp_set_max_con_allow . And you have to remember to restore this value after leaving transparent mode.
Also, if you will create transparent mode you can upload your modified code :)

igrr
So do I.
I don't see a reason for transparent mode for server, this will limit client link count to 1 ...
As for client mode this might not bad idea thought. Entering/leaving client mode could be controlled by one of GPIO pin :)

Re: Source code changes and samples for new AT+ commands

PostPosted: Thu Dec 18, 2014 10:18 am
by pvvx
liblwip_corv2_sdk093

Fix 5 bags.

+ Insert user_init():

if(espconn_tcp_get_max_con()!=5) {
espconn_tcp_set_max_con(5);
system_restart();
}

Re: Source code changes and samples for new AT+ commands

PostPosted: Tue Dec 23, 2014 12:24 pm
by p_k
With regret I find that more than a month no correction of bug related to the occupation of contexts. Obviously I would have to go back to the Chinese AT command version despite its shortcomings in it. Of course iggr is not obligated in any way to support this project free of charge.
Merry Christmas and happy new year 2015!!!