資源簡介
實現自動連接指定的外設,可指定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個文件信息
評論
共有 條評論