icmp: add example and unitest

This commit is contained in:
suda-morris
2019-10-13 19:01:33 +08:00
committed by bot
parent fa32a4bd93
commit dc6acf0033
12 changed files with 1122 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
/* Ping command
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Register Ping command
*
*/
void register_ping(void);
#ifdef __cplusplus
}
#endif