mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-23 05:08:45 +00:00
[feat] add ble component
This commit is contained in:
parent
28f6fa8c50
commit
91a930f878
203 changed files with 82743 additions and 0 deletions
30
components/ble/ble_stack/services/dis.h
Normal file
30
components/ble/ble_stack/services/dis.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue