esp_wifi_repeater icon indicating copy to clipboard operation
esp_wifi_repeater copied to clipboard

Disabling transmission to the STA

Open skopusdotorg opened this issue 4 years ago • 3 comments

Hi Is there a way to disable only transmission to the STA? Imagine the ESP is connected to a modem which has access to internet and there is a phone connected to the ESP board. Is there way to only disable transmitting the received data from the phone to the modem yet letting the phone receive data from the modem? Thank you Martin

skopusdotorg avatar Sep 27 '20 20:09 skopusdotorg

You can do this using the ACLs, but prohibiting any packet from the phone to the internet won't work as you might expect: all TCP connections (including HTTP and MQTT) require bi-directional traffic (for connection establishment and ACKs later), even if data is only transmitted in one direction.

martin-ger avatar Sep 27 '20 21:09 martin-ger

Thank you for replying so fast. Really appreciate it. What about set upstream_kbps bitrate and set downstream_kbps bitrate? If my understanding is correct these are basically the send and receive speed of esp. Can we use an extremely low value to almost stop the transmission in one direction?

skopusdotorg avatar Sep 27 '20 21:09 skopusdotorg

Never tested that for that purpose, but yes, that could be an option.

martin-ger avatar Sep 28 '20 06:09 martin-ger