⚠️ 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.
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.
来到实际问题,如果你看看app_easy_timer.c源文件,有一个条件包容#if(ble_app_present)这目前排除函数的所有定义app_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.
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.
嗨瓦拉希尔,
Is the app_easy_timer.h file included in your file and is the app_easy_timer.c file in your project ?
谢谢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,
我已以类似的方式配置了该项目,并且能够正确地编译它。我认为该问题将标题添加到项目中。请尝试再次添加必要的头文件(如果可能的话重复使用新副本的步骤),这应该解决问题。如果它仍然存在,请将您的项目上传到此线程,以便我们可以在问题上重现和缩小。
谢谢
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
谢谢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.
来到实际问题,如果你看看app_easy_timer.c源文件,有一个条件包容#if(ble_app_present)这目前排除函数的所有定义app_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.
只是好奇有没有办法在简单的项目中使用/测试app_easy api,如blinky,因为它对新的开发人员有所帮助尝试。
谢谢for you replies.
问候,
Mutahir
我也可以要求你的测试project to see where and how i got it wrong on my own time.
谢谢and Regards,
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.
谢谢much appreciated.
Mutahir
You are welcome! Please contact us back if you have any questions.
LC_Dialog