ESP8266 Developer Zone The Official ESP8266 Forum 2017-04-14T17:29:16+08:00 https://bbs.espressif.com:443/feed.php?f=66&t=3420 2017-04-14T17:29:16+08:00 2017-04-14T17:29:16+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3420&p=12309#p12309 <![CDATA[Re: FreeRTOS, unable to data transfer between stations in the soft-AP mode]]>
ESP8266_RTOS_SDK does not have this feature now, sorry for the inconvenience.

STA1 <-> ESP8266 softAP <-> STA2
STA1 and STA2 can not communicate with each other in ESP8266_RTOS_SDK right now, but ESP8266_NONOS_SDK can.

We will add this feature in ESP8266_RTOS_SDK in the future. And we will let you know if there is any update.

Thanks for your interest in ESP8266!

Statistics: Posted by ESP_Faye — Fri Apr 14, 2017 5:29 pm


]]>
2017-04-09T23:51:03+08:00 2017-04-09T23:51:03+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3420&p=12153#p12153 <![CDATA[Re: FreeRTOS, unable to data transfer between stations in the soft-AP mode]]> Statistics: Posted by stas1727 — Sun Apr 09, 2017 11:51 pm


]]>
2017-04-06T10:21:45+08:00 2017-04-06T10:21:45+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3420&p=12032#p12032 <![CDATA[Re: FreeRTOS, unable to data transfer between stations in the soft-AP mode]]> https://github.com/espressif/ESP8266_RTOS_SDK?

Statistics: Posted by Her Mary — Thu Apr 06, 2017 10:21 am


]]>
2017-03-28T21:39:57+08:00 2017-03-28T21:39:57+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3420&p=11648#p11648 <![CDATA[Re: FreeRTOS, unable to data transfer between stations in the soft-AP mode]]>
ESP_Faye wrote:
Hi,

What do you mean about "stations can't talk each other"? Is it UDP transmission? Is it broadcast?

Hello,
UDP unicast transmission.

Statistics: Posted by stas1727 — Tue Mar 28, 2017 9:39 pm


]]>
2017-03-22T14:03:10+08:00 2017-03-22T14:03:10+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3420&p=11543#p11543 <![CDATA[Re: FreeRTOS, unable to data transfer between stations in the soft-AP mode]]>
What do you mean about "stations can't talk each other"? Is it UDP transmission? Is it broadcast?

Thanks for your interest in ESP8266!

Statistics: Posted by ESP_Faye — Wed Mar 22, 2017 2:03 pm


]]>
2017-03-10T19:29:26+08:00 2017-03-10T19:29:26+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3420&p=11472#p11472 <![CDATA[FreeRTOS, unable to data transfer between stations in the soft-AP mode]]> I want to connect 3 ESP boards in station mode to the ESP board in AP mode. And connect from linux to the ESP AP board too.
Testing this configuration I've found that stations can't talk each other, only to AP.

If I run simple Arduino sketch on AP board, all stations can talk each other.

FreeRTOS minimal code:

Code:

#define UDP_SERVER_AP_NAME "TEST-AP"
#define UDP_SERVER_AP_PASWORD "TEST-AP-PASS0001"

void user_init(void) {
    wifi_set_opmode(SOFTAP_MODE);

    struct softap_config* config = (struct softap_config*) zalloc(sizeof(struct softap_config));
    sprintf((char*) config->ssid, UDP_SERVER_AP_NAME);
    sprintf((char*) config->password, UDP_SERVER_AP_PASWORD);
    config->authmode = AUTH_WPA_WPA2_PSK;
    config->ssid_len = 0;
    config->max_connection = 4;

    wifi_softap_set_config(config);
}


Arduino sketch:

Code:

void setup() {
    pinMode(LED_PIN, OUTPUT);     // set pin as output

    Serial.begin(115200);
    Serial.println();

    Serial.print("Setting soft-AP configuration ... ");
    Serial.println(WiFi.softAPConfig(local_IP, gateway, subnet) ? "Ready" : "Failed!");

    Serial.print("Setting soft-AP ... ");
    Serial.println(WiFi.softAP("TEST-AP", "TEST-AP-PASS0001") ? "Ready" : "Failed!");

    Serial.print("Soft-AP IP address = ");
    Serial.println(WiFi.softAPIP());
}

void loop() {
    digitalWrite(LED_PIN, HIGH);  // set the LED on
    delay(1000);                  // wait for a second
    digitalWrite(LED_PIN, LOW);   // set the LED off
    delay(1000);                  // wait for a second
}

Statistics: Posted by stas1727 — Fri Mar 10, 2017 7:29 pm


]]>