What would be correct way to add BLE abstraction layer to a fresh new project and from where should be the abstraction to be downloaded from.
Hello @pdnr7,
Since there are some memory and time constraints that need to be considered when developing BLE applications, I strongly recommend using any of the BLE example projects (compatible devices) from the corresponding SDK as base for your application. This to avoid any memory or stack issue.
Regards,
Eduardo.
Hi EduardoZamora
Thanks for the response.
We are building the project on a custom board, which is mainly meant for CAN and other operations. The other part of the code is already ready.
If we use example code it is using debug(being used for some other operations),LED(being connected to some other pin),NVM memory which is not required in our case and we are also looking to add 2 different example projects in one code.
We are looking for fresh BLE stack/abstraction layer to be added into our code base.
Controller used: MKW36Z512.
Hi,
I truly apologize for insisting, but please consider using an existing BLE project as base since custom implementation may cause stack issues and our support may be limited in these cases.
Please, take a look at Using MCUXpresso SDK CAN and LIN Drivers to Create a Bluetooth LE-CAN and Bluetooth LE-LIN Bridges o.... This Application Note describes how to create a new BLE project and add CAN and LIN drivers.
Regards,
Eduardo.
Hi, @EduardoZamora
Could you also suggest some documents to use other module like LEDs, Button and so, where developers can find a way to disable/change unwanted functionality like LED(using gLEDSupported_d). Similarly for other files as well.
Also hierarchical architecture of the demo app mainly wireless uart