spp_dev_init.c
来自「蓝牙虚拟串口程序1 设备A BLUELAB4.0」· C语言 代码 · 共 42 行
C
42 行
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2008
Part of BlueLab 4.0.1-release
FILE NAME
spp_dev_init.h
DESCRIPTION
Handles initialisation procedures of spp dev A application
*/
/****************************************************************************
Header files
*/
#include "spp_dev_init.h"
#include "spp_dev_private.h"
#include <spp.h>
/****************************************************************************
NAME
sppDevInit
DESCRIPTION
Initialisation of Spp profile
RETURNS
void
*/
void sppDevInit()
{
spp_init_params init;
init.client_recipe = 0;
init.size_service_record = 0;
init.service_record = 0;
init.no_service_record = 0;
/* Initialise the spp profile lib, stating that this is device A */
SppInitLazy(getAppTask(), getAppTask(), &init);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?