原创 NORDIC nRF52840 ROM與RAM 開始地址及大小設置 (keil 環境)
目的:NORDIC nRF52840 ROM與RAM 開始地址及大小的正確設置方法(keil 環境) 硬件: NORDIC nRF 52840 DK (FLASH ROM: 1MB, RAM: 256 KB) 協議棧: s140_nrf5
原创 認識BLE 5協議棧 —— 邏輯鏈路控制與適配協議層(L2CAP,Logical Link Control and Adaptation Protocol)
轉自 http://www.sunyouqun.com/2017/04/understand-ble-5-stack-l2cap-layer/ 邏輯鏈路控制與適配協議通常簡稱爲L2CAP(Logical Link Control and
原创 認識BLE 5協議棧 —— 安全管理層
轉自 http://www.sunyouqun.com/2017/04/understand-ble-5-stack-security-manager-layer/ 安全管理(Security Manager)定義了設備間的配對過程。 配
原创 認識BLE 5協議棧 —— 通用訪問規範層(GAP,Generic Access Profile)
轉自 http://www.sunyouqun.com/2017/04/understand-ble-5-stack-generic-access-profile-layer/ 通用訪問規範GAP(Generic Access Profi
原创 認識BLE 5協議棧 —— 鏈路層
轉自 http://www.sunyouqun.com/2017/04/understand-ble-5-stack-link-layer/ 鏈路層LL(Link Layer)是協議棧中最重要的一層。 鏈路層的核心是狀態機,包含廣播、掃描
原创 認識BLE 5協議棧 —— 主機控制器接口
轉自 http://www.sunyouqun.com/2017/04/understand-ble-5-stack-hci-layer/ BLE協議棧規定物理層、鏈路層和DTM層屬於控制器,其他協議層屬於主機,主機與控制器之間的通信是通
原创 認識BLE 5協議棧 —— 通用屬性規範層 (GATT,Generic Attribute Profile)
轉自 http://www.sunyouqun.com/2017/04/understand-ble-5-stack-generic-attribute-profile-layer/ 通用屬性規範GATT(Generic Attribut
原创 藍牙BLE V4.2, V5 新功能介紹
注:此文摘抄自 http://www.sunyouqun.com/category/ble-stack/ 協議發佈時間 協議版本 2016/12 Bluetooth 5 2014/12 Bluetooth 4.2 2013/12 Blue
原创 認識BLE 5協議棧 —— 直接測試模式
轉自 http://www.sunyouqun.com/2017/04/understand-ble-5-stack-direct-test-mode/ 認識BLE協議棧 —— 直接測試模式 BLE協議充分考慮了設備的測試問題,在協議棧層
原创 認識BLE 5協議棧 —— 屬性協議層
轉自 http://www.sunyouqun.com/2017/04/understand-ble-5-stack-attribute-protocol-layer/ 屬性協議(Attribute Protocol)簡稱ATT。
原创 認識BLE 5協議棧 —— 物理層
轉自 http://www.sunyouqun.com/2017/04/understand-ble-5-stack-physical-layer/ 1. 簡介 物理層(Physical Layer)是BLE協議棧最底層,它規定了BLE通
原创 openWRT BASH 腳本查詢進程是否運行,以及未運行時重啓
系統: openWRT v15, CHAOS CALMER 腳本: BASH 步驟: 1. 更新數據源及安裝 BASH; #opkg update #opkg install bash 2. 腳本文件, check_process.sh
原创 openWRT 同步時間錯誤解決
openWRT 同步時間命令 #ntpd -n -d -p 0.asia.pool.ntp.org 如提示錯誤如下: ntpd: bad addres '0.asia.pool.ntp.org' ntpd: could not res
原创 NORDIC nRF52832 Dongle + nRF Sniffer + Wireshark 藍牙抓包環境搭建 (Win7 系統)
目標: 建立藍牙抓包 Wireshark 分析環境 硬件: nRF 52832 Dongle (PCA10040 版本) (注: nRF52832 DK 帶 USB 線也可) 軟件及下載地址: Nordic nRF Sniffer
原创 Nordic nRF5 SDK 學習筆記之一, 藍牙協議棧的軟件定時器 Timer 用法
Nordic nRF5 SDK 藍牙協議棧 Timer 軟件定時器簡明用法 app_timer module 是靜態配置, 位於 sdk_config.h 文件中. 使用函數 app_timer_init 初始化 Timer librar