[feat] add ble component

This commit is contained in:
jzlv 2021-06-04 17:46:09 +08:00
parent 28f6fa8c50
commit 91a930f878
203 changed files with 82743 additions and 0 deletions

View file

@ -0,0 +1,30 @@
/** @file
* @brief GATT Device Information Service
*/
/*
* Copyright (c) 2018 Nordic Semiconductor ASA
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _DIS_H_
#define _DIS_H_
#ifdef __cplusplus
extern "C" {
#endif
#define AR_VENDOR_ID 0x0001
#define AR_PRODUCT_ID 0x0002
enum{
DIS_PNP_VID_SRC = 0x01,
USB_IMPL_VID
};
void dis_init(u8_t vid_src, u16_t vid, u16_t pid, u16_t pnp_ver);
#ifdef __cplusplus
}
#endif
#endif