Smart Bluetooth Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
I am trying to develop a simple C++ application that will grab real time sensor data from the Wiced Sense SDK and hardware.
I have successfully modified the HelloClient windows app to be a simple console application (without MFC). I have verified I can grab simple device information like battery life and manufacturer/model names.
Now what I am unsure about is how to enable notifications from the device. Beyond that, once notifications are enabled, how do I poll for sensor data? Do I need a callback that will hit everytime the BLE device gets data? I am a bit lost here and since the documentation is a bit sparse, and code not well commented, I am not really sure what I should be doing from here.
There is a function called RegisterNotification(); in the Win8Interface.cpp file, but I am not clear on how I should be using this function.
I have tried analyzing the Android app code to see if I can figure out how its enabling notifications and live streaming sensor data, but havent found the clues I need.
Can anyone lend a hand or point me to some documentation I might have missed?
Thanks in advance,
Justin
Show LessHi,
In example 'blecen.c', registering callback of 'lel2cap_handleConnParamUpdateReq' with 'blecenhandleConnParamUpdateReq', but I don't see it been invoked at all even the slave is requesting to change connection parameter.
Show LessI'm trying to use P38 on the BCM20736S module and it's not working. I have a custom board with the 736S module and a TAG development board with a 737 chip. My code for putting output on P38 works on the TAG board but not on my custom board. I have done this experiment using P38 as a SPI MOSI and as a GPIO output. Both work on the TAG but neither work on my 736S board. I know P38 is paired/bonded with P14 and I have disabled P14. On the other hand P04 works both as MOSI and GPIO Output on my 736S module. My SPI code works on the TAG board and it is based on the sample code in the documentation. I have looked for conflicts and don't see any, pUART or otherwise. My code is based on the Heart Rate Monitor App.
Is there something I should know about P38 that is not in the documentation? I could switch to P04 but that means the entire design goes back to the drawing board and a new layout and PCB version, so I would like to use P38 for MOSI if possible.
p.s. I do see SCLK coming out on P24 when I transmit data via SPIFFY2 Master... but nothing comes out on P38 which is configured as MOSI. Again, the exact same code works fine on the TAG board where I see both SCLK and MOSI on the scope.
Thanks for any suggestions.
Eric
Show LessHi,
As I have read some time ago (Re: Putting '20732S into sleep or deep sleep mode) it appears as if the RTC is reset during deep sleep. I have not been able to get it to work either, neither with the internal nor external oscillator. Now I'm wondering whether anybody has found a useable solution to solve this problem with the BCM20732(S) without attaching an external RTC to it.
While I could envision some benefits resulting from attaching an external RTC to the BCM20732S with regard to power consumption, the cost argument trumps it all for me. I hope you can help.
Regards,
Kilian
Show Lesshey guys
i'm new here even new with WICED sens smart BLE development kit and one of my needs to start programming using it is a bcm20737s data sheet or wiced sense data sheet
usually when i try to find a data sheet it looks easy in my case first solution showed up is to by it so my question is
is it for free or have to buy it ?
thank y'all.
Show LessHi,
After terminating a connection and restarting advertisements my 20737TAG will frequently enter into a failure mode where advertisements cannot be stopped. When the device is in that mode, the following commands will fail to stop advertisements:
blecm_setAdvEnable(0)
nor
bleprofile_Discoverable(NO_DISCOVERABLE, NULL)
I am sending these commands via my interactive debug console through the UART.
When that happens, I am also unable to change the advertisement data.
Other than this the device is functional, so I don't think this is a crash, at least not a full system. Maybe the task that handles beacons dies? Has anyone experienced this? Any recommendations on how to resolve it?
I am using the following commands to terminate connections:
blecm_disconnect(BT_ERROR_CODE_CONNECTION_TERMINATED_BY_LOCAL_HOST);
blecen_Conn(NO_CONN, NULL, 0);
I've tried several combinations of the above (just one of them, or both in swapped order) and I still observe the same problem.
Cheers,
Show LessYesterday I received a new WICED Sense bluetooth smart sensor tag and tried to check if it works on iPhone 5S and iPhone 6 that are on iOS 8.1.2. The iOS WICED Sense App could not be paired with either of them.
Secondly I tried to pair it with iPhone 4S with iOS 8.1 and luckily it got paired. I was then able to see the sensors working on this iPhone WICED Sense App. However, for no particular reason - it stopped working today. I tried by removing the battery and putting it back as despite pressing the wake button, no red light was becoming ON.
Then I downloaded the latest Wiced Smart SDK 2.2.0 for Windows and connected the tag using USB. I followed the recovery procedure. Now the red lights are turning ON when I use Wakeup button but the bluetooth connection is still unsuccessful.
Please help.
Show LessI'm trying to figure out how to query the default Wiced Sense App using a linux bluetooth client.
I can connect to it via gatttool but do not where to find the proper character locations to send it meaningful commands (e.g. what is your UUID, what temperature is it?).
I was hoping to look through the code to find the exposed BTLE interfaces.
I downloaded and installed the SDK, but in the Apps code directory it is unclear to me which of these is the code running for the default app?
I read through the README.txt in the Apps directory and have tried some searches.
Apologies if this info is obviously placed somewhere. I'm loathe to tinker with it if I can't return it to it's status quo state afterwards.
Thank you for reading.
Show LessHi Sir,
I have 2 devices and follow the following link to change device name.
Re: How to change the device name?
Then I add new BT devices on Windows 7, these two devices show in the same logo and jump back and forth.
Can it be shown as two independent logo?
Show Less
What's the meaning of above macro definition?