Wi-Fi Combo Forum Discussions
Hi
I'm using WICED SDK 3.5.2 on a board with a BCM943341 WiFi/BT combo chip.
I have previously been using the conn_id in the event_data's connection_status and attribute_request to distinguish between different clients, mostly Android. The code is pretty similar to the ble_hello_sensor example, and this has been working fine, until recently.
I have tried to revert the code to a previous git commit, both on the server and client sides, but I can't get it work any more.
What happens is that the first client connects ok, I get a GATT_CONNECTION_STATUS_EVT about the first connection and usually with the conn_id 2.
Then, when the 2nd client connects, it will sometimes cause a new GATT_CONNECTION_STATUS_EVT, this time often with conn_id 258, but more often, it will not cause a GATT_CONNECTION_STATUS_EVT at all, but simply hi-jack the old connection and read/write data using conn_id 2.
Anyone knows what's going on?
Show LessHi,
We are using Broadcom 43362 module. We have only one Internal Antenna on module and no Auxiliary antenna is connected to module.
We are initializing the Wi-Fi 43362 module successfully, then we are setting Antenna to Antenna_1, Antenna_2 and Antenna_Auto using wwd_wifi_select_antenna() API. But in case of setting Antenna_2, even though there is no auxiliary antenna connected to module wwd_wifi_select_antenna() API returns success and Wi-Fi module successfully get provisioned as STATION mode and also received IP address to Wi-Fi module.
We have following question on this:
1. Our expectation is that, if there is no Auxiliary Antenna, then setting Antenna_2 should failed, shouldn't it?
2. We are setting Antenna after initilization of Wi-Fi module using wwd_wifi_select_antenna(), do we have to any configuration before setting Antenna value?
Please point us any test application or Document if any.
Thanks & Regards,
Santosh Itkare
Show LessHi ,
Q1 : I am using sdk-2.4.0 , in Eclipse IDE , LINUX 32-bit ,
how to include shared objects in eclipse ??
Note : above image describes the folder content - c - code which sends data to cloud
Q2 : I have a c- code that will send data to TCUP cloud, its working fine[ while running make-comment in linux console] , my code will send data to cloud and retrieve.
Now i have to include this code inside UART Setup and UART Messages Over Webpage so whatever data i give via uart get updated in Cloud . what all are the files i have to inlcude inside uart_rxtx folder ?? How to do this ??
[i just put all files inside uart_rxtx and changed C-code main into some fuction name (like :Cloud_Start (void)) , when i tried to call this from uart_rxtx.c showing undefined reference to Cloud_Start , i google it this issue found linking has to be done]
Please help me to solve this , Thank you..
Show LessHi,
After testing OTA from SDK-3.1.2 to SDK-3.5.2.
The application no longer work because load filesystem fails.
In my case, if I download the image built with SDK-3.5.2 directly, it looks ok.
However, If I OTA to the image built with SDK-3.5.2, the firmware doesn't work.
Tracing the issue and found after OTA,
app->app_header_location.detail.external_fixed.location becomes 0.
Below is the debug code:
wiced_result_t wiced_waf_app_open( uint8_t app_id, wiced_app_t* app )
{
if ( wiced_dct_get_app_header_location( app_id,
&app->app_header_location ) != WICED_SUCCESS )
{
return WICED_ERROR;
}
printf("app_id=%u app->app_header_location.detail.external_fixed.location=%u\n",
(unsigned) app_id, (unsigned)app->app_header_location.detail.external_fixed.location);
app->offset = 0x00000000;
app->app_id = app_id;
app->last_erased_sector = 0xFFFFFFFF;
return WICED_SUCCESS;
}
Then I got below debug message:
app_id=3 app->app_header_location.detail.external_fixed.location=0
I think the problem is due to the data structure change in platform_dct_header_t.
In SDK-3.5.2:
typedef struct
{
unsigned long full_size;
unsigned long used_size;
unsigned long magic_number;
char write_incomplete;
char app_valid;
char mfg_info_programmed;
char initial_write; /* first time DCT is written at manufacture */
unsigned long sequence;
unsigned long crc32;
boot_detail_t boot_detail;
image_location_t apps_locations[ DCT_MAX_APP_COUNT ];
void (*load_app_func)( void ); /* WARNING: TEMPORARY */
#ifdef DCT_HEADER_ALIGN_SIZE
uint8_t padding[DCT_HEADER_ALIGN_SIZE - sizeof(struct platform_dct_header_s)];
#endif
} platform_dct_header_t;
In SDK-3.1.2/SDK-3.4.0-awt:
typedef struct
{
unsigned long full_size;
unsigned long used_size;
char write_incomplete;
char is_current_dct;
char app_valid;
char mfg_info_programmed;
unsigned long magic_number;
boot_detail_t boot_detail;
image_location_t apps_locations[ DCT_MAX_APP_COUNT ];
void (*load_app_func)( void ); /* WARNING: TEMPORARY */
#ifdef DCT_HEADER_ALIGN_SIZE
uint8_t padding[DCT_HEADER_ALIGN_SIZE - sizeof(struct platform_dct_header_s)];
#endif
} platform_dct_header_t;
The platform_dct_header_t is the format stored in storage, change it in new sdk will
break compatibility.
I have no idea how to fix it, please advice.
Show Lessis there a way to change the stop output voltage of the PWM pin I am using ( GPIO_11 ) . I am trying to create pulses at a specific frequency but the pin when stoped ( timer disable ) sets to 3.3V.. I want to be able to have to go to zero V.
I have tried changing the OC polarity to Low but that did not work .Changing the duty cycle and not stopping the PCM timer does not produce good results.
thanks
TIM_OCPolarity_Low
Show LessI am trying to get the PWM working on the output pin to drive an external LED. However, in using the temp_control sample application ( although a different board ) , I cannot get it to work . Any ideas what I am doing wrong. I want to use the WIFI IOT board for this application ( and not the other boards ) . Does it support external PWM to drive an LED ( for example? )
thanks
Rob
Show LessHi!
Our customer is using BCM43430 SoC & have several questions:
1) Can it work in dual role mode simultaneously?
2) What is the maximum simultaneous connections number?
They use Bluez 5.40, kernel 4.7.2 on Allwinner.
Show LessHello,
We are working on a product which is about to get certified. The product runs on WICED Wi-Fi SDK using both Wi-Fi and BLE. The laboratory sent us the list of requirements and tests we need to prepare. For example, here is what they asked for Wi-Fi b/g/n tests :
• Continuous transmission (with 100 % duty cycle) at the rated maximum power, modulated by the test data sequence and code sequence (chip sequence) that shall spread the transmitter power throughout the power envelope. The type of modulation (DSSS or OFDM) and bit rate must also be varied and selected within all the different possible schemes of modulation and channel spacing. The tests are performed in DSSS mode and OFDM mode with the bit rate which is the worst case.
• Selection of individual RF channels in the frequency range for both transmission and reception modes. The tests are performed at low, middle and high channels.
• If the output RF power is variable or selectable, it is necessary in the test mode the possibility of selection of the highest output RF power.
• Selection of Transmission or Reception/stand-by mode separately.
• If the equipment supports MIMO (more than 1 transmission chain capable of simultaneous transmission) it is necessary to implement the possibility of selection of each transmission chain separately and selection of simultaneous transmission in several chains.
I noticed that there is a dedicated application in /apps/test/mfg_test directory, so I tried it on a BCM943341WCD1 development board. It seems to contain everything needed for laboratory tests.
Bad point is that on our product, we don't have any serial communication output (i.e no FTDI on USB port), but this application requires to be linked with a computer, so we can't use it as it is.
So, I thought about developping several applications that satisfy laboratory requirements, based on the code used in /apps/test/mfg_test, but I can't find exactly where this code is ...
According to the requirements listed above, can you please give me some indications on what I can use in WICED SDK to prepare such programs ?
Thanks,
Regards.
SDK version : WICED 3.3.1
Microcontroller : STM32F415
Wi-Fi/BT chip : Murata Type 1BW (based on BCM43341)
Show LessI've gotten a WICED module from Adafruit ( their Feather WICED ) and it seems like they've done some serious work to get it onboard for the Arduino environment, but I'm not sure they've gotten it to be a full throttle as the WICED can handle. I've gone through the hoops and jumps and gotten their code to complie for their examples buy I'm still trying to figure out exactly how they handle parts like their python DFU script. I'm imagining that the Arduino IDE is a great conceptual designing tool, and good for familiarity for those like me who already use that, but I feel it probably strips the guts out of a lot of features. Does anyone have experience who can relate the two?
From what I can see:
Arduino Pros:
familiarity
some common libraries ported from Arduino side for relatively quick cross compile-ability
...
Arduino Cons:
circuitous backdoor engineering
I've heard of problems with Interrupts
seems a layer off of bare metal
Cypress/Broadcom SDK Pros:
Native Native Native
Industry standard
full throttle development
SDK Cons;
learning curve ?
What are the pros and cons as you see them?
Show LessIn bcm43455 FW, I would like to adjust threshold of Adaptivity active, transmission stop by this level.
Current parameter is below
eu_edthresh2g=-65
eu_edthresh5g=-65
This information is descrived in nvram_ap6255.txt, at /mnt/mtd.
These value are only avalilable -75 to lower, -75dBm MAX.
If I set threshold value is -65dBm by "eu_edthresh2g=-65", adaptivity active level is still -75dBm.
Could somene instruct how to adjust threshold AND are there any other parameter to enable threshold?
Thank you
Show Less