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

Implement reset for v2

parent de61429f
......@@ -282,11 +282,3 @@ uint32_t conn_systemreset(adapter_t *adapter)
return encode_decode(adapter, encode_function, nullptr);
}
// uint32_t conn_systemreset_enc(uint8_t * const p_buf,
// uint32_t * const p_buf_len)
// {
// printf("lololo\n");
// SER_REQ_ENC_BEGIN(CONN_SYSTEMRESET);
// SER_REQ_ENC_END;
// }
......@@ -66,8 +66,8 @@ extern "C" {
* @retval NRF_SUCCESS Encoding success.
* @retval NRF_ERROR_INTERNAL Encoding failure. Transport error.
*/
uint32_t conn_systemreset_enc(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
......
......@@ -361,7 +361,7 @@ uint32_t ble_enable_req_enc(ble_enable_params_t * p_ble_enable_params,
uint32_t ble_enable_rsp_dec(uint8_t const * const p_buf,
uint32_t packet_len,
uint32_t * const p_result_code);
/**@brief Encodes @ref sd_ble_opt_get command request.
*
* @sa @ref nrf51_opt_get_encoding for packet format,
......@@ -473,6 +473,10 @@ uint32_t ble_event_dec(uint8_t const * const p_buf,
ble_evt_t * const p_event,
uint32_t * const p_event_len);
uint32_t conn_systemreset_enc(uint8_t * const p_buf,
uint32_t * const p_buf_len);
/** @} */
#ifdef __cplusplus
}
......
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