Smart Bluetooth Forum Discussions
Hi,
Is there a way to handle client reads in the application layer? This would be useful, for example, for a battery service where the battery voltage could be measured and returned upon a read, rather than needing to keep the GATT DB updated just in case it is read. We are also implementing a custom encryption scheme with counter-mode encryption keying, and it would be helpful to encrypt the reads as they occur, rather than having to re-encrypt all the readable values every time the counter increments.
Thank you.
Show Lessadc_readVoltage has 10% error without calibration and 3% with.
I hope to reduce error rate so I used adc_readSampleRaw instead of adc_read_voltage().
But when I applied 3.6V into adc port, the16bit adc value displayed 25700 around. I expected 65535.
I set the inputrange voltage 3.6V : adc_SetInputRange(ADC_RANGE_0_3P6V)
My first question is why the adc raw value is not saturated although the voltage on adc port is maximum value.
The second question is how to use adc_adcCalibrate.
If I measure the adc supply voltage as 3.2V, then should I put the function argument adc_adcCalibrate(32000000, P1)?
and with this calibration, which effect can I get? I mean I'd like to know what calibration is done with this function?
Thank you.
Show LessI have checked the datasheets
BCM20732S Bluetooth Low Energy SiP Module Data sheet
but i have not found any information on the wake up time from sleep/deep sleep. I basically need to know the time it take from a interrupt to the module is ready to send
I guess that i must have missed something obvious. But could someone please point me in the right direction to find this information?
Br
Mikkel
Show Less[On 5/30/2014, this entry was modified to enhance clarity]
In SDK 1.x.x, the function bleprox_mod_Create() makes calls to blecm_setTxPowerInConnection() and blecm_setTxPowerInADV().
Although SDK 2.x.x does not use bleprox_mod_Create(), we do see calls to the power control functions mentioned in thread title.
Within bleprox_mod_Create(), we see the following comments:
//default is 4dB
// 3 , -1, -5, -9, -13, -17, -21, -25 db
Question: What are the acceptable values to pass and how much granularity is there when controlling the transmitter on the radio?
Show LessI copied health_thermometer files into new folder named new_thermometer.
2 files were copied (health_thermometer.c and makefile.mk).
After paring with phone, I could not find the HEALTH THERMOMETER service on the screen, but BATTERY_ SERVICE displays.
When I directly build and download health_thermometer app without coping, then it works normally.
which point should I change?
Thank you.
Show LessI have downloaded the firmware to my a Bluetooth device, and the device have a Specified MAC address. How do I re-download the firmware without changing the MAC address?
Show LessHi,
I just see the blecm_setTxPowerInADV() in the SDK2.X.X. Is there any function which like blecm_setTxPowerInConnection() in the SDK2.X.X.
Thanks
ChienYi
Show LessWe have some A1 chips coming in.
We understand that we must use SDK 2.2 for A1 chip.
How much more code space / data space will new A1 chip provide?
Show Less