- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have inventek system usb dongle ISM43341 - USB having broadcom module BCM43341 and using WICED SDK 3.1.2.
In the demo, I can access web page through WLAN, then I can see list of peripheral devices on the webpage. When I try to connect to any of them, it connects for fraction of second, then disconnects( Tested with several BLE devices).
I suspect this is something related paring/bonding and encryption. But in my peripheral devices pairing/bonding not required . Then why smart bridge is not able to connect to the peripheral devices ?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Someone please reply ASAP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 */.
Instructions:
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the help Paolo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.