Add ping API set to library