Smart Bluetooth Forum Discussions
I'm using BCM902732_BLE_KIT and WICED-Smart-SDK-1.1.0.
My application requires SLEEP mode and wake up by timer every 5s.
Flowing blog about sleep modes: Sleep Deep_Sleep Explanation and Techniques
I tried with DEEP SLEEP and it works with changing configuration of devLpmConfig.wakeFromHidoffInMs to time duration. But in Sleep mode it does not work.
My questions are:
- What is the function make processor to SLEEP mode?
- What function to wake-up after a periods time?
Any comment is appreciate.
Thanks
Show LessI would like to create a NVRAM item in VS during production programming for device serial number. So that I can read the serial number via the bleprofile_ReadNVRAM() API easily in firmware. Eg: I want to create a entry to store 16 bytes-long serial number with vsID 0x10 during production programming, and then I can read the information and update in the BLE characteristic when firmware is running. Any suggestion on this?
As result I searched in the forum so far, the NVRAM item would be in the structure:
--------------------------------------------------------------
| vsID(1 byte) | Length(1 byte) | CRC(1 byte) | Data(n byte) |
--------------------------------------------------------------
1. I need to know the address in NV to write the content. Is there any memory mapping information?
2. How to get CRC? Is the CRC of Data field of the entry or the whole item? Is CRC 2-compliant, like the CRC in Intel HEX format?
In my application,when i write a characteristic,I can always see the log "Checking readable attribute 00d2" and log "permission check retCode = 00".
The characteristic I write has the PROP of " LEGATTDB_CHAR_PROP_READ | LEGATTDB_CHAR_PROP_WRITE_NO_RESPONSE | LEGATTDB_CHAR_PROP_WRITE| LEGATTDB_CHAR_PROP_NOTIFY ",
and have the PERMISSION of " LEGATTDB_PERM_VARIABLE_LENGTH | LEGATTDB_PERM_READABLE | LEGATTDB_PERM_WRITE_CMD | LEGATTDB_PERM_WRITE_REQ" .
I have questions:
1. Do the two logs mean errors or warning?
2. What does the retCode of permission check mean?such as 00 ,01,02,03 and so on.
Show LessHi all,
I am currently using the ADC ports on BCM20737S SiP Module to do some voltage measurements.
From the datasheet, the input resistance should be typically 500Kohm (see Table 8 ADC Specifications of BCM20737S datasheet).
However, the actual ADC input resistance seems to be way smaller than 500Kohm, I think it is only around 35Kohm.
We only want to monitor a 5V voltage, so we build a simple 10K-10K voltage divider and connect the 2.5V trace directly to one ADC port of BCM20737S. However, the measured ADC raw voltage is only around 2.2V. So it means the ADC input resistance is comparable to 10Kohm (around 35Kohm from calculation).
I am using 3.3V mode of ADC port, the range of ADC raw voltage is from 0 to 3.3V.
Is the small input resistance of ADC port normal for BCM20737S chip? The functionality of ADC port is good and the chip is not damaged. We have checked two BCM20737S chips and both of them work in similar way. Does anyone observe similar problems?
Thanks
noalac
Show LessIn BCM20737S, I want to use Real time clock function.
Let me know the method of the initialization using outside CLK.
Thank you for your help.
Show LessBCM2073 modified hello_client
---
we designed two pair devices.
pair devices know opponent address each other.
for connection on pair deviecs, device have to scan advertisments.
but during on scanning, current consumption is very higher than normal state.
our product's current consumption is below
high advertising : 2mA
low advertising : 1.77mA
connection : 1.9mA
but scanning case for looking other advertisment :
7mA is consumed
(scan interval is 512 and scan widnow is 96)
how to lower current consumption?
i want to set white list, but two devices additionally have to be connected to android phone(not specific address).
For connection, Scanning is necessary? even know pair devices's address?
Show Lessdears:
We are using android app and "BLE firmware" of "hello sensor" to verify the "connection/link" time.
There are few questions as below:
1. the connection/link time is very long between 2 BLE devices. it's range of "connection/link" time is about 2-80 seconds.
normally, it should be m-seconds range.
2. how to re-build "LeHelloClient" apk of "hello server" for "android"? any instruction ?
3. do you have a complete document/API to introduce in details?
/samuel
Show LessI taught i had seen somewhere in the datasheet that the fine timer interval could be set as 1ms, but i can only seem to get 12ms at best?
I am trying to read a sensor running at 500hz(2ms)? I was trying to do it via the fine timer.
If i set up an interrupt, detecting the rise edge (new data when the interrupt rises), could the module handle been called every 2ms?
Regards,
Luke.
Show Lesshi
Using:
BCM920706, hello-sensor application inside: ‘SDK "WICED-SmartReady-SDK-1.0.1-IDE-Installer
Sleep Mode:
My application requires to enter into sleep mode for every configurable, 10 minutes for a configurable sleep duration of 3-5 minutes. I mean, my application requires the BLE Stack to enter into sleep mode forcefully for a configured duration. I noticed there is away to wake up from sleep using GPIO but I cannot find any timer/timeout based to wake up from sleep. I cannot find any sleep API that can help to enter into sleep for a required duration (say for example 3 minutes). I am trying to force the device to sleep for 5 second or more, but I dont see any trigger for my callback from the stack. I am not using any timers (nothing of seconds, fine timer, idle connection out), But, still my callback is not executed, although I have registered my callback, as follows:
//registered my callback to enter into sleep
devlpm_registerForLowPowerQueries(my_tosleep_cback, 0);
Also, I tried this below:
wiced_power_save_register_approve_cback(my_approve_sleep);
Deep sleep:
I can able to enter the deep sleep from my application call (), but after the deep sleep duration expires, the stack is not able to resume the connectivity even after re-initialize my application appropriately. Is it like the BLE stack cannot support deep sleep after the BLE-Pairing is completed?
Any support available for the BCM920706 for latest SDK 2.x.x?
Show LessI am using BCM20737s and would like to send my device ADV visible for all devices, but could only connect to the specific set of central devices.
is this possible?
Show Less