资源简介
实现自动连接指定的外设,可指定ble名字或者mac.并实现数据通信
代码片段和文件信息
/******************************************************************************
@file phy.c
@brief This file implements the Physical layer (PHY) module. This module
provides an abstraction layer to the radio hardware.
Group: WCS BTS
Target Device: CC2540 CC2541
******************************************************************************
Copyright (c) 2009-2016 Texas Instruments Incorporated
All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software his/her employer (which must be your employer)
and Texas Instruments Incorporated (the “License“). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use and you acknowledge that the Software may not be modified
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver which is integrated into your product. Other than for
the foregoing purpose you may not use reproduce copy prepare derivative
works of modify distribute perform display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED 揂S IS?WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED
INCLUDING WITHOUT LIMITATION ANY WARRANTY OF MERCHANTABILITY title
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT
NEGLIGENCE STRICT LIABILITY CONTRIBUTION BREACH OF WARRANTY OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL SPECIAL INDIRECT PUNITIVE
OR CONSEQUENTIAL DAMAGES LOST PROFITS OR LOST DATA COST OF PROCUREMENT
OF SUBSTITUTE GOODS TECHNOLOGY SERVICES OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF) OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software
contact Texas Instruments Incorporated at www.TI.com.
******************************************************************************
Release Name: ble_sdk_1.4.2.2
Release Date: 2016-06-09 06:57:09
*****************************************************************************/
/*******************************************************************************
* INCLUDES
*/
#include “phy.h“
#include “phy_image.h“
#include “hal_assert.h“
/*******************************************************************************
* MACROS
*/
#define RF_CHAN_TO_BLE_FREQ(x) ( ((x) << 1) + PHY_BLE_base_FREQ )
#define BLE_FREQ_TO_RF_CHAN(x) ( ((x) - PHY_BLE_base_FREQ) >> 1 )
//
#define PHY_ASSERT(x) HAL_ASSERT(x)
/****
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-06-29 18:20 Central自动连接code\
目录 0 2018-06-29 02:18 Central自动连接code\BLE-CC254x-1.4.2.2\
目录 0 2018-06-29 02:18 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\
目录 0 2018-06-29 02:18 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\BTool\
文件 719360 2016-05-09 13:03 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\BTool\BTool_Setup.msi
文件 428032 2016-05-09 13:03 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\BTool\setup.exe
目录 0 2018-06-29 02:18 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\Drivers\
文件 10259 2016-06-09 06:57 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\Drivers\ccxxxx_usb_cdc.cat
文件 3408 2016-06-09 06:57 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\Drivers\ccxxxx_usb_cdc.inf
目录 0 2018-06-29 02:18 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\
文件 333723 2016-06-09 07:20 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2540MiniDkDemoSlave.hex
文件 447710 2016-06-09 07:16 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2540_SmartRF_HostTestRelease_All.hex
文件 348232 2016-06-09 07:22 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2540_SmartRF_SimpleBLECentral.hex
文件 324885 2016-06-09 07:26 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2540_SmartRF_SimpleBLEPeripheral.hex
文件 359344 2016-06-09 07:19 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2540_USBdongle_HIDAdvRemoteDongle.hex
文件 458250 2016-06-09 07:17 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2540_USBdongle_HostTestRelease_All.hex
文件 322496 2016-06-09 07:25 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2540_keyfob_SimpleBLEPeripheral.hex
文件 362944 2016-06-09 07:27 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2541DK_BIM_SensorTagOadImgA.hex
文件 324634 2016-06-09 07:20 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2541MiniDkDemoSlave.hex
文件 371294 2016-06-09 07:18 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2541_ARC_HIDAdvRemote.hex
文件 437985 2016-06-09 07:14 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2541_SmartRF_HostTestRelease_All.hex
文件 339684 2016-06-09 07:23 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2541_SmartRF_SimpleBLECentral.hex
文件 314453 2016-06-09 07:27 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2541_SmartRF_SimpleBLEPeripheral.hex
文件 312077 2016-06-09 07:26 Central自动连接code\BLE-CC254x-1.4.2.2\Accessories\HexFiles\CC2541_keyfob_SimpleBLEPeripheral.hex
目录 0 2018-06-29 02:18 Central自动连接code\BLE-CC254x-1.4.2.2\Components\
目录 0 2018-06-29 02:18 Central自动连接code\BLE-CC254x-1.4.2.2\Components\ble\
目录 0 2018-06-29 02:18 Central自动连接code\BLE-CC254x-1.4.2.2\Components\ble\controller\
目录 0 2018-06-29 02:18 Central自动连接code\BLE-CC254x-1.4.2.2\Components\ble\controller\CC254x\
目录 0 2018-06-29 02:18 Central自动连接code\BLE-CC254x-1.4.2.2\Components\ble\controller\CC254x\include\
文件 118075 2016-06-09 06:57 Central自动连接code\BLE-CC254x-1.4.2.2\Components\ble\controller\CC254x\include\ll.h
文件 3485 2016-06-09 06:57 Central自动连接code\BLE-CC254x-1.4.2.2\Components\ble\controller\CC254x\include\ll_math.h
............此处省略550个文件信息
相关资源
- 代码整洁之道clean_code中文完整版.带书
- clean code-代码整洁之道(中文完整版
- 2019.5 ios开发 xcode12.3(16F156)最新真机
- Xcode 12.4(16G114)真机调试包.zip
- NVIDIA Video Codec SDK 8.0
- openvx_sample_1.2.tar.bz2
- MyBatisCodeHelperPro2.8.7 2020.3版本可用
- 亲测通过CodeSmith Generator 7.1.0 最新版原
- EtherCATSlaveStackCodeTool5.12.rar
- CC2540/CC2541主从一体化透传源码支持串
- LearningOpenCV_Code.rar
- Windows API Code Pack 1.1.zip
- iOS 9.3 Xcode开发包
- 12.4 (16G77)Xcode支持包.zip
- 百思不得姐源代码(xcode)
- Flash游戏合集(Flash Game Development_Cod
- CodeSYS 运动控制程序
- xcode12.3最新真机/模拟器包。。。。
- 摔跤报警器-一个小的动手项目
- AfterCodecs v1.5.0一键安装版 带汉化
- DevExpress CodeRush v12.1 破解版
- Funcode自制游戏
- Codesnitch pro
- xocde真机测试包12.3.zip
- xcode 12.2真机测试包
- clean code(中文完整版) 带书签
- SublimeCodeIntel插件
- Xcode9.X支持ios12.1真机调试文件
- iOS12.2DeveloperDiskimage
- iOS12.1 DeveloperDiskimage
评论
共有 条评论