ESP8266 Developer Zone The Official ESP8266 Forum 2017-02-12T13:32:39+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3341 2017-02-12T13:32:39+08:00 2017-02-12T13:32:39+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3341&p=11297#p11297 <![CDATA[Re: wrong comments in nonos_sdk]]>
We will roll the edits into the next release.

Statistics: Posted by Guest — Sun Feb 12, 2017 1:32 pm


]]>
2017-02-09T19:52:25+08:00 2017-02-09T19:52:25+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3341&p=11289#p11289 <![CDATA[wrong comments in nonos_sdk]]>

Code:

/******************************************************************************
 * FunctionName : espconn_port
 * Description  : access port value for client so that we don't end up bouncing
 *                all connections at the same time .
 * Parameters   : none
 * Returns      : access port value
*******************************************************************************/

uint32 espconn_port(void);

/******************************************************************************
 * FunctionName : espconn_set_opt
 * Description  : access port value for client so that we don't end up bouncing
 *                all connections at the same time .
 * Parameters   : none
 * Returns      : access port value
*******************************************************************************/

sint8 espconn_set_opt(struct espconn *espconn, uint8 opt);

Obviously there are mistakes in comments.

in at_custom.h

Code:

/**
  * @brief  get string form at cmd line.the maybe alter pSrc
  * @param  p_dest: the buffer to be placed result
  *         p_src: at cmd line string
  *         max_len :max len of string excepted to get
  * @retval None
  */
int32 at_data_str_copy(char *p_dest, char **p_src, int32 max_len);

In SDK_API_Reference, this function returns length of string


hope to change.

Statistics: Posted by mmmmar — Thu Feb 09, 2017 7:52 pm


]]>