SDK-3.7.0: wiced_dct_write_wifi_config_section write to wrong section

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

wiced_dct_read_wifi_config_section() read from DCT_WIFI_CONFIG_SECTION,

but wiced_dct_write_wifi_config_section() write to DCT_SECURITY_SECTION.

I believe current code is simply wrong.

I found a very old thread about this bug report.

https://community.cypress.com/message/17842#17842

I'm surprised it's still not fixed in latest SDK.

0 Likes
2 Replies
Anonymous
Not applicable

I am seeing 0XFFs on my application DCT upon boot. Have you seen this issue?

DCT reads FFFFF's after reboot

0 Likes
CaWo_1798781
Level 3
Level 3
5 likes given First like received First like given

Functions that write directly to a configuration section has been deprecated since 3.x.x, indicated in include/wiced_framework.h,

extern wiced_result_t DEPRECATE( wiced_dct_write_wifi_config_section( const platform_dct_wifi_config_t* wifi_config_dct ) );

although I must say it looks okay in WICED 2.4.1.

Use wiced_dct_write instead, along with the corresponding DCT locks and unlocks.

The thread you mentioned is locked, so can't post this message there

0 Likes