ipgeolocation io Api for espidf.
- Add
https://github.com/bjay-wk/esp32-ipgeolocation-io.git
tolib_deps
inplatformio.ini
. - In the CMakeLists.txt in your root you have to add before project(...):
get_filename_component(configName "${CMAKE_BINARY_DIR}" NAME) FILE(GLOB_RECURSE kconfigs_pio_lib_deps ${CMAKE_SOURCE_DIR}/.pio/libdeps/${configName}/*/Kconfig) list(APPEND kconfigs ${kconfigs_pio_lib_deps})
In src/idf_component.yml
of your project add
esp32-ipgeolocation-io:
git: https://github.com/bjay-wk/esp32-ipgeolocation-io.git
And in src/CMakeLists.txt
of your project
idf_component_register(...
REQUIRES esp32-ipgeolocation-io
...
)
Retreive your API key here
Then in menuconfig copy your key in :
- Component config > Ip Geolocation Io > api key