Smart Bluetooth Forum Discussions
Hi BRCM FAE,
I tried to implement the hw timer in mybeacon sample code.I have already read the thread:Hardware Timer (hw_timer.h) usage & How to use 100us interval timer?
I modify the mybeacon like this:
1.include "hw_timer.h"
2.register callback in the mybeacon_create
void mybeacon_create(void){
hw_timer_register_timer_expired_callback((HW_TIMER_EXPIRED_CALLBACK_FN)timer2_timeoutCallback);
hw_timer_start(100000);
}
3.add callback function
void timer2_timeoutCallback(void){
puart_print("A"); //debug trace
hw_timer_start(100000);
}
4.add APP_PATCHES_AND_LIBS += hw_timer.a to my makefile
5. disable sleep => modify BCM20737A1.cgs
ENTRY "Sleep Mode Configuration"
{
"Sleep mode" = "HIDD"
"Sleep enable" = 0
}
The callback is not called,and I can't see any debug trace in the PUAT.
Can anyone verify if I am doing something wrong here?
Any help is appreciated.
Thank you.
Jack
Show Lesshi everyone,
just received BROADCOM WICED Sense Kit its looks good ,works good with pre-build application but for my application i want to use only Humidity And Temperature sensor and barometric sensor.how to do that?
i also want to take backup of prebuild source code in case i messed up so that i can again reprogram original one.
Show LessHow to configure WICED smart Tag as a CENTRAL DEVICE..
Please give some reference or Example codes for CENTRAL DEVICE.
also i unable to get ble_trace o/p in console
I enabled trace but it not listing com port options in trace_setup window (in UBUNTU).
i checked externally the com port which i used for programming ..its giving me some hex values.
on PUART (Other com port ) it is not giving any output.
waiting for reply..
Show LessHi ,
I tried to install Wiced Smart Ide using WICED-Smart-SDK-2.2.1-IDE-Installer.bin it showed some error java is not present ..
Then i installed jave open jdk & i installed same it installed correctly but when i lauch WICED Smart IDE it shows Some Error & creates log file
Waiting for reply..
Show LessHi,
In my application, I have a use case where I have multiple BLE peripherals (about 10 devices) which are rotated with the central. A bond is made with each one of them, but the number of bond keys that can be stored is set to 6. So after the 6 devices, I can no longer bond. At this point, I need to manually delete the bond key from the central and a new bond is created each time.
So my question is if it is possible to prevent a write to the NVRam for the bond keys and instead cache it? Or perhaps some callback which I can feed in the bond key from the connected host? I'm worried about the eventual wear on the external NVRAM.
I am currently using SDK 2.2.1 and using the BCM20737 for both peripheral and central. Keys are only stored at the central side.
Show LessHi all,
Our development PCs are Macs running OS X (Yosemite). The SDK is 2.2 for the BCM20736S/BCM20737S. So we have compiled, created .hex files, downloaded and tested them. They always work.
Our manufacturer uses PCs running Windows (10). We sent them the .hex files we created, they downloaded the file to the device and the code does NOT run. They got a hold of a Mac over at their factory, tried it again, and it works as expected.
So we tried it here in the office and, to our surprise, confirmed what they saw. The downloaded file, in Windows ,does not run. Wow!
We just don't understand. Does anyone know what is going in?
Does WICED have a problem with Windows?
Thanks!
Gil
Show LessI tried to use the I2C bus to communicate with an external device (accelerometer). I followed the i2c temperature sensor example and tried to write to a register.
After that I can't program the bluetooth anymore. My problem is exactly the same as in Re: cannot recover or program BCM20732S B1 After that error happened, I am getting an error stating "BluetoolDownloadMinidriver failed!".
Then I followed the instructions in Re: Downloading problems with BCM20736S but I am getting an error stating "Failed to execute HCI Reset".
I noticed that someone in the first post that had the exact same problem as me said that he had a problem with the I2C bus, although he didn't give any more details.
Do you have any ideas on what is happening here? I am sure that it has something to do with the i2c bus but so far nothing I tried really worked.
Thank you in advance.
Show LessHi,
I modified the APPLICATION_INIT as follows, in my own project.
However, after writing a program, there is no response from the module.
Unfortunately, I will not be able to re-write of the program to the module.
APPLICATION_INIT()
{
ble_trace0("Hello");
bleapp_set_cfg((UINT8 *)gatt_database,
gatt_database_len,
(void *)&exampleproject_cfg,
(void *)&exampleproject_puart_cfg,
(void *)&exampleproject_gpio_cfg,
exampleproject_create);
}
I understand what I wrong. (Peripheral are not configured here yet.)
Is there a way to return from the state can not be re-write to the module?
Best regards,
Show LessHello,
I have a hello_client application with some sensors and a smartphone.
The sensors can connect with bonding without a problem,
but if I connect with a smartphone, I always get as result 1 (I think this is LESMP_PAIRING_RESULT_TIMEOUT).
Somebody a Idea how I could fix this?
Show LessI'm using WICED SDK V2.1.0 and BCM20737S as slave role, when i enable pairing and bonding, after the cellphone bonds with BCM20737S successfully, i change the passkey of BCM20737S and reset, the cellphone can connect to BCM20737S without any validation, no need to enter 6 digital PIN code. Any comments?
Show Less