Search found 63 matches

by Zeni241
Wed Feb 17, 2021 6:14 am
Forum: ESP-IDF
Topic: Difference in programming WROVER and WROOM
Replies: 5
Views: 251

Re: Difference in programming WROVER and WROOM

From Datasheet:
External connections can be made to any GPIO except for GPIOs in the range 6-11, 16, or 17. GPIOs 6-11 are connected
to the module’s integrated SPI flash and PSRAM. GPIOs 16 and 17 are connected to the module’s integrated PSRAM
I can't see these pins exposed in modules.
by Zeni241
Tue Feb 16, 2021 12:45 pm
Forum: ESP-IDF
Topic: Difference in programming WROVER and WROOM
Replies: 5
Views: 251

Re: Difference in programming WROVER and WROOM

Thanks dastoned.
you're not using the pins which connect to the PSRAM chip, you're good
That's it? Sounds good. And Which pins connect to the PSRAM chip? I will keep miles away from those :mrgreen:
by Zeni241
Tue Feb 16, 2021 8:47 am
Forum: ESP-IDF
Topic: Difference in programming WROVER and WROOM
Replies: 5
Views: 251

Difference in programming WROVER and WROOM

I have used ESP-IDF for programming WROOM based boards for some time now. Just want to confirm before ordering WROVER modules (which I have never used before), Is there any difference in programming WROVER and WROOM using ESP-IDF?
by Zeni241
Fri Feb 12, 2021 10:37 am
Forum: ESP-IDF
Topic: MQTT problem
Replies: 6
Views: 321

Re: MQTT problem

Never used "emqx.io" broker so cannot be sure. Just a guess, in
mqtt_cfg.uri = "mqtt://broker.emqx.io";
shouldn't it be mqtts:// instead of mqtt://.

Also where are credentials, username, password etc.?
by Zeni241
Fri Nov 27, 2020 7:07 am
Forum: ESP-IDF
Topic: esp_netif_destroy is not working
Replies: 0
Views: 229

esp_netif_destroy is not working

If a user didn't sent correct SSID and PW in first attempt, he resends the credentials and "wifi_init_sta(void)" is executed again. But the second time core panics, most probably the first instance of "esp_netif" is not destroyed. I know "esp_netif_init()" should be fired only once and if firing sec...
by Zeni241
Thu Nov 19, 2020 6:04 am
Forum: ESP-IDF
Topic: How can I change the value of BLE characteristic in the code?
Replies: 1
Views: 329

Re: How can I change the value of BLE characteristic in the code?

Finally I was able to change value of characteristic and also notify to the client. For anyone stuck like me, while following gatt_server_service_table example: I defined characteristic value as : uint8_t char_value[] = "InitialValue"; Added characteristic in the table as follows: [IDX_CHAR_A] = {{E...
by Zeni241
Tue Nov 17, 2020 2:41 pm
Forum: ESP-IDF
Topic: How can I change the value of BLE characteristic in the code?
Replies: 1
Views: 329

How can I change the value of BLE characteristic in the code?

I am following sample of “gatt_server_service_table” at https://github.com/espressif/esp-‎idf/tree/release/v4.1/examples/bluetooth/bluedroid/ble/gatt_server_service_table .‎ My question is how can I change the value of characteristic in the code? I mean if I want to convey ‎changes in temperature va...
by Zeni241
Sat Oct 10, 2020 6:03 am
Forum: ESP-IDF
Topic: Wi-Fi Provisioning example "manager"
Replies: 0
Views: 329

Wi-Fi Provisioning example "manager"

I am working on provisioning example “manager” ( https://github.com/espressif/esp-‎idf/tree/v4.1/examples/provisioning/manager ).‎ On device side I have flashed the above code with security 0 . ‎ On client side I am using “Web Bluetooth API” to interact with device from browser. ‎ I can connect to t...
by Zeni241
Sat Aug 08, 2020 6:20 am
Forum: ESP-IDF
Topic: Using partition label instead of using NULL for .partition_table in esp_vfs_spiffs_conf_t
Replies: 1
Views: 500

Using partition label instead of using NULL for .partition_table in esp_vfs_spiffs_conf_t

I am trying SPIFFS example with “partition label” instead of using NULL for .partition_table in esp_vfs_spiffs_conf_t My spiffs partion is as below in my partition table: storage, data, spiffs, , 0x6000, This is my code: const char *part_label="storage"; void files(void) { ESP_LOGI(TAG, "Initializin...
by Zeni241
Mon Jul 13, 2020 1:17 pm
Forum: ESP-IDF
Topic: ESP32 Websocket Server
Replies: 24
Views: 8188

Re: ESP32 Websocket Server

For two way communication in IoT world, the preferred and most used protocol is MQTT (instead of http). A few desirable features of MQTT are: Small code footprint (to make it easy to implement in small devices) Low power consumption Low bandwidth consumption Low latency Use of a publish/subscribe (“...

Go to advanced search