Skip to content

bjay-wk/esp32-ipgeolocation-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp32-ipgeolocation-io

ipgeolocation io Api for espidf.

Loaction by ipgeolocation.io

How to Add to you project

Using platformio

  • Add https://github.com/bjay-wk/esp32-ipgeolocation-io.git to lib_depsin platformio.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})

Using Espidf

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
    ...
)

Run Menuconfig to add you api key

Retreive your API key here

Then in menuconfig copy your key in :

  • Component config > Ip Geolocation Io > api key

About

ipgeolocation io Api for espidf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published