List hardware info about ESP32 chip

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

List hardware info about ESP32 chip

Postby Deouss » Fri May 18, 2018 2:03 pm

I would like to make a small code example that would list hardware information of the ESP module.
For example amount of RAM, type of ram revision of CPU or peripherals, storage information, clock speed etc
I am not sure if device can report status of the battery
Are there any examples, snippets or particular functions?

Thanks

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: List hardware info about ESP32 chip

Postby kolban » Fri May 18, 2018 2:24 pm

Maybe some of these ...

• system_get_time - Get the system time measured in microseconds since last device start-up.
• esp_chip_info - Get information about the chip.
• esp_get_free_heap_size - Get the amount of free heap size.
• esp_get_idf_version - Get the version of the ESP-IDF in use.
• esp_wifi_scan_get_ap_records - Retrieve the access points found in a previous scan.
• esp_wifi_scan_get_ap_num - Retrieve the count of found access points from a previous scan.
• esp_wifi_get_auto_connect - Determine whether or not auto connect at boot is enabled.
• esp_wifi_get_bandwidth - Get the current bandwidth setting.
• esp_wifi_get_channel - Get the current channel.
• esp_wifi_get_config - Retrieve the current connection information associated with the specified WiFi interface.
• esp_wifi_get_country - Retrieve the currently configured WiFi country.
• esp_wifi_get_mac - Retrieve the current MAC address for the interface.
• esp_wifi_get_mode - Get the WiFi operating mode.
• esp_wifi_get_promiscuous
• esp_wifi_get_protocol - Get the 802.11 protocol (b/g/n).
• esp_wifi_get_ps - Get the power save type.
• esp_wifi_get_station_list - Get the list of stations connected to ESP32 when it is behaving as an access point.
• tcpip_adapter_get_ip_info
• tcpip_adapter_get_sta_list
• tcpip_adapter_get_wifi_if
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Re: List hardware info about ESP32 chip

Postby Deouss » Fri May 18, 2018 4:02 pm

Beautiful! Thank you!

Who is online

Users browsing this forum: Baidu [Spider] and 79 guests