Smart Bluetooth Forum Discussions
Hello,
I'm trying to customize the GPIO settings in my project for the custom hardware that I have designed. I see that I need to do this in the main profile.h and bleprofile.h files in the include folder, but I want the change to only apply to the project I am working on and not all projects that use profile.h.
I originally copied both files to my local project directory, but the compiler doesn't appear to check the local directory before looking for them in the default include folder. I can FORCE it to find my file by replacing the include in the source files with ' #include ".\profile.h" '. This doesn't seem ideal as it requires changing it in each project file.
Is there a better way to do what I am attempting -- to customize bleprofile.h and profile.h for a single project? Thank you.
David
Show LessHi,
I made a custom board with BCM20736s as same as the
schematics of the BCM920737TAG-03 evaluation board. I tried the recovery and almost everything to solve this downloading problem with the forum. I am still unable to download the app. (hello_sensor-BCM920736TAG_Q32 download UART=COM8)
Download failed. This version of
the SDK only supports download to BCM20736A1 and BCM20737A1 devices.
Is there different platforms data which I need to put in ? or should I make some changes in HW?
Thx for help, guys
Min
Show LessHi,
I am trying to install this WICED SDK on a ubuntu linux PC. The installation stop saying "Eclipse is already running". I check the processes already running. I don't see Eclipse running.
Does anyone know what might be the problem?
thanks
Lokesh
Show LessNot sure exact changes on 2.2.1, but are you planning to release 2.2.1 for MAC soon?
Hi
I have more than 32 bit sensor data and i tried to send this data over BLE. I modify hello_sensor but enable to send sensor data. I have problem on db_pdu.pdu[6]='3' I can send only one number which is less than 10. How i can send complete integer value for example my sensor read temperature which is 200 degree Fahrenheit. Any one can explain me how i can send 32 bit data?
Show LessHello,
We have developed a DLL for WIN7/WIN8 that for WIN7 utilizes the WIDCOMM BLE Stack. The DLL is perfectly functional and has been thoroughly tested on both platforms the primary difference being that WIN7 utilizes the WIDCOMM stack whereas under WIN8 it utilizes native WIN8 BLE stack. This is not where we have experienced a strange issue it is with an Test Application that has been created using Visual Basic with Visual Studio 12.0. This app which executes all of our commands perfectly fine continually fails after a specific time which is typically always right around 110 seconds. We have stripped the VB app down to its bare essentials and traced it to the WIDCOMM app after a specified timeframe of right around 110 seconds never responds back to the DLL/Visual Basic application. We know that it is not a DLL issue as we have also created a Python app that does the exact same thing as the Visual Basic app and it will run essentially forever. There seems to be some sort of contention/conflict that is occurring inside the WIDCOMM stack that is causing this. We can provide full source code to help debug this in which the high level architecture is the BCM20736S communicates via the PUART and communicates with a MSP430 on the other side. We have created a Python app we have used to emulate the MSP430 which is known to work successfully as we have used it in WIN7/WIN8 and iOS/MAC development. We can provide this Python executable, BCM20736S source code, and the very simplified VB app which is also attached. I would need to find a way to securely provide you the BCM20736S source code as this is proprietary to the customer we are doing this work for. This is the very last checkbox on the project to get them into production. I can create a simple How To Word DOC that explains how to set this example up but it is rather straight forward the only thing that is needed is a USB-UART to be wired into the BCM20736S. We used our EMRF-20736S as the evaluation board since it was simple to connect into these pins but certainly the TAG3 board or any board with a BCM20736S that allows connection to PUART pins on P32/P33. Any assistance on this would be greatly appreciated to be able to get this product into production.
For the attached files the SimpleVB... = Simplified VB app that will produce failure at ~110second every time
20150602_DebugDLL... = WicedLeAPI.dll(used from WIDCOMM/Broadcom), uartslave.py/exe(Python Script that emulates the MSP430), bleapi.dll(our DLL we created for WIN7/WIN8 comprising of various WIDCOMM API functions compiled in a DLL), testmaster.py(Python script that runs essentially forever does exact same thing as bleptest.vb/exe), bleptest.vb/exe(full test VB app, full version of the SimpleVB App also attached)
Regards,
Frank
Show LessHow can I store large amounts of data on the flash using WICED Smart SDK ?
I am looking for a good document that is describing all the API's from the LE Stack in detail. There is a document directory in the WICED-smart SDK directory and it does have an API section, but that is lacking a lot of details. This API directory seems to be doxygen generated and a lot of API descriptions seem to be missing. When looking at the corresponding header files, it can be noticed that the API information is indeed not present for a lot of API's.
Is there a more complete document describing all the API's in more detail? I am for instance interested in the API for AES encryption (set_aes_key, aes_cbc_encrypt, ...), but cannot seem to find information with respect to the API usage of it.
Thanks
Show LessDear BCM,
When we develop and debug one central to several peripherals.
We have some information but confused us as below:
in : \WICED\WICED-Smart-SDK-2.1.1\WICED-Smart-SDK\Wiced-Smart\tier2\brcm\libraries\inc\thread_and_mem_mgmt.h
There is one function named cfa_mm_ConfigureMemoryPool()
The description above this function is:
////////////////////////////////////////////////////////////////////////////////////////////////////
/// Allows the application to configure the size and number of memory blocks in the general pool.
/// There are only 3 memory pools in the system, 0, 1 and 2. The following is the default
/// configuration of the pools:
/// pool[0].size = 32, pool[0].num = 28
/// pool[1].size = 64, pool[1].num = 6 + max_num_connections (= 4 by default)
/// pool[2].size = 264, pool[2].num = 3
/// If you want pool 2 to be 10 buffers with each being 272 bytes, then invoke it this way:
/// cfa_mm_ConfigureMemoryPool(CFA_MM_POOL_2, 272, 10);
/// Note that this can only be done only in the context of the APPLICATION_INIT function
/// (or the function that invokes bleapp_set_cfg). Calling this in any other context is undefined.
/// Making any of these pools larger than the defaults will reduce the amount of free RAM available
/// to the app. Use with caution.
/// If you are setting max number of connections using blecm_setmaxconnection(), make sure that this
/// function is invoked after setting max number of connections, or the behavior is undefined.
/// \param pool_id Pool ID of the pool being configured. Must be one of CFA_MM_POOL_X.
/// \param block_size Size of (in bytes) each buffer in this pool.
/// \param block_num Number of buffers to allocate in this pool.
/// \return TRUE on success, else failure.
////////////////////////////////////////////////////////////////////////////////////////////////////
/// If you are setting max number of connections using blecm_setmaxconnection(), make sure that this
/// function is invoked after setting max number of connections, or the behavior is undefined.
Question I: In our real test, with the current setting, BCM20736 could create as max as 4 connections at one time. if we want to create connections up to 8, how to configurate BCM20736 in APP layer?
Question II: We refer to the app of hello_client:
In hello_client_create();
{
......
//enable multi connection
blecm_ConMuxInit(HELLO_CLIENT_MAX_SLAVES); // Here we define HELLO_CLIENT_MAX_SLAVES 7
blecm_enableConMux();
blecm_enablescatternet(); // What does this function do ??
...
}
the function of blecm_setmaxconnection() and cfa_mm_ConfigureMemoryPool() is not called in app of hello_client, where are the two functions called ??
Question III: How to call the configuration functions in APP layter to let BCM20736 support 8 connections at one time ?
Many thanks...