Search found 124 matches

by rsimpsonbusa
Fri Oct 26, 2018 10:28 pm
Forum: General Discussion
Topic: Sockets with APSTA mode
Replies: 4
Views: 6632

Sockets with APSTA mode

Hi everybody. I have an ESP32 that works as an AP and STA (APSTA mode). I can send UDP messages to specific addresses, say internal AP address like 192.168.4.2, etc and 192.168.100.2 another IP in the wifi network(external AP). Both work well. The problem is that when I send as MULTICAST message, 23...
by rsimpsonbusa
Wed Oct 24, 2018 12:34 am
Forum: General Discussion
Topic: ESP32 AP Max Stations
Replies: 0
Views: 2348

ESP32 AP Max Stations

Hi Everybody. To make a CATEGORIC ASSERTION, we can have a lot of Stations when setting an ESP32 to AP mode. Just set the wifi_config_t.ap.max_connection=>4; . In my case I set it to 10 but have only 8 ESP32. Tested this with a UDP_Multicast Modified Example, were a Server (AP) sends and receives Mu...
by rsimpsonbusa
Tue Oct 23, 2018 2:05 pm
Forum: General Discussion
Topic: ESP32 UDP Multicast failure
Replies: 4
Views: 6102

Re: ESP32 UDP Multicast failure

For the benefit of clarity,

esp_wifi_set_ps(WIFI_PS_NONE);

in the InitWiFi setup routine in both the Client and Server.
by rsimpsonbusa
Tue Oct 23, 2018 1:51 pm
Forum: General Discussion
Topic: ESP32 UDP Multicast failure
Replies: 4
Views: 6102

Re: ESP32 UDP Multicast failure

Hi Esp_igrr:

Spot On!!!!. Works like a charm now. Not going to ask why :D just happy it works.

Regards
by rsimpsonbusa
Mon Oct 22, 2018 11:29 pm
Forum: General Discussion
Topic: ESP32 UDP Multicast failure
Replies: 4
Views: 6102

ESP32 UDP Multicast failure

Hi everybody. Using the esp-idf/example/protocols/udp_multicast example and making simple mods I have a ServerESP32(is set as AP) and a ClientESP32(set as a STA connected to the Other ESP32). A multicast message from the client to the server is received without any losses, but sending a message from...
by rsimpsonbusa
Tue Oct 16, 2018 11:27 pm
Forum: ESP-MDF
Topic: Newbie Mesh
Replies: 2
Views: 6934

Re: Newbie Mesh

Ill answer myself. With post viewtopic.php?f=21&t=5714 the answer is Yes but very elaborate. the ROOT can not get to a leaf, so ROOT is not a dispatcher/controller.

RSN
by rsimpsonbusa
Tue Oct 16, 2018 11:17 pm
Forum: ESP-MDF
Topic: Newbie Mesh
Replies: 2
Views: 6934

Newbie Mesh

Hi guys, new to Mesh but years with ESPs (Arduino and esp-idf, ESP8266 and ESP32). One general question regarding ESP32 mesh network that after reading a lot still can not seem to grasp completely(typical newbie :D ). Can we communicate, and how, between different nodes-leaves or "everything" has to...
by rsimpsonbusa
Thu Sep 06, 2018 12:38 am
Forum: General Discussion
Topic: Doesn't work VSPI and I2C at same time.
Replies: 3
Views: 6544

Re: Doesn't work VSPI and I2C at same time.

Hi akiro.matsuda. I ALMOST have the same config. In a define.h include file I have #define FMOSI 23 #define FMISO 19 #define FCLK 18 #define FCS 5 vs your gpio_num_t sclk = GPIO_NUM_18; --same gpio_num_t miso = GPIO_NUM_23; -- actually mosi gpio_num_t mosi = GPIO_NUM_19; -- actually miso gpio_num_t ...
by rsimpsonbusa
Fri Aug 03, 2018 1:27 am
Forum: General Discussion
Topic: SPI Queue Execution Order
Replies: 5
Views: 7316

Re: SPI Queue Execution Order

Hi ESP_Sprite. Had the SPI driver in Half Duplex since 1 year or more ago due to the, at that time, "unknown reason" for read corruption. Now read the new 3.0 Docs and it "kinda" tells the reason for the apparent read error, MISO delay. Now I have the SPI device in IOMUX pins, and tested it with a 4...
by rsimpsonbusa
Thu Aug 02, 2018 1:30 pm
Forum: General Discussion
Topic: SPI Queue Execution Order
Replies: 5
Views: 7316

Re: SPI Queue Execution Order

Thanks ESP_Sprite