Smart Bluetooth Forum Discussions
Hi All,
Receiving the following error message when building. Can't find a reference to it. Can someone point me to the documentation for this error so I can correct it?
08:18:10 **** Build of configuration Release for project WICED-Smart-SDK ****
"\\WICED\\WICED-Smart-SDK-2.2.0\\WICED-Smart-SDK\\make.exe" hello_sensor_plus_sleep-BCM920737TAG_Q32
Linking target ELF
OK, made elf.
..\..\Tools\ARM_GNU\bin\Win32\arm-none-eabi-objdump: section '.data' mentioned in a -j option, but not found in any input file
Can't open ../../build/hello_sensor_plus_sleep-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-hello_sensor_plus_sleep-rom-ram-spar.elf.spar_setup_call.cgs
gcc/rules_cm3_gcc.inc:46: recipe for target '../../build/hello_sensor_plus_sleep-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-hello_sensor_plus_sleep-rom-ram-spar.elf.spar_setup_call.cgs' failed
- make.exe[1]: *** [../../build/hello_sensor_plus_sleep-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-hello_sensor_plus_sleep-rom-ram-spar.elf.spar_setup_call.cgs] Error 2
make: *** [hello_sensor_plus_sleep-BCM920737TAG_Q32] Error 2
Makefile:344: recipe for target 'hello_sensor_plus_sleep-BCM920737TAG_Q32' failed
Here is the make file:
########################################################################
# Add Application sources here.
########################################################################
APP_SRC = hello_sensor.c
########################################################################
################ DO NOT MODIFY FILE BELOW THIS LINE ####################
########################################################################
APP_PATCHES_AND_LIBS += rtc_api.a
The directory has a modified hello_client.c hello_client.h
Thanks,
Cliff
Hello guys,
I built an own application and after fixing a lot of mistakes I finally can build it without failures in my code. But now I get an other error:
11:23:43 **** Build of configuration Release for project WICED-Smart-SDK ****
"C:\\Users\\EppA\\Documents\\WICED\\WICED-Smart-SDK-2.2.0\\WICED-Smart-SDK\\make.exe" my_last_try-BCM920737TAG_Q32 download
Linking target ELF
..\..\Tools\ARM_GNU\bin\Win32\arm-none-eabi-objdump: '../../build/my_last_try-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-my_last_try-rom-ram-spar.elf': No such file
makefile:152: recipe for target '../../build/my_last_try-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-my_last_try-rom-ram-spar.elf' failed
Makefile:344: recipe for target 'my_last_try-BCM920737TAG_Q32' failed
make.exe[1]: *** [../../build/my_last_try-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-my_last_try-rom-ram-spar.elf] Error 1
make: *** [my_last_try-BCM920737TAG_Q32] Error 2
11:23:44 Build Finished (took 1s.124ms)
It seems that it can't make an elf-file. Can you help me to fix this?
Show LessI'm using bcm20732s with wiced smart 1.1.0, I have found all of app source code in 1.1.0, but I did NOT found any piece of code to tell me how to use security in 1.1.0.
In 2.x, it's easy to enable security, just comment out PASSKEY in hello sensor application sample.
I just want to know that how to initial security section in 1.1.0 if I want to use pass key.
Show LessHi All,
Let me start by saying I know close to nothing about C/C++ (and I'm trying hard to understand the iOS source).. With that said, I have gotten my WICED Sense kit to provide data.. I've figured out how to get the notifications from the sensors.. cool! Also, I have not modified the firmware - so all sensors are active.
So now, from javascript the kit appears to be sending in an ArrayBuffer; but I'm having a hard time trying to figure out what data is what Let me give you some examples...
let's say: data = the WICED Sense Kit ArrayBuffer data
when I write out to my console log this:
kitData = new Uint8Array(data);
I get this:
kitData.length array is 19 and contains:
11, 76, 0, 225, 255, 31, 0, 142, 255, 202, 255, 181, 0, 223, 3, 138, 2, 251, 253
I can only assume that's the sensor data?! Every 13th iteration, kitData shrinks down to a length of 7 and contains:
52, 155, 3, 210, 39, 247, 0
..again, assuming this is sensor data (probably temp, humidity, and pressure; as they are sent at less intervals because they change less).
if I used signed array:
kitData = new Int8Array(data);
array sizes are the same.. data is now signed..
11, 79, 0, -35, -1, 11, 0, -96, -2, 5, 0, -7, 1, -83, 6, 106, 3, -70, -3
52, -15, 1, -47, 39, -16, 0
..so I know from reading the blog that i need to read a bitmask from the packet to understand the subsequent data. I noted that in all cases, the first position of the data being sent is "11" (when the array size is 19) and "52" (when the size is 7).
..anyone have any clues as to how I may decipher this incoming data from JavaScript? Truly appreciate.
-Mike
Show LessHi,
I know that there is a few thread about the HCI UART but none explain why it is not possible to use the HCI UART as a peripheral UART.
As I understand it, the mode in which the UART will operate is based in the value of uart_rx during the reset.
HCI UART Rx = High (Programming mode)
HCI UART Rx = Low (Application mode)
And once in programming application, we can use it to output traces. If it can be used to output traces in application mode,
why can we not used it to transmit or receive anything ?
Is it really a limitation of the HW or just a lack of support for it the the Broadcom FW ?
Also, on the Anaren board, they short the SDA line to VCC to prevent the module from booting from the EEPROM to perform recovery.
According to them, that is how Broadcom does it also. Forcing a I2C line to VCC is not really I2C friendly. Is the idea only to prevent the reading from the EEPROM ? In that case, it seems that forcing the SDA to GND would be the way to do it.
Thanks,
Yves
Show LessDear Team
I am considering to develop an detecting algorithm using by Scan_Request event which has a BD_ADDR, although the BLE device is working on the Connectable undirected advertising event state.
Best Regards
Daniel
Show Less
Hi,
Probably that I don't know if additional trick needed for enabling the pairing + encryption for application hello_client and hello_sensor.
I've done to remove the the following comment on both hello_client.c and hello_sensor.c:
p.s I'm using SDK 2.2 on 20737 evb.
// Uncomment the following line to enable OOB pairing. Change oob_tk[] below to the desired key.
#define OOB_PAIRING
But I don't see the encryption happen neither from the log message nor from air packet from sniffer.
void hello_client_encryption_changed(HCI_EVT_HDR *evt)
{
UINT8 status = *((UINT8 *)(evt + 1));
ble_trace1("encryption changed: %02x\n", status);
blecen_encryptionChanged(evt);
}
void hello_sensor_encryption_changed(HCI_EVT_HDR *evt)
{
BLEPROFILE_DB_PDU db_pdu;
UINT8 *bda = emconninfo_getPeerPubAddr();
ble_trace2("hello_sample, encryption changed %08x%04x\n",
(bda[5] << 24) + (bda[4] << 16) +
(bda[3] << 😎 + bda[2],
(bda[1] << 😎 + bda[0]);
Show LessHi ,
can anyone tell me the difference between the wiced wifi, wiced smart and wiced sense?
Wiced wifi is for Wifi applications , Wiced smart supports bluetooth.
Which one is the development kit?
I need the clear overview of these IoT products. It is very confusing for a person who has limited technical knowledge.
Waiting for the reply....
Show LessPer this thread here: Re: BCM20737S recovery problems
I'm in the completely same trouble using a FTDI 3.3V torelant UART bridge. Really hoping to get any solution.
Show Less