Smart Bluetooth Forum Discussions
Is there a BLE stack function in SDK1.1 to get the peer's public device address (resolved if resolvable)? emconninfo_getPeerAddr() works for peers that use a public address, but does not resolve peers that use a resolvable private address (Apple).
If not, is there some unique immutable device identifier that is exchanged during link-up/pair/bond that can be accessed from the application?
Show LessHello
In the document : MMP920732SW-AN102-R : How to Write WICED Smart™ Applications
It's mentionned in page 6 :
The BCM20732 can function as both a central and a peripheral device. Most of the samples in the SDK are for
peripheral devices and this document focuses on developing applications for peripheral devices.
It's seems there is a mistake :BCM20732 cannot be acting as peripheral device.
Best regards
Michel
Show LessHi,
I'm currently trying to get battery monitoring with blebat on the BCM20732S to work similar to what hello_sensor is doing.
Right now I'm not able to see anything on the HCI UART when I switch on the power and then the UART interface (trying to keep RXD low). The module seems to go into deep sleep instead drawing only 3uA.
My assumption was that the GPIO pin wasn't the right one, my config currently looks like the following:
const BLE_PROFILE_GPIO_CFG xyz_gpio_cfg = {
/*.gpio_pin =*/
{GPIO_PIN_BATTERY, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 // GPIOs are not used
},
/*.gpio_flag =*/
{GPIO_SETTINGS_BATTERY, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } };
I hope you can tell me what to expect from blebat and whether it could work on the module at all.
Regards,
Kilian
Show LessHi,
I'm currently trying to reduce power consumption during sleep mode. The current during sleep is now ~40uA which is a little too high
to satisfy our initial requirement of 20uA. With a simpler application I achieved around 30uA which would help us.
I noticed that I can set the GPIO pins that we use to drive LEDs as input with a pull down to achieve relatively low currents compared to leaving them floating.
We also have a number of unconnected pins that I leave unconfigured for now, I would like to know the default configuration of those.
Notice that I'm using gpio_configurePin() instead of whatever is provided with bleprofile_GPIOInit(). Do I have to configure them in any specific way?
Is there any action I should take to configure the GPIO pins before allowing the sleep modus? I would assume setting them as inputs or to 0V would help, but I guess you have some guidelines for this event already.
Would using GPIO_GLOBAL_INPUT_DISABLE help me in anyway? I couldn't find any example code but it sounds interesting.
I'm pretty sure somebody asked this before but I couldn't find any good info with the search engine.
Regards,
Kilian
Show LessIs there an App-note on how to use the 20737 security features (PKI key exchange + RSA) etc ?
Thanks for your help in advance.
Regards,
Floren Santos/RFAN
Show LessHi!
So I've been trying to update my one-wire PUART application to work with SDK 2.0.1 on a BCM20736, but haven't been able to get it to work.
Here is the new code:
odbol/broadcom-wiced-ble-uart at sdk2 · GitHub
So I'm having a couple problems:
- Calling puart_write() the second time seems to crash the chip and it restarts. Set the ENABLE_CRASHING_ON_SEND_PUART define to 1 in hello_sensor.h to see this. (log is attached)
- Even when I disable the puart_write() crashing part, the puart_rxCb interrupt is never called when I send data from the Arduino.
This similar code worked in SDK 1.1 with a BCM20732, so I'm wondering what I'm missing. All I did was update a few function calls according to the "uart_firmware_upgrade" example. Here's the diff: Comparing master...sdk2 · odbol/broadcom-wiced-ble-uart · GitHub
A couple questions/avenues of investigation for the differences between SDK 1.1 and 2.0:
- Do I no longer need to call "bleprofile_PUARTRxOn()"?
- I also no longer call "devlpm_init()" before devlpm_registerForLowPowerQueries(). Could that be a problem?
- Do I need to use puart_setBaudrate() or can I just modify puart_UartConfig directly?
- If so, do I call puart_setBaudrate() before puart_init() or after?
- Will pin 25 for RX and 32 for TX still work on the BCM20736?
Thanks!
Show LessHi.
I use the BCM20732 chip.
Broadcasting of how to transfer data, please let me know.
Put the sample source reference would be appreciated.
Show LessI am looking for some information about Audio over BLE (and when it is going to be available).
I also suggest creating a new category for BLE Audio.
Show LessHi,
Please let me know if 20732 can be used as bluetooth client.I am working with SDK 1.0.1.There is no sample hello-client program with this SDK but there is hello client program in SDK 2.0.1. I came to know that 2.0.1 is only for 20736 and 20737.So does it mean that 20732 will not act as client?Kindly help me in this regard.
Show LessHow can we get timer function based BCM20732? Customer need a timer function to alarm interval 24h, I know generally the RTC clock can achieve this function. Does 20732 has such ability?
Show Less