Smart Bluetooth Forum Discussions
Dear BCM,
We have a strange issue that, after we build our app, and get the cgs file.
When the size of our app is over 20KB, the dedicated cgs file would be fail to download by Bluetool, but it could be suceed download by WICED directly.
What's the root cause ?? and how to solve this issue ?
Show LessHi,
We are using BCM20702B in one of our PoC project as a Bluetooth LE solution.
And we are getting illegal command response for HCI_BLE_VENDOR_CAP_OCF (0xFD53).
We want to know if the Opcode for below vendor specific HCI commands (for Bluetooth LE) are supported,
/* LE Get Vendor Capabilities Command OCF */
#define HCI_BLE_VENDOR_CAP_OCF (0xFD53 )
/* Multi adv OCF */
#define HCI_BLE_MULTI_ADV_OCF (0xFD54 )
/* Batch scan OCF */
#define HCI_BLE_BATCH_SCAN_OCF (0xFD56 )
If you could share us the HCI layer documentation then we can find out the exact Opcode for all vendor specific commands.
Thanks, Srinivas
Show LessOur design have 2kohm pull resistors for SPI1/I2C of BCM20736.This will cause about 2.3mA leakage current.
But if we remove this two pull resistors,the pcb is download ok,and work ok.
Is BCM20736 have pull resistors in interor?If not,I want to know what function with pull resistors?If we remove them ,Does it will affect other peripherals?
Show LessI have custom board with BCM20736s and this works well. I replaced BCM20736s for BCM20737s and the application starts but stops at the beginning. Anyone know why. I make target with Application-BCM920737TAG_Q32 download.
Show Lesswhere does one find more detailed info on definition and implementing configuration of the device?
Details on the meaning, use case or exceptions of the variables in this structure would be quite useful in knowing and understanding the product. is this hidden somewhere within the SDK?
Show LessDear support,
Do you know how to secure the mybeacon ?
Actually, we need to use the GnuPG like library to encrypt UUID with private key, and the APP will use public key to decrypt.
Does WICED Smart support ?
Best Regards,
Rush Chen
Show Lessthe spi2 works in master mode, and I set the spi2 clock(P03) with spiffyd_configure() function, write data with spiffyd_txData().
but the real frequency is always about 10MHZ.
the code is following :
void spiffy2_master_initialize(void)
{
// Use SPIFFY2 interface as master
spi2PortConfig.masterOrSlave = MASTER2_CONFIG;
// pull for MISO for master, MOSI/CLOCK/CS if slave mode
spi2PortConfig.pinPullConfig = INPUT_PIN_PULL_UP;
// Use P03 for CLK, P00 for MOSI and P01 for MISO
spi2PortConfig.spiGpioConfig = MASTER2_P03_CLK_P00_MOSI_P01_MISO;
// Initialize SPIFFY2 instance
spiffyd_init(SPIFFYD_2);
// Define this to the Port/Pin you want to use for CS.
// Port = P#/16 and PIN = P# % 16
// Configure the CS pin and deassert it initially.
// If enabling output, you only need to configure once. Use gpio_setPinOutput to toggle value being o/p
gpio_configurePin(SPI_CS_PORT, SPI_CS_PIN, GPIO_OUTPUT_ENABLE | GPIO_INPUT_DISABLE, 0);
// Configure the SPIFFY2 HW block
spiffyd_configure(SPIFFYD_2, SPI_SPEED, SPI_MSB_FIRST, SPI_SS_ACTIVE_LOW, SPI_MODE_3);
}
void writec(UINT8 data)
{
gpio_setPinOutput(SPI_CS_PORT, SPI_CS_PIN, 0);
gpio_setPinOutput(LCD_A0_PORT, LCD_A0_PIN, 0);
bleapputils_delayUs(1);
spiffyd_txData(SPIFFYD_2, 1 ,&data);
bleapputils_delayUs(1);
// gpio_setPinOutput(SPI_CS_PORT, SPI_CS_PIN, 1);
}
here is the oscillograph of the clock pin
Show Less
I believe that the mybeacon.c file is an example of a BLE Broadcaster type. Is there an example of a BLE Observer type? Also, how can I switch between Broadcaster and Observer dynamically in the same code?
I want each device to be able to broadcast packets periodically, but otherwise function as an observer and listen to all broadcast packets. I am also not clear from the mybeacon.c file how to modify the data packet within the advertisement with my own data, nor how much data I can embed within an advertisement..
Thanks
Show Less