Smart Bluetooth Forum Discussions
When a device, such as an iPhone “un-pairs” itself from a BLE sensor does that get propagated to the BLE sensor as well?
Is there a callback that is triggered?
I know in the case of Encryption changing or Bonding itself that there is a callback triggered but does the un-pairing also get handled there as well?
If two devices are bonded to each other and iPhone "un-bonds" itself by forgetting the device does the BLE sensor side still think it is bonded?
Show LessHello,
has someone any problem with the hello_sensor apps?
Sometime i've a problem with this apps. Sometime works this apps pretty well.
The Trace list:
12:15:57 - Broadcom Debug Port: BLEAPP CFA dhello_sensor_create()1.0001 18 02 16 00 00 2a 48 65 6c 6c 6f 00 00 00 00 00 00 00 00 00 00 00 02 18 00 01 2a 23 20 56 7c 05 cf 6e b4 c3 41 77 28 51 82 7e 1b 32 2a 00 26 f6 69 91 68 ee c2 be 44 4d b9 5c 3f
12:15:57 - 2d c3 8a 48 65 6c 6c 6f 20 30 0a 2d 00 1a 89 07 4a 2f 3b 7e a6 81 44 3f f9 a8
12:15:57 - f2 9b 5e 0a 18 02 4f 00 29 2a 42 72 6f 61 64 63 6f 6d 02 51 00 24 2a 31 32 34 34 00 00 00 00 02 53 00 23 2a 93 b8 63 80 5f 9f 91 71 0f 18 02 63 00 19 2a 64 02 01 06 03 19 00 02 06 09 48 65 6c 6c 6f 02 0a 04
12:15:57 - permission check retCode = 00 0 00 00 23 20 56 7c 05 cf 6e b4 c3 41 77 28 51 82 7e 1b 02 01 05 11 07 23 20 56 7c 05 cf 6e b4 c3 41 77
12:15:57 - 28 51 82 7e 1b 06 09 48 65 6c 6c 6f
12:15:57 - blecm evt handler:
12:15:57 - 0e 04 01 08 20 00
12:15:57 - blecm evt handler: 0e 04 01 09 20 00
12:15:57 - blecm evt handler:
12:15:57 - 0e 04 01 08 20 00
12:15:57 - blecm evt handler:
12:15:57 - 0e 04 01 0a 20 0c
12:15:57 - blecm evt handler
12:15:57 - 0e 04 01 06 20 00
12:15:57 - blecm evt handler:
12:15:57 - 0e 04 01 0a 20 00
12:15:57 Trace Decoding Error - Could not find line number 314
12:15:57 UUID : 2800
12:15:57 Attribute bytes
12:15:57 Handle: 0062
12:15:57 Perm : 0002
12:15:57 Len, Max Len : 0005, 0005
12:15:57 UUID : 2803
12:15:57 Attribute bytes
12:15:57 Handle: 0063
12:15:57 Perm : 0002
12:15:57 Len, Max Len : 0001, 0001
12:15:57 UUID : 2A19
12:15:57 Attribute bytes
12:15:57 Gatt DB Dump complete
12:15:57 bd_addr[5:2] = 20 73 7A 14
12:15:57 bd_addr[1:0] = 9B92 00
12:15:57 GPIO 0001 (11)
12:15:57 GPIO 0000 (104)
12:15:57 GPIO 0014 (1003)
12:15:57 GPIO 0015 (20)
12:15:57 GPIO 0028 (2001)
12:15:57 Interrupt mask[0,1]:0001 0000
12:15:57 Interrupt mask[2]:0000
12:15:57 GPIO_WP:OFF= 00
12:15:57 GPIOBTN1:OFF=1,INT:0
12:15:57 GPIO_LED:OFF=1
12:15:57 GPIOBAT
12:15:57 GPIO_BUZ:OFF=0
12:15:57 Battery level: 0/100
12:15:57 Fine Timer(0 ms, 0/sec)
12:15:59 - *#04FF1EF7009201030000073A2A500000000007522A500001000007021F0100hello_sensor_timeout:0hello_sensor_timeout:1
12:16:01 - hello_sensor_timeout:hello_sensor_timeout:3
12:16:05 - hello_sensor_timeout:hello_sensor_timeouthello_sensor_timeout:6hello_sensor_timeout:7
12:16:06 - hello_sensor_timeout:8
12:16:09 - hello_sensor_timeout:hello_sensor_timeout:10hello_sensor_timeout:11
12:16:11 - hello_sensor_timeout:1hello_sensor_timeout:13
12:16:12 - hello_sensor_timeout:14
12:16:13 - hello_sensor_timeout:15
12:16:15 - hello_sensor_timeout:hello_sensor_timeout:17
12:16:16 - hello_sensor_timeout:18
12:16:17 - hello_sensor_timeout:19
12:16:21 - hello_sensor_timeout:20hello_sensor_timeout:hello_sensor_timeouhello_sensor_timeout:23
12:16:22 - hello_sensor_timeout:24
12:16:25 - hello_sensor_timeout:25hello_sensor_timeout:hello_sensor_timeout:27
12:16:26 - hello_sensor_timeout:28
12:16:27 - hello_sensor_timeout:29
12:16:27 - ecm evt handler:
12:16:27 - 0e 04 01 06 20 00
after it shows "ecm evt handler: ", then the BCM92073X_LE_KIT is not working well ("read" and "write" function are not working anymore).
We want to measure an ADC value on a BCM920737TAG where 10 bit resolution would be enough. But we only have about 30uS time to do the conversion.
The PDF for the BCM920732 states that the conversion time is 10uS. Unfortunately in our tests the conversion time is about 180uS.
That PDF also states that there are 5 different sampling modes available with ENOBs 10, 11.5, 12, 12.6 and 13
In adc.h there is a comment which states:
* Defines functions to access ADC peripheral. The ADC provides one-shot conversion of
* and input analog signal to a digital value (raw or converted to Volts). The maximum
* sampling rate is 187 KHz with 10 ENOB and the minimum conversion rate is 5.859 KHz.
How can we change the ENOB to 10? We found several discussion posts where 10 and 13 ENOB are mentioned including BCM20732S ADC Configuration but no indication about how to change this.
Show LessFor SDK 2.0.1 on the BCM20736S, is there a hard limit to the number of, or total number of bytes in, prepare write requests accepted before an execute write request?
thanks, Stuart
Show LessHi~
I am testing uart-firmware-download in BCM20732S and I'm wondering how to test ram.uart_firmware_upgrade?
I have to download firmware through uart. (Wiced wifi-> uart -> Wiced smart bt )
I has read readme.txt file(WICED-Smart-SDK-1.1.0\WICED-Smart-SDK\Apps\RAM\uart_firmware_upgrade\WsUartUpgrade\Windows\readme.txt) but thers isn't file information which i will choice.
Usage:
WsUartFu <image.bin> <COMx>
Which will i choice file <image.bin>?
Thanks,
Sean
Show LessThe following procedure demonstrates how to use ble_trace (printf based traces) with the WICED Smart SDK TAG:
1.
Open the WICED Smart IDE
2.
In the directory tree on the left hand side, find WICED-Smart-SDKWiced-Smartsparcommonspar_init.c and open it for editing
Modify the SPAR_APP_SETUP function such that the trace enable flag is set to 2 (per previous posts on the forum, this directs traces to the HCI UART)
Example:
void SPAR_APP_SETUP(void)
{
bleapp_pre_init = application_init;
bleapp_trace_enable = 2; //Direct traces to HCI UART, default value = 1
}
3.
Compile and download to the Tag board your favorite application. I used the Heart Rate Monitor sample application described within the Quick Start guide (ROM.heart_rate_monitor-BCM920732TAG_Q32 download).
4.
When you see Application is running message on the console window, unplug the USB cable from the Tag board.
5.
Find the mini-switch on the Tag board (S4). If you were able to successfully download the application to the Tag board in step 3 above, then each of the four switches on the mini-switch (S4) are set to the ON position, or UP. Turn off two of the four switches in the middle of S4 (outside switches remain on). When you are done, the four switches will be set as follows: UP, DOWN, DOWN, UP
6.
Plug the Tag board back into your computer.
7.
Open Windows “Device Manager” and determine which COM port is being used for the Tag board. On my machine, COM3 was selected. On Windows 7: Start->Computer->System Properties->Device Manager, then find the entry for “Ports (COM and LPT)”. If you are not sure which one is being used by the Tag board, you may want to unplug it, then plug it back in while observing which COM port was added.
8.
Now open your favorite terminal emulation program (I use Tera Term) and connect to the COM port you identified in step 7.
-In addition, you will need to make sure the Serial Port settings are as follows (in Tera Term, this is under the Setup->Serial Port menu item): Baud Rate: 115200, parity: None, Stop: 1, Flow Control: None
-You will also want to go into the VT100 terminal settings (in Tera Term, this is under the Setup->Terminal menu item) and insure that the receive coding is set to UTF-8 and the New Line->Receive parameter is set to Auto (“CR” was default under Tera Term)
9.
Debug output should now appear within the terminal emulation window and you are now using the HCI port to output debug traces over the COM port attached via USB to your computer. You can push the Reset button to restart the application and see the startup traces.
In doing such, you are effectively monitoring ble_tracex function calls within the application inside a terminal emulation window attached to the COM port.
To make changes and download a new version of the application to your board, perform the following steps:
1.
Exit the COM port access application described above and used to monitor debug output traces.
2.
Unplug the Tag board and make sure each of the four switches on the mini-switch (S4) are set to the ON position, or UP.
3.
Plug the Tag board back to your computer and the downloading a new application onto the Tag board should work exactly as described in the Quick Start manual which is available here on the WICED Smart website.
Show LessThat's right, from now until September 30th, you can participate in the Broadcom Community Forums (WICED Wi-Fi, WICED Smart, Ethernet Switch and Ethernet PHY) and earn a $50 Amazon Gift Certificate for your efforts!
It's really quite simple as the award will be issued to the first 20 forum members who complete the following missions:
Badge | Description | Points |
---|---|---|
Teammate | A good teammate always tries to help other users. Have 2 of your responses marked as Correct answers to earn this badge. | 100 |
Veteran | You're a veteran now, so have 3 of your responses marked as Helpful to complete this mission. | 100 |
Q2 Winner | Automatically awarded upon completion of the 3 missions defined above. | 50 |
Coach | A good coach always leads by example. Provide a snippet of code to another user to help solve a problem and earn this supplemental badge. Note: Not required to earn the $50 Amazon Gift Certificate. | 200 |
Prior to participation, please make sure you review the Terms and Conditions located here: Broadcom Community Website Gamification Terms and Conditions
Note that you review and monitor your badges earned by going to to top level menu beneath your name at the top right of the browser window. Select View Profile. On the Profile Page, select More->Reputation
Show LessOn a custom board with a 20732S module that I have been developing on for some time, the module was seen via HCI debug to keep entering reset automatically. Now it is completely unresponsive and no debug traces are outputted and the program is not able to be downloaded. My other modules work great w/ same code/methodology. What could be the issue?
I checked the download.log file and it states"Error processing command-line arguments: Unexpected argument 115200". (which i'm assuming is referring to the baud rate?)
If more information is needed, please let me know. Thanks
Show LessI'm trying to program my application into 20732S on my board. But it fails.
I follow the command line procedure on below blog.
Programming the 20732S MODULE USING 2073xTAG Board
ChipLoad.exe looks successful to download minidriver.
But after chip erased, it's stopped.
Please refer attached cygwin.txt and logto.txt.
I'm using a simple board with 20732S referring SPIL schematic.
VBAT, GND, TXD and RXD are connects to TTL-232R-3V3.
Any advice please?
Show LessHi All,
is it possible for BCM20737s (e.g. a sensor) to connect in master role to 20 peripheral devices in time multiplex mode?
eg a sensor detects sth and sends commands to all peripherals. Is this possible?
Does limitation of 8 simultaneous connections means at same time or in time multiplex (quasi simultaneous?)
Thanks, Andreas
Show Less