Hello,
Hope you are doing well. First of all, we don’t support third parties' applications.
For our products, could you please help me checking this community post?
KW38 Custom Profile - NXP Community
There you can find more information about how the client-server functionality works on our BLE examples.
The best would be to use two board for your custom application.
Hope this helps.
Best Regards,
Ricardo