目录

Code Description

The sample code focuses on the usage of each mode and omits irrelevant details. For details, please refer to the demo in the sample code.

Code Structure

No.

File Name

Description

01

onehop_demo.c

Showcases the main process of calling the OneHop APIs including obtaining the OneHop Engine version, initializing the OneHop Engine configuration, enabling the OneHop service, stopping the OneHop service, and deinitializing the OneHop configuration.

Download Code

To download the sample code, click OneHop Linux Demo.zip.