实例介绍
【实例截图】
【核心代码】
├─Components
│ ├─ble
│ │ ├─controller
│ │ │ └─include
│ │ │ ll.h
│ │ │ ll_math.h
│ │ │ ll_sleep.h
│ │ │ ll_timer2.h
│ │ │ phy.h
│ │ │ phy_image.h
│ │ │
│ │ ├─hci
│ │ │ hci_data.h
│ │ │ hci_event.h
│ │ │ hci_tl.h
│ │ │
│ │ ├─host
│ │ │ gatt_uuid.c
│ │ │ linkdb.h
│ │ │
│ │ └─include
│ │ att.h
│ │ bcomdef.h
│ │ gap.h
│ │ gatt.h
│ │ gatt_uuid.h
│ │ hci.h
│ │ l2cap.h
│ │ sm.h
│ │
│ ├─hal
│ │ ├─common
│ │ │ hal_assert.c
│ │ │ hal_drivers.c
│ │ │
│ │ ├─include
│ │ │ hal_adc.h
│ │ │ hal_assert.h
│ │ │ hal_board.h
│ │ │ hal_defs.h
│ │ │ hal_drivers.h
│ │ │ hal_flash.h
│ │ │ hal_key.h
│ │ │ hal_lcd.h
│ │ │ hal_led.h
│ │ │ hal_rpc.h
│ │ │ hal_sleep.h
│ │ │ hal_timer.h
│ │ │ hal_uart.h
│ │ │
│ │ └─target
│ │ ├─CC2540EB
│ │ │ hal_adc.c
│ │ │ hal_aes.c
│ │ │ hal_aes.h
│ │ │ hal_board_cfg.h
│ │ │ hal_ccm.h
│ │ │ hal_crc.c
│ │ │ hal_crc.h
│ │ │ hal_dma.c
│ │ │ hal_dma.h
│ │ │ hal_flash.c
│ │ │ hal_key.c
│ │ │ hal_lcd.c
│ │ │ hal_led.c
│ │ │ hal_mcu.h
│ │ │ hal_sleep.c
│ │ │ hal_startup.c
│ │ │ hal_timer.c
│ │ │ hal_types.h
│ │ │ hal_uart.c
│ │ │ _hal_uart_dma.c
│ │ │ _hal_uart_isr.c
│ │ │ _hal_uart_spi.c
│ │ │
│ │ ├─CC2540USB
│ │ │ │ hal_adc.c
│ │ │ │ hal_aes.c
│ │ │ │ hal_aes.h
│ │ │ │ hal_board_cfg.h
│ │ │ │ hal_crc.c
│ │ │ │ hal_crc.h
│ │ │ │ hal_dma.c
│ │ │ │ hal_dma.h
│ │ │ │ hal_flash.c
│ │ │ │ hal_key.c
│ │ │ │ hal_lcd.c
│ │ │ │ hal_led.c
│ │ │ │ hal_mcu.h
│ │ │ │ hal_sleep.c
│ │ │ │ hal_startup.c
│ │ │ │ hal_timer.c
│ │ │ │ hal_types.h
│ │ │ │ hal_uart.c
│ │ │ │ _hal_uart_dma.c
│ │ │ │ _hal_uart_isr.c
│ │ │ │ _hal_uart_spi.c
│ │ │ │ _hal_uart_usb.c
│ │ │ │
│ │ │ └─usb
│ │ │ ├─class_cdc
│ │ │ │ usb_cdc.h
│ │ │ │ usb_cdc_descriptor.s51
│ │ │ │ usb_cdc_hooks.c
│ │ │ │ usb_cdc_hooks.h
│ │ │ │ usb_firmware_library_config.c
│ │ │ │ usb_firmware_library_config.h
│ │ │ │ usb_firmware_library_headers.h
│ │ │ │
│ │ │ ├─class_hid
│ │ │ │ usb_class_requests.c
│ │ │ │ usb_class_requests.h
│ │ │ │ usb_firmware_library_config.c
│ │ │ │ usb_firmware_library_config.h
│ │ │ │ usb_firmware_library_headers.h
│ │ │ │ usb_hid.c
│ │ │ │ usb_hid.h
│ │ │ │ usb_hid_descriptor.s51
│ │ │ │ usb_hid_hooks.c
│ │ │ │ usb_hid_reports.c
│ │ │ │ usb_hid_reports.h
│ │ │ │
│ │ │ ├─driver
│ │ │ │ ccxxxx_usb_cdc.inf
│ │ │ │
│ │ │ └─library
│ │ │ │ usb_descriptor.h
│ │ │ │ usb_framework.h
│ │ │ │ usb_reg.h
│ │ │ │ usb_standard_requests.c
│ │ │ │ usb_standard_requests.h
│ │ │ │ usb_suspend.h
│ │ │ │
│ │ │ ├─cc2540
│ │ │ │ usb_board_cfg.h
│ │ │ │ usb_interrupt.c
│ │ │ │ usb_suspend.c
│ │ │ │
│ │ │ ├─cc2540_hid
│ │ │ │ usb_board_cfg.h
│ │ │ │ usb_interrupt.c
│ │ │ │ usb_suspend.c
│ │ │ │
│ │ │ ├─usb
│ │ │ │ usb_descriptor_parser.c
│ │ │ │ usb_descriptor_parser.h
│ │ │ │ usb_framework.c
│ │ │ │ usb_framework_structs.h
│ │ │ │ usb_interrupt.h
│ │ │ │
│ │ │ └─usb_hid
│ │ │ usb_descriptor_parser.c
│ │ │ usb_descriptor_parser.h
│ │ │ usb_framework.c
│ │ │ usb_framework_structs.h
│ │ │ usb_interrupt.h
│ │ │
│ │ ├─CC2541ARC
│ │ │ AIR_MOTION_Lib.h
│ │ │ AIR_MOTION_LIB_3G3A-Banked.r51
│ │ │ AIR_MOTION_LIB_3G3A-NEAR.r51
│ │ │ hal_accel.c
│ │ │ hal_accel.h
│ │ │ hal_aes.c
│ │ │ hal_aes.h
│ │ │ hal_buzzer.c
│ │ │ hal_buzzer.h
│ │ │ hal_drivers.c
│ │ │ hal_drivers.h
│ │ │ hal_gyro.c
│ │ │ hal_gyro.h
│ │ │ hal_i2c.c
│ │ │ hal_i2c.h
│ │ │ hal_key.c
│ │ │ hal_mcu.h
│ │ │ hal_motion.c
│ │ │ hal_motion.h
│ │ │ hal_sleep.c
│ │ │ hal_types.h
│ │ │ stdbool.h
│ │ │ stdint.h
│ │ │
│ │ └─CC2541ST
│ │ hal_acc.c
│ │ hal_acc.h
│ │ hal_aes.c
│ │ hal_aes.h
│ │ hal_assert.c
│ │ hal_bar.c
│ │ hal_bar.h
│ │ hal_board_cfg.h
│ │ hal_crc.c
│ │ hal_crc.h
│ │ hal_dma.c
│ │ hal_dma.h
│ │ hal_flash.c
│ │ hal_gyro.c
│ │ hal_gyro.h
│ │ hal_humi.c
│ │ hal_humi.h
│ │ hal_i2c.c
│ │ hal_i2c.h
│ │ hal_interrupt.c
│ │ hal_irtemp.c
│ │ hal_irtemp.h
│ │ hal_keys.c
│ │ hal_keys.h
│ │ hal_led.c
│ │ hal_mag.c
│ │ hal_mag.h
│ │ hal_mcu.h
│ │ hal_sensor.c
│ │ hal_sensor.h
│ │ hal_sleep.c
│ │ hal_startup.c
│ │ hal_timer.c
│ │ hal_types.h
│ │
│ ├─osal
│ │ ├─common
│ │ │ OSAL.c
│ │ │ osal_bufmgr.c
│ │ │ osal_cbtimer.c
│ │ │ OSAL_ClockBLE.c
│ │ │ OSAL_Memory.c
│ │ │ OSAL_PwrMgr.c
│ │ │ OSAL_Timers.c
│ │ │
│ │ ├─include
│ │ │ comdef.h
│ │ │ OSAL.h
│ │ │ osal_bufmgr.h
│ │ │ osal_cbtimer.h
│ │ │ OSAL_Clock.h
│ │ │ OSAL_Memory.h
│ │ │ OSAL_Nv.h
│ │ │ OSAL_PwrMgr.h
│ │ │ osal_snv.h
│ │ │ OSAL_Tasks.h
│ │ │ OSAL_Timers.h
│ │ │ ZComDef.h
│ │ │
│ │ └─mcu
│ │ └─cc2540
│ │ osal_snv.c
│ │
│ └─services
│ └─saddr
│ saddr.h
│
└─Projects
└─ble
├─common
│ ├─cc2540
│ │ cc254x_f256_ebl.xcl
│ │ cc254x_f256_imgA.xcl
│ │ cc254x_f256_imgAe.xcl
│ │ cc254x_f256_imgB.xcl
│ │ cc254x_f256_imgBe.xcl
│ │ cc254x_f256_oad.xcl
│ │ cc254x_f256_sbl.xcl
│ │ cc254x_f256_ubl_msd.xcl
│ │ cc254x_sim2bin.exe
│ │ cc254x_ubl_pp.bat
│ │ cc254x_ubl_pp.js
│ │ OnBoard.c
│ │ OnBoard.h
│ │ ti_51ew_cc2540b.xcl
│ │ ti_51ew_cc2540f128b.xcl
│ │
│ └─npi
│ └─npi_np
│ npi.c
│ npi.h
│
├─config
│ buildComponents.cfg
│ buildConfig.cfg
│ config.cfg
│ config_master.cfg
│ config_slave.cfg
│
├─Include
│ gapgattserver.h
│ gattservapp.h
│
├─Libraries
│ ├─CC2540DB
│ │ └─bin
│ │ CC2540_BLE.lib
│ │ CC2540_BLE_bcast.lib
│ │ CC2540_BLE_bcast_cent.lib
│ │ CC2540_BLE_bcast_observ.lib
│ │ CC2540_BLE_cent.lib
│ │ CC2540_BLE_observ.lib
│ │ CC2540_BLE_peri.lib
│ │ CC2540_BLE_peri_observ.lib
│ │
│ ├─CC2541DB
│ │ └─bin
│ │ CC2541_BLE.lib
│ │ CC2541_BLE_bcast.lib
│ │ CC2541_BLE_bcast_cent.lib
│ │ CC2541_BLE_bcast_observ.lib
│ │ CC2541_BLE_cent.lib
│ │ CC2541_BLE_observ.lib
│ │ CC2541_BLE_peri.lib
│ │ CC2541_BLE_peri_observ.lib
│ │
│ └─Common
│ └─bin
│ CC254x_BLE_HCI_TL_Full.lib
│ CC254x_BLE_HCI_TL_None.lib
│ CC254x_BLE_HCI_TL_PTM.lib
│
├─Profiles
│ ├─Accelerometer
│ │ accelerometer.c
│ │ accelerometer.h
│ │
│ ├─Batt
│ │ battservice.c
│ │ battservice.h
│ │
│ ├─BloodPressure
│ │ bpservice.c
│ │ bpservice.h
│ │
│ ├─CSC
│ │ cyclingservice.c
│ │ cyclingservice.h
│ │
│ ├─DevInfo
│ │ devinfoservice.c
│ │ devinfoservice.h
│ │
│ ├─Glucose
│ │ glucservice.c
│ │ glucservice.h
│ │
│ ├─HeartRate
│ │ heartrateservice.c
│ │ heartrateservice.h
│ │
│ ├─HIDDev
│ │ hiddev.c
│ │ hiddev.h
│ │ hid_uuid.h
│ │
│ ├─HIDDevKbd
│ │ hidkbdservice.c
│ │ hidkbdservice.h
│ │
│ ├─HIDDevKbM
│ │ hidkbmservice.c
│ │ hidkbmservice.h
│ │
│ ├─Keys
│ │ simplekeys.c
│ │ simplekeys.h
│ │
│ ├─OAD
│ │ oad.h
│ │ oad_target.c
│ │ oad_target.h
│ │
│ ├─Proximity
│ │ proxreporter.c
│ │ proxreporter.h
│ │
│ ├─Roles
│ │ broadcaster.c
│ │ broadcaster.h
│ │ central.c
│ │ central.h
│ │ gap.c
│ │ gapbondmgr.c
│ │ gapbondmgr.h
│ │ gapperiphbondmgr.c
│ │ gapperiphbondmgr.h
│ │ observer.c
│ │ observer.h
│ │ peripheral.c
│ │ peripheral.h
│ │ peripheralBroadcaster.c
│ │ peripheralBroadcaster.h
│ │
│ ├─RSC
│ │ runningservice.c
│ │ runningservice.h
│ │
│ ├─ScanParam
│ │ scanparamservice.c
│ │ scanparamservice.h
│ │
│ ├─SensorProfile
│ │ accelerometerservice.c
│ │ accelerometerservice.h
│ │ barometerservice.c
│ │ barometerservice.h
│ │ gyroservice.c
│ │ gyroservice.h
│ │ humidityservice.c
│ │ humidityservice.h
│ │ irtempservice.c
│ │ irtempservice.h
│ │ magnetometerservice.c
│ │ magnetometerservice.h
│ │ st_util.c
│ │ st_util.h
│ │ testservice.c
│ │ testservice.h
│ │
│ ├─SimpleProfile
│ │ simpleGATTprofile.c
│ │ simpleGATTprofile.h
│ │
│ └─Thermometer
│ thermometerservice.c
│ thermometerservice.h
│
├─SimpleBLECentral
│ ├─CC2540
│ │ │ buildConfig.cfg
│ │ │ EW8EC6.tmp
│ │ │ SimpleBLECentral.dep
│ │ │ SimpleBLECentral.ewd
│ │ │ SimpleBLECentral.ewp
│ │ │ SimpleBLECentral.eww
│ │ │
│ │ ├─CC2540EM
│ │ │ ├─Exe
│ │ │ │ SimpleBLECentral-cc2540.hex
│ │ │ │
│ │ │ ├─List
│ │ │ └─Obj
│ │ └─settings
│ │ SimpleBLECentral.cspy.bat
│ │ SimpleBLECentral.dbgdt
│ │ SimpleBLECentral.dni
│ │ SimpleBLECentral.wsdt
│ │
│ ├─CC2541
│ │ │ buildConfig.cfg
│ │ │ EW1466.tmp
│ │ │ EW3F3F.tmp
│ │ │ EWBD4D.tmp
│ │ │ EWC4DF.tmp
│ │ │ EWD61D.tmp
│ │ │ EWEAB8.tmp
│ │ │ EWF4D8.tmp
│ │ │ SimpleBLECentral.dep
│ │ │ SimpleBLECentral.ewd
│ │ │ SimpleBLECentral.ewp
│ │ │ SimpleBLECentral.eww
│ │ │
│ │ ├─CC2541EM
│ │ │ ├─Exe
│ │ │ │ SimpleBLECentral-cc2541.hex
│ │ │ │ SimpleBLECentral.d51
│ │ │ │ SimpleBLECentral.hex
│ │ │ │
│ │ │ ├─List
│ │ │ │ SimpleBLECentral.map
│ │ │ │
│ │ │ └─Obj
│ │ │ central.r51
│ │ │ gap.r51
│ │ │ gapbondmgr.r51
│ │ │ gatt_uuid.r51
│ │ │ hal_adc.r51
│ │ │ hal_aes.r51
│ │ │ hal_dma.r51
│ │ │ hal_drivers.r51
│ │ │ hal_flash.r51
│ │ │ hal_key.r51
│ │ │ hal_lcd.r51
│ │ │ hal_led.r51
│ │ │ hal_sleep.r51
│ │ │ hal_startup.r51
│ │ │ hal_timer.r51
│ │ │ hal_uart.r51
│ │ │ npi.r51
│ │ │ OnBoard.r51
│ │ │ OSAL.r51
│ │ │ osal_bufmgr.r51
│ │ │ osal_cbtimer.r51
│ │ │ OSAL_ClockBLE.r51
│ │ │ OSAL_Memory.r51
│ │ │ OSAL_PwrMgr.r51
│ │ │ OSAL_simpleBLECentral.r51
│ │ │ osal_snv.r51
│ │ │ OSAL_Timers.r51
│ │ │ SimpleBLECentral.pbd
│ │ │ simpleBLECentral.r51
│ │ │ simpleBLECentral_Main.r51
│ │ │
│ │ └─settings
│ │ SimpleBLECentral.cspy.bat
│ │ SimpleBLECentral.dbgdt
│ │ SimpleBLECentral.dni
│ │ SimpleBLECentral.wsdt
│ │
│ └─Source
│ OSAL_simpleBLECentral.c
│ simpleBLECentral.c
│ simpleBLECentral.h
│ simpleBLECentral_Main.c
│
└─SimpleBLEPeripheral
├─CC2540DB
│ │ buildConfig.cfg
│ │ SimpleBLEPeripheral.dep
│ │ SimpleBLEPeripheral.ewd
│ │ SimpleBLEPeripheral.ewp
│ │ SimpleBLEPeripheral.eww
│ │
│ ├─CC2540
│ │ ├─Exe
│ │ │ SimpleBLEPeripheral-cc2540.hex
│ │ │
│ │ ├─List
│ │ └─Obj
│ │ iic.r51
│ │ mpu6050.r51
│ │
│ ├─CC2540DK-MINI Keyfob
│ │ ├─Exe
│ │ ├─List
│ │ └─Obj
│ │ SimpleBLEPeripheral.pbd
│ │
│ └─settings
│ SimpleBLEPeripheral.cspy.bat
│ SimpleBLEPeripheral.dbgdt
│ SimpleBLEPeripheral.dni
│ SimpleBLEPeripheral.wsdt
│
├─CC2541DB
│ │ buildConfig.cfg
│ │ EW46AB.tmp
│ │ EW9342.tmp
│ │ EWD463.tmp
│ │ SimpleBLEPeripheral.dep
│ │ SimpleBLEPeripheral.ewd
│ │ SimpleBLEPeripheral.ewp
│ │ SimpleBLEPeripheral.eww
│ │
│ ├─CC2541
│ │ ├─Exe
│ │ │ SimpleBLEPeripheral-cc2541.hex
│ │ │ SimpleBLEPeripheral.d51
│ │ │ SimpleBLEPeripheral.hex
│ │ │
│ │ ├─List
│ │ │ SimpleBLEPeripheral.map
│ │ │
│ │ └─Obj
│ │ devinfoservice.r51
│ │ Ds18b20.r51
│ │ gap.r51
│ │ gapbondmgr.r51
│ │ gatt_uuid.r51
│ │ hal_adc.r51
│ │ hal_aes.r51
│ │ hal_crc.r51
│ │ hal_dma.r51
│ │ hal_drivers.r51
│ │ hal_flash.r51
│ │ hal_key.r51
│ │ hal_lcd.r51
│ │ hal_led.r51
│ │ hal_sleep.r51
│ │ hal_startup.r51
│ │ hal_timer.r51
│ │ hal_uart.r51
│ │ npi.r51
│ │ OnBoard.r51
│ │ OSAL.r51
│ │ osal_bufmgr.r51
│ │ osal_cbtimer.r51
│ │ OSAL_ClockBLE.r51
│ │ OSAL_Memory.r51
│ │ OSAL_PwrMgr.r51
│ │ OSAL_SimpleBLEPeripheral.r51
│ │ osal_snv.r51
│ │ OSAL_Timers.r51
│ │ peripheral.r51
│ │ SimpleBLEPeripheral.pbd
│ │ simpleBLEPeripheral.r51
│ │ SimpleBLEPeripheral_Main.r51
│ │ simpleGATTprofile.r51
│ │
│ ├─CC2541DK-MINI Keyfob
│ │ ├─Exe
│ │ ├─List
│ │ └─Obj
│ │ SimpleBLEPeripheral.pbd
│ │
│ └─settings
│ SimpleBLEPeripheral.cspy.bat
│ SimpleBLEPeripheral.dbgdt
│ SimpleBLEPeripheral.dni
│ SimpleBLEPeripheral.wsdt
│
└─Source
Ds18b20.c
Ds18b20.h
OSAL_SimpleBLEPeripheral.c
simpleBLEPeripheral.c
simpleBLEPeripheral.h
SimpleBLEPeripheral_Main.c
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论