Commit c758e903 authored by Chun Fan's avatar Chun Fan
Browse files

Change names

parent 2145f173
......@@ -43,7 +43,7 @@
#include "uart_boost.h"
#include "uart_settings_boost.h"
#include "serial_port_enum.h"
#include "conn_systemreset.h"
#include "conn_systemreset_app.h"
#include "ble_common.h"
#include <stdlib.h>
......@@ -190,7 +190,7 @@ uint32_t sd_rpc_log_handler_severity_filter_set(adapter_t *adapter, sd_rpc_log_s
uint32_t sd_rpc_conn_reset(adapter_t *adapter)
{
encode_function_t encode_function = [&](uint8_t *buffer, uint32_t *length) -> uint32_t {
return conn_systemreset(buffer, length);
return conn_systemreset_enc(buffer, length);
};
return encode_decode(adapter, encode_function, nullptr);
......
......@@ -36,10 +36,10 @@
*/
#include "ble_serialization.h"
#include "conn_systemreset.h"
#include "conn_systemreset_app.h"
uint32_t conn_systemreset(uint8_t * const p_buf,
uint32_t * const p_buf_len)
uint32_t conn_systemreset_enc(uint8_t * const p_buf,
uint32_t * const p_buf_len)
{
SER_ASSERT_NOT_NULL(p_buf);
SER_ASSERT_NOT_NULL(p_buf_len);
......
......@@ -77,8 +77,8 @@ enum CONN_SVCS
* @retval NRF_SUCCESS Encoding success.
* @retval NRF_ERROR_INTERNAL Encoding failure. Transport error.
*/
uint32_t conn_systemreset(uint8_t * const p_buf,
uint32_t * const p_buf_len);
uint32_t conn_systemreset_enc(uint8_t * const p_buf,
uint32_t * const p_buf_len);
/** @} */
#ifdef __cplusplus
......
......@@ -11,10 +11,10 @@
*/
#include "ble_serialization.h"
#include "conn_systemreset.h"
#include "conn_systemreset_app.h"
uint32_t conn_systemreset(uint8_t * const p_buf,
uint32_t * const p_buf_len)
uint32_t conn_systemreset_enc(uint8_t * const p_buf,
uint32_t * const p_buf_len)
{
SER_REQ_ENC_BEGIN(CONN_SYSTEMRESET);
SER_REQ_ENC_END;
......
......@@ -79,8 +79,8 @@ enum CONN_SVCS
* @retval NRF_SUCCESS Encoding success.
* @retval NRF_ERROR_INTERNAL Encoding failure. Transport error.
*/
uint32_t conn_systemreset(uint8_t * const p_buf,
uint32_t * const p_buf_len);
uint32_t conn_systemreset_enc(uint8_t * const p_buf,
uint32_t * const p_buf_len);
/** @} */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment