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
List hardware info about ESP32 chip
Re: List hardware info about ESP32 chip
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
• 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
Re: List hardware info about ESP32 chip
Beautiful! Thank you!
Who is online
Users browsing this forum: No registered users and 85 guests