- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Uncomment below lines in include/wiced_defaults.h then build fails:
#define WPRINT_ENABLE_SUPPLICANT_INFO
#define WPRINT_ENABLE_SUPPLICANT_DEBUG
#define WPRINT_ENABLE_SUPPLICANT_ERROR
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error occurs because the functions wwd_event_to_string(), wwd_status_to_string(), wwd_reason_to_string() are not defined in wiced_supplicant.c. They are defined in wwd_wifi.c. As a workaround, comment the SUPPLICANT_DEBUG(("[%s()] : L%d : Event type = [%s], Status = [%s], Reason = [%s]\n", __FUNCTION__, __LINE__, wwd_event_to_string(event_header->event_type),
wwd_status_to_string(event_header->status), wwd_reason_to_string(event_header->reason) )) statement in supplicant_external_event_handler(). We will look into this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error occurs because the functions wwd_event_to_string(), wwd_status_to_string(), wwd_reason_to_string() are not defined in wiced_supplicant.c. They are defined in wwd_wifi.c. As a workaround, comment the SUPPLICANT_DEBUG(("[%s()] : L%d : Event type = [%s], Status = [%s], Reason = [%s]\n", __FUNCTION__, __LINE__, wwd_event_to_string(event_header->event_type),
wwd_status_to_string(event_header->status), wwd_reason_to_string(event_header->reason) )) statement in supplicant_external_event_handler(). We will look into this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know the problem and I know how to fix it.
The problem is these functions are static functions that can only be accessed by wwd_wifi.c.
In additional, these function are only available when WPRINT_ENABLE_WWD_DEBUG is defined.
So you will hit compile error if SUPPLICANT_DEBUG is enabled but WPRINT_ENABLE_WWD_DEBUG is not defined.
The fix should be simple, I reported it here so you can make it work out-of-box in next release.