Someone please reply ASAP
I spoke to the team at Inventek and they were able to provide the following guidance.
Attached is a version of the bt_smartbridge demo that shows how to get more devices to connect.
See the “ NOAUTH”/“OOBAUTH” sections and the changes to the /* SmartBridge connection settings */.
- Rename your bt_smartbridge.c source
- Then rename the attached to bt.smartbridge.c
- Then comment out the “READABLE” define
- Then do a clean and rebuild
Thanks for the reply.
Modified the source code as per the instructions. However, getting the same issue again i.e. wiced smartbridge is not able to connect to even single peripheral device( it connects for fraction of second, then disconnects).
The changes in modified file related to pairing/bonding & connection settings I already tried previously while debugging.
I suspect issue is in the attribute cache; because "bt_smartbridge_att_cache_generate" returns not success.
Has anyone successfully implemented smartbridge demo on inventek ISM43341- USB ?
Awaiting response from inventek team.
1 of 1 people found this helpful
I was able to fix this by removing GLOBAL_DEFINES += WICED_DISABLE_MCU_POWERSAVE from platforms/ISM43341_M4G_L44/ISM43341_M4G_L44.mk.
I suspect that the problem is that when this is defined, the BCM43341 BT controller is not getting a 32kHz clock from the MCU. It doesn't need this clock to scan for devices or send a connection request, but it does need this clock to maintain a connection with a peripheral.
Thanks for the help Paolo.
Thanks Paolo. I tested demo code by removing GLOBAL_DEFINES += WICED_DISABLE_MCU_POWERSAVE.
Now, its working fine.
The reason behind disconnection might be the same you mentioned above.