目录

Linux Sample Code

Code Description

This sample code provides the header files and code for southbound adaptation APIs and northbound APIs of the Huawei Share feature in Linux.

Code Structure

File

Description

sharekit_api.h

Share Engine API header file.

sharekit_def.h

Share Engine structure header file.

driver_adapt.h

Request API/Structure header file.

driver_ble_demo_rx.c

Sample code for implementing the Bluetooth request API based on the BlueZ when integrating the receiver functions.

driver_ble_ demo_tx.c

Sample code for implementing the Bluetooth request API based on the BlueZ when integrating the sender functions.

sharekit_demo_rx.c

Sample code for integrating the receiver functions.

sharekit_demo_tx.c

Sample code for integrating the sender functions.

Sample Code

This project provides the sample code that enables file transfer between a Linux device and a Huawei phone.

Sample Code

Download Package

Find It on GitHub

Linux sample code

huawei-share-client-linux-demo.zip

Click here