6 years, 2 months ago.

There is not "config.h"!!

I want to use XBee with API mode. I tried to use "XBeeLib" offered by Digi International Inc, but I could not use it. Messages appeared when I import library "XBeeLib" and compile sample code. Message which appeared when I import the library was "Import Warning. Lebrary reference removed(invalid):/jkljkl/XBeeLib/DigiLogger". "jkljkl" is my program name. Message which appeared when I compiled the program was "Cannot open source input file "config.h": No such file or directry "#include "config.h"". I looked for "config.h", but I could not find a correct file. Where is there "config.h"??? Help me!

Question relating to:

Digi's development team! Digi International and Etherios provide the industry’s broadest range of wireless products, a cloud computing platform tailored for devices, and development services to help customers get to …

1 Answer

6 years, 2 months ago.

Hi Tohkatsu,

I would read through the following guide for the XBeeLib library: https://os.mbed.com/teams/Digi-International-Inc/code/XBeeLib/wiki/Example-Common-Setup

This guide links to another page that describes the proper config.h file setup needed for the XBeeLib library (so it looks like you need to create this file yourself): https://os.mbed.com/teams/Digi-International-Inc/code/XBeeLib/wiki/Configuring-the-library

Please let me know if you have any questions!

- Jenny, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!

Accepted Answer

I understood. I will create config.h file by myself. Thank you very much!

posted by Tohkatsu Rikabu 10 Sep 2018