Hi NXP support team :
I'm trying to implement my application of CCC DK 3.0,and I start to practice by the project "kw45b41zevk_digital_key_device_freertos" of KW45 SDK.
Currently I trying to create another Task , and I need it to print out some messages for simple debug.
But in the sample project, the serial manager and shell component has been initialized by "APP_InitServices()" and "BluetoothLEHost_AppInit()" in the start_task().
If my task want to print out the message through the serial manager and shell, do I need to initial both of them(using different handle name) as well when I create my task ?
Or any method you suggestion to implement this feature?
Thanks and waiting for your response.
Andy.
Solved! Go to Solution.
Hello,
Thank you for contacting NXP support.
Once they are initialized is not necessary to re-initialize this in order to use the command line or shell messages.
I would highly recommend to give a look into the ble_shell freeRTOS example, that can be help full on how to send commands through shell and how they create the tasks for sending this messages.
Hello,
Thank you for contacting NXP support.
Once they are initialized is not necessary to re-initialize this in order to use the command line or shell messages.
I would highly recommend to give a look into the ble_shell freeRTOS example, that can be help full on how to send commands through shell and how they create the tasks for sending this messages.
Hi
Thanks for the supporting, the example is helpful for me to understand the method of serial manager.
I can print out the message from 2nd task by shell_write().
Thanks a lot .