Smart Bluetooth Forum Discussions
I have some simple questions about timers in 2073x.
How many HW timer does 2073x soc have?
How many SW timer does WICED Smart SDK 2.x provide?
From the SDK, i can see total four "timer".
Fine time and normal timer;
Application Timer: emconinfo_getAppTimerId(), emconinfo_setAppTimerId() in emconinfo.h
Connection Idle timer: blecm_startConnIdleTimer(), blecm_stopConnIdleTimer() in blecm.h
And in hello sensor app, i noticed below usage and don't understand.
void bleprofile_StopConnIdleTimer(void)
{
if(emconinfo_getAppTimerId() >= 0)
{
blecm_stopConnIdleTimer();
emconinfo_setAppTimerId(-1);
ble_trace0("profile:idletimer stopped");
}
}
I'm a little confused about these timers.
Can someone clarify?
thanks a lot
Show LessRecently we ran into an unusual failure at our customer's site that i am trying to debug.
Unfortunately we have limited data since it was off-site and the problem has corrected itself as I will explain.
The failure mode was that the device would boot up and for the most part work properly, except for one particular feature failing to execute. I was at a loss to explain this, as the presence of the feature was not subject to configuration, and the system would regularly boot up from deep sleep (hence the problem could not be any weird state in the RAM as it gets cleared on coming out of sleep). I was suspecting a hardware problem with the device since I could not find a reasoning based on software.
Then the customer inadvertently upgraded the device OTA to a newer revision of the firmware, and the problem went away. The difference between the two revisions was minimal - mostly a change to the version number itself.
This suggested the possibility that somehow, the booting firmware image had gotten changed in some way that caused the weird behavior (but did not crash the system).
So, my question:
Is this even possible? Does the firmware image have a checksum that is checked prior to boot?
Is it possible for an application to inadvertently modify the boot image?
This theory doesn't really seem that likely - I would expect a corrupted firmware image to have a high probability of just crashing the device. But, I also am having trouble coming up with another explanation.
Show LessGood morning
i'm trying to add a UUID128 service on top of the WICED SENSE application to transmit other datas.
I added the following code in the wiced_sense_gatt_database[]
PRIMARY_SERVICE_UUID128 (HANDLE_NEW_SERVICE, UUID_NEW_SERVICE),
CHARACTERISTIC_UUID128 (0x003B, HANDLE_NEW_O1_SERVICE , UUID_NEW_O1_SERVICE,
LEGATTDB_CHAR_PROP_READ | LEGATTDB_CHAR_PROP_NOTIFY,
LEGATTDB_PERM_READABLE, 20),
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
CHARACTERISTIC_UUID128 (0x003D, HANDLE_NEW_O2_SERVICE , UUID_NEW_O2_SERVICE ,
LEGATTDB_CHAR_PROP_READ | LEGATTDB_CHAR_PROP_NOTIFY,
LEGATTDB_PERM_READABLE, 16),
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
i compiled & downloaded the code. When i list the services send by my application, i never see the UUID_NEW_SERVICE listed on my IPHONE (i'm using lightblue application to list all services & characteristics).
do you have any idea ? what do i missed ?
thanks a lot for your help.
best regards
Etienne
Show LessI have ever used IAR compiler which can create bin/hex file after compile and linking, the output bin/hex file contain strings about compile time and date.
I am using WICED SMART IDE, I want to know that whether its compiler support this feature? Is there any key word for that?
Show Lesscan u tell me how to get the readings of the sensors on mobile app.(how to setup to get started)
Hello this is Taka, I'm new and I just read the quick start guide, AN103, HWUM100-R and datasheet.
I could load the sample app of the SDK then it's OK.
Now I'm trying to create a new project and read WICED-Smart-SWUM100-R(Softwae User Guid).
I made a project "test2" and set the device name as "test2". Set a Service, has one readable characteristic.
I tryed to load this new project to the Tag kit, then the LED was blinking and new device is showed on iPhone.
But the device name is old project name.
For example,
1)Load "Proximity" that is a sample of SDK. Then "Proximity" is showed.
2)Next, load "test2" that is my app, then "Proximity" is showed.
3)Next, load "Hello" that is a sample of SDK, then "Hello" is showed.
When I made a new project, the new make target was created as "test-BCM920737TAG_Q32 download", and I double clicked to load my new project to the tag board.
There was no error when I load it. It seems same as the loading of the sample programs.
How can I do for this? Or do I have to read more documents?
Show LessHello,
I'm currently testing OTA procedure in my android project, the tag is 920737TAG-03, I use sdk 2.x
the speed of the data transfer is very low:
I write 20 bytes in the data characteristic and wait for onCharacteristicWrite() to write the 20 next
the time between the writeCharacteristic() and the onCharacteristicWrite() is between 40 millisec and 100 millisec
so in the worst case it needs 5 seconds to send 1000 bytes, so a program of 10k could need 50 seconds...
I made a try with the windows8 app present in the sdk wich do the job at least 10 times faster !
Can you give me advice on how to speed up ?
I see in ws_upgrade_ota that the lel2cap_sendConnParamUpdateReq(6, 6, 0, 700) is used, so we cannot make better there
best regards
Jean-Paul
Show Less1.
MSDK Series (Multi-Sensor Dev. Kit)
- Includes Multi-Sensor Development Board featuring an Accelerometer, a Magnetometer, an IR Temperature Sensor, a Buzzer, a Tri-color LED, a Joy Stick, and a Coin Cell Battery holder
- One USB 2.0 cable (Type A to Micro-B)
- Two Single row pin headers can be soldered down to gain access to all the pins in the A20737A module
- Incorporates Broadcom’s BCM20737
- Tiny 11x13x2.5 mm footprint of the A20737A AIR module
- Pre-certified to FCC/IC and ETSI compliant
- Low power consumption
- Anaren’s exclusive online development tool, Atmosphere (Demo Video here: ANAREN AIR V3 - YouTube)
- Atmosphere seamlessly generates and loads the embedded code on the Multi-Sensor Development Board, and creates an app that can be loaded onto the Broadcom Bluetooth Smart mobile device
2.
A20737A Module Series (Integrated Antenna)
- 2.4-GHz RF transceiver incorporating Broadcom's Bluetooth Smart technology
- 1.7 to 3.6V operation
- Operating temperature –30˚C to +85˚C
- Integrated ARM Cortex-M3 microprocessor core
- 512-Kbit EEPROM
- Programmable output power up to +3dBm
- Low Current Consumption (3.3V)
- 25mA in Rx
- 17mA in Tx @ -1dBm
- 20mA in Tx @ +3dBm
- Typical sleep current 2μA @ 3.3V
- Excellent receiver sensitivity, -94dBm average with <1% BER
- Infrared modulator
- 10-Bit auxiliary ADC with nine analog channels
- Support for secure OTA updates
- Integrated LDO
- Supports SPI, I2C, PWM, UART and GPIO peripheral interfaces
- RoHS Compliant
- Shielded package with an integrated antenna
- LGA Footprint
- Small package size: 11mm x 13mm x 2.5mm
- Approximate weight 0.5 grams
- Certified/compliant for use Worldwide
3.
A20737C Module Series (External Antenna)
- Same features as the A20737A above, but the internal antenna has been removed and a U.FL Connector is available for use with an external antenna.
Both parts are supported by Anaren’s exclusive online development tool, Atmosphere (Demo Video here: ANAREN AIR V3 - YouTube)
Show LessHi everyone,
i'm searching an efficient way to send float datas over BLE with WICED SMART on BCM20737.
i have 4 floating values coming from sensor (float data[4]) and i need to send to a specific BLE characteristic.
do you please have an idea ?
Best regards
Etienne
Show Less