Description: Based on CC2540 chips the machine program, tested, for your reference, application architecture adjusted, it is easy to understand.
To Search:
File list (Check if you may need any files):
BLE-CC254x-1.3.2_1Central_3Peripheral\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
.....................................\..........\...\.ost\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
........................