- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would like to call our method to send printf data via wifi when the printf such as WPRINT_APP_INFO/ERROR/DEBUG is executed. Firstly, I tried to used wiced_log_init in reference to Logs ,a simple introduce in Wiced release . However, I cannot get have good result. This method is seemed not to support to switch WPRINT_APP_INFO to log output. Is there other solution?
BR, Hiroyuki
Solved! Go to Solution.
- Tags:
- cyw43907
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I resolve this issue. Thanks everyone for giving advice.
I show the fixed points.
・wwd_debug.h
From #define WPRINT_APP_INFO(args) WPRINT_MACRO(args)
TO #define WPRINT_APP_INFO(args) do {application_printf args;} while(0==1)
・my_app.c
int application_printf(const char *pcFormat, ...){
//Some Task
}
BR,
Hiroyuki