Smart Bluetooth Forum Discussions
Compiling sparinit.c
Can't locate utf8.pm in @INC (@INC contains: .) at scripts/generatelibinstaller.pl line 101, <SYMBOLS> line 1.
BEGIN failed--compilation aborted, <SYMBOLS> line 1.
make.exe[1]: *** [../../build/floor_2_ceiling_master-BCM920737TAG_Q32-rom-ram-Wiced-release/lib_installer.c] Error 2
gcc/rules_cm3_gcc.inc:122: recipe for target '../../build/floor_2_ceiling_master-BCM920737TAG_Q32-rom-ram-Wiced-release/lib_installer.c' failed
make.exe[1]: *** Deleting file '../../build/floor_2_ceiling_master-BCM920737TAG_Q32-rom-ram-Wiced-release/lib_installer.c'
Makefile:329: recipe for target 'floor_2_ceiling_master-BCM920737TAG_Q32' failed
make: *** [floor_2_ceiling_master-BCM920737TAG_Q32] Error 2
Show LessI need to support a BLE Peripheral Characteristic which has to deliver data blobs with a payload of several hundred bytes (more than 255). Since I have no control over the BLE Central which connects to my BLE Peripheral I cannot implement a custom protocol. The BLE Central relies on the Blob Read functionality.
I tried the long_characteristic_support routine bleprofile_WriteHandleData() which allows me to support BLE Characteristics of up to 255 bytes but unfortunately this is not large enough.
The sample app „long_characteristic“ found in the SDK 2.1.1 states in the comment that it supports characteristic values of larger than 512 octets but this is simply wrong. The maximum number of bytes I can use here is 255 due to the fact that in both the GATT database and the BLEPROFILE_DB_PDU the length field is only 8 bits.
How can I support Blob read with more than 255 bytes?
Show LessIs it possible to change the ATT_MTU (in order to support larger MTUs than the default 23 octets after an EXCHANGE_MTU request)?
There's a #define in bleapp/lestack/att/leatt.h:
#define LEATT_ATT_MTU 23
I can change this, but it has no affect for some targets (e.g. the sample target "automation_io-BCM920737TAG_Q32 download" is unaffected, probably because it is all in ROM). Presumably the in-ROM profiles have a hard-coded MTU size which cannot be renogiated. Does the BT stack for this module support EXCHANGE_MTU at all?
thanks Stuart
Show LessWhen I launched the speed_test.exe in my Windows 7, it pop up a error box and say "Broadcom Bluethooth Profile pack for Windows (BTW) has to be installed", and just stop. May I know where can I download BTW?
Show LessIn SDK2.1.1, I tested hello-sensor.
I substituted GPIO_PIN_BUTTON, and GPIO_SETTINGS_BUTTOn in hello_sensor_gpio_cfg with -1 and 0.
and I inserted bleprofile_PrepareHidoff() at the end of hello_sensor_create();
When I push SW1, I expected it did not wake up, but it did.
I inserted gpio_configure(0/16, 0%16, GPIO_INTERRUPT_DISABLE,0);
but the result was same.
What should I do to disable GPIO_P0 as interrupt source?
Show LessI'm working on an app that acts as a central, client device for Sense Kit tags, connecting to up to four Sense Kits and relaying notifications over the Peripheral UART.
My image works fine in download mode, but it doesn't work properly in app mode. Here's what I'm seeing:
My advertising report callback calls blecen_Conn(LOW_CONN, evt->wd_addr, evt->addressType); when it sees a Sense Kit. My connection up handler eventually returns without a problem, as does my advertising report callback.
Once this has happened though, my app timer stops. After four seconds, the watchdog resets the tag, and the process begins again.
Can I get any documentation on blecen_Conn? I need to understand what side effects might be occurring here.
I don't see this problem in download mode; the tag connects to the Sense Kit, the app timer keeps ticking, and everything carries on as I would expect.
I've attached my source.
Show LessWhat are the memory alignment restrictions with the BCM20736 and BCM20737?
Is it allowed to do a 16-bit access on a not-16-bit-aligned address?
Is it allowed to do a 32-bit access on a not-32-bit-aligned address?
If not then is there a kind of exception handling for unaligned memory access and what are the performance penalties for this?
Show LessHey guys,
I am new to TAG development. Since there aren't many examples relating I2C, can someone please post a simple code that read/write registers via I2C and displays it in the console window. Thanks in advance.
Show LessIs there any option we can add in to make file to enable code optimization?
For application the available code size is 26K or 30K?
When I compile the code it is giving me total RAM foot print 23580 bytes and I have added below trace function at the end of application create function ble_trace1("Free bytes = %d.\r\n", cfa_mm_MemFreeBytes()); . On debug trace it is saying that 7336 bytes free memory available. Please confirm.
Show LessIs there a description of the LED and audio tone patterns that emit from the WICED sense sensor kit under various conditions?
High low tones,
Constant LEDs,
Pulsating LEDs,
There seem to be indicators for pairing, connecting, disconnecting, sleep, and low bat, but it would be great if there was a reference available.
Thanks!
Show Less