I use QN902x to develop a BLE peripheral device on IAR ARM 8.11. I change many source files in NXP SDK.
The HW is OK, if using NXP project in QN902x HW, my phone can get QN902x broadcast package.
But if using my project with modified source file, my phone can not get QN902x broadcast package. See below:
I use this function to initialize a broadcast,
app_env.adv_data, 17, app_env.scanrsp_data, 20, GAP_ADV_FAST_INTV1, GAP_ADV_FAST_INTV2);
Is the BLE IP stack isn't initialized well?
What is wrong?