原创 長程藍牙路由服務網絡架構規劃和實施

目標: 以藍牙路由服務器爲核心,構建一個小規模、通信距離在500米以內的長程藍牙無線傳感器網絡及WIFI網絡 原理圖: 藍牙路由器硬件:  MEDIATEK  MT7688AN SoC 路由芯片, NORDIC nRF 52840 So

原创 Nordic nRF5 SDK 學習筆記之三, 藍牙 5 從機定時廣播,待聯結建立交換數據後,主動斷開與主機的聯結

硬件:  Central: nRF52840, Peripheral: nRF52832 SDK: Ver 15.0.0 目標: Peripheral 從機定時啓動藍牙廣播,以及與主機聯結,待交換完數據後,主動斷開與主機的聯結 參考: h

原创 openWRT 系統安裝 Web服務器 ( sqlite3 + php5 + lighttpd )

路由硬件: Mediatek MT7628AN 路由固件: OpenWrt Chaos Calmer 15.05.1 安裝步驟: 1. sqlite3 安裝 $opkg update $opkg install libsqlite3 s

原创 Zephyr v1.12.0 於 Ubuntu v14.04 開發環境搭建

Zephyr: 物聯網操作系統, v1.12.0 官方網站: www.zephyrproject.org 安裝平臺: Ubuntu v14.04 官方原文: http://docs.zephyrproject.org/getting_st

原创 Nordic nRF5 SDK 學習筆記之二, 藍牙主機與從機建立聯結及服務發現過程

基於 NORDIC softDevice 藍牙協議棧 S132, nRF5 SDK Ver 15.0.0 藍牙角色: 主機,ble_central 文章內容: 藍牙主機與從機建立聯結及服務發現過程 程序樣例: nRF5_SDK_15.0.

原创 NORDIC Thingy:52 藍牙 BLE 服務 SoC 程序調用流程分析之八, 網盤分享 PPT

NORDIC Thingy:52 藍牙 BLE 服務 SoC 程序調用流程分析之八 網盤分享 PPT https://pan.baidu.com/s/1BuhqsBwQIz0Zlwzy7u7SQw  

原创 openWRT 串口設置, 串口及TCP端口 ser2net 透傳設置

硬件: MT7688, USART2 串口 (/dev/ttyS2) 軟件: openWRT Ver 15, Linux 3.18.29 串口配置及其開機服務 1. 查看串口設備 #ls -l /dev/tty* 查詢結果示例 cr

原创 NORDIC nRF SDK sdk_config.h 配置於 app uart

硬件: nRF528xx 軟件: NORDIC nRF5 SKD Ver15.0.0 目的: 使用SDK  components\libraries\uart 目錄下 app uart 功能函數 步驟: 1. 文件中引入 app_uar

原创 NORDIC softDevice 藍牙協議棧初始化程序分析(藍牙從機,ble_peripheral)

基於 NORDIC softDevice 藍牙協議棧 S132 藍牙角色: 從機,ble_peripheral 應用主函數 main() 中必須的函數: ble_stack_init(); gap_params_init(); gatt_

原创 MCU STM8L051F3xx EEPROM 操作筆記

MCU: STM8L051F3xxEEPROM Address: 0x00 1000 ~ 0x00 10FF, 256 Bytes操作簡明說明: EEPROM在上電覆位後是寫保護的,在向其中寫入數據時,需要解鎖,關閉寫保護.解鎖流程爲:1

原创 NORDIC Thingy:52 藍牙 BLE 服務 SoC 程序調用流程分析之七, DFU Service

Nordic Thingy 52 BLE Services * Thingy configuration service  * Environment service  * User interface service  * Motion

原创 NORDIC Thingy:52 藍牙 BLE 服務 SoC 程序調用流程分析之四, Motion Service

Nordic Thingy 52 BLE Services * Thingy configuration service  * Environment service  * User interface service  * Motion

原创 NORDIC Thingy:52 藍牙 BLE 服務 SoC 程序調用流程分析之五, Sound Service

Nordic Thingy 52 BLE Services * Thingy configuration service  * Environment service  * User interface service  * Motion

原创 NORDIC softDevice 藍牙協議棧初始化程序分析(藍牙主機,ble_central)

基於 NORDIC softDevice 藍牙協議棧 S132 藍牙角色: 主機,ble_central 應用主函數 main() 中必須的函數:     ble_stack_init();     gatt_init();     db

原创 openWRT 系統 Sqlite3 數據庫, C 語言開發交叉編譯環境建立

PC 軟件平臺: Ubuntu v14 路由硬件: Mediatek MT7628AN 路由固件: OpenWrt Chaos Calmer 15.05.1 openWRT 項目根目錄: /openwrt-mt7688 openWRT s