⚠️ Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
我有项目以类似的方式和配置was able to compile it correctly. I think the issue exists in adding the headers to the project. Please try adding the necessary header files again (if possible repeat the steps with a fresh copy) and that should solve the issue. If it still persists, upload your project to this thread, so that we can reproduce and narrow down on the issue.
I have reviewed the project you have uploaded. So in your project I have noticed you have included all your header files in project settings.
Coming to the actual issue, if you look at theapp_easy_timer.csource file, there is a conditional inclusion#if (BLE_APP_PRESENT)which is currently excluding all the definitions for functions declared inapp_easy_timer.h. Please look at the snipped shared below. So you have to provide the definition for this flag before you can actually use the functions provided or write your own definition to this function (say to test). Review this solution and let us know if the problem is solved.
Well if i define BLE_APP_PRESENT it brings up more errors; I think i need to use da1458x_config_basic.h. But including it in my test program does nothing. There are about 30 different defines missing relating to BLE. Writing my own definition doesn't work either because it will have to include the same files which are giving the error. I am missing some settings I think for this project (using blinky as base project). Is there a document i can read where I can find out how does "da1458x_config_basic.h" and other files in "user_config" folder works.
For now I have abandoned the blinky project and using a copy of prox_reporter project as base for testing my app implementations and its working in that.
Just curious is there a way to use/test app_easy api in simple projects like blinky, because it can be helpful to new developer in trying out stuff.
The peripheral projects are intended for some basic understanding of the platform and sdk. As you have observed writing your own definition is going to be expensive and it is advised to use one of the projects from BLE examples for implementing the concepts involving the BLE core features (say timers etc.,). You can refer to these links for a breif understanding of the SDK organization.
Also, there are ways to work with these api's in peripheral projects, but, as I said will need serious amount of work. And coming to test project, I went though the project you have uploaded verifying all the details to narrow down on the cause. So, I do not have a specific test project. However, if you are having any complications working with the BLE example projects, please let us know and I can guide you through the process.
Hi mutahir,
Is the app_easy_timer.h file included in your file and is the app_easy_timer.c file in your project ?
Thanks MT_dialog
yes both the header file is included and the c file is in project. here is a screen shot for the project and the associated error:
Hello Mutahir,
我有项目以类似的方式和配置was able to compile it correctly. I think the issue exists in adding the headers to the project. Please try adding the necessary header files again (if possible repeat the steps with a fresh copy) and that should solve the issue. If it still persists, upload your project to this thread, so that we can reproduce and narrow down on the issue.
Thanks
LC_Dialog
Hi LC_dialog,
I did a fresh copy and double checked the include chain. everything seems to be in order. Attaching the project below
Thanks and Regards,
Mutahir
Hello Mutahir,
I have reviewed the project you have uploaded. So in your project I have noticed you have included all your header files in project settings.
Coming to the actual issue, if you look at theapp_easy_timer.csource file, there is a conditional inclusion#if (BLE_APP_PRESENT)which is currently excluding all the definitions for functions declared inapp_easy_timer.h. Please look at the snipped shared below. So you have to provide the definition for this flag before you can actually use the functions provided or write your own definition to this function (say to test). Review this solution and let us know if the problem is solved.
HI LC_dialog,
Well if i define BLE_APP_PRESENT it brings up more errors; I think i need to use da1458x_config_basic.h. But including it in my test program does nothing. There are about 30 different defines missing relating to BLE. Writing my own definition doesn't work either because it will have to include the same files which are giving the error. I am missing some settings I think for this project (using blinky as base project). Is there a document i can read where I can find out how does "da1458x_config_basic.h" and other files in "user_config" folder works.
For now I have abandoned the blinky project and using a copy of prox_reporter project as base for testing my app implementations and its working in that.
Just curious is there a way to use/test app_easy api in simple projects like blinky, because it can be helpful to new developer in trying out stuff.
Thanks for you replies.
Regards,
Mutahir
also can i request your test project to see where and how i got it wrong on my own time.
Thanks and Regards,
Mutahir
Hi Mutahir,
The peripheral projects are intended for some basic understanding of the platform and sdk. As you have observed writing your own definition is going to be expensive and it is advised to use one of the projects from BLE examples for implementing the concepts involving the BLE core features (say timers etc.,). You can refer to these links for a breif understanding of the SDK organization.
这些有助于你的理解SDK.
Also, there are ways to work with these api's in peripheral projects, but, as I said will need serious amount of work. And coming to test project, I went though the project you have uploaded verifying all the details to narrow down on the cause. So, I do not have a specific test project. However, if you are having any complications working with the BLE example projects, please let us know and I can guide you through the process.
Thanks much appreciated.
Mutahir
You are welcome! Please contact us back if you have any questions.
LC_Dialog