espressif / esp-hosted

Hosted Solution (Linux/MCU) with ESP32 (Wi-Fi + BT + BLE)
Other
706 stars 169 forks source link

802.11LR mode? #465

Closed kaidegit closed 2 months ago

kaidegit commented 2 months ago

Does the esp-hosted-fg turn on 802.11LR mode? If not, how could I enable it?

mantriyogesh commented 2 months ago

@Dev-Victor-Rodrigues please do not spam.

mantriyogesh commented 2 months ago

@kaidegit , I hope you have gone through LR documentation at https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wifi.html#long-range-lr

While we never have tested this with ESP-Hosted yet, it should be fairly simple to support this with small changes.

Can you please confirm the host is Linux or MCU?

kaidegit commented 2 months ago

MCU.

I think it has no api to control it by MCU, so I should add some into source code?

mantriyogesh commented 2 months ago

If MCU, you can refer https://github.com/espressif/esp-hosted/tree/feature/esp_as_mcu_host

The wifi APIs used are seamless and transparent RPC call, meaning you have full control of wifi APIs.

This branch showcase ESP chipset as host (as example) and another ESP chipset as slave. You can set the LR etc in dual chipset mode (host based model) just similar as you would do on normal native ESP chipset (single chip).

Once you have single chip LR working on ESP chipset, you can expect same example to work on hosted mode.