___2017

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  326 随笔 :: 18 文章 :: 15 评论 :: 18万 阅读

随笔分类 -  Linux

Linux app & kernel & network, etc
摘要:一、configfs 简介 configfs 是一个基于内存(ram-based)的文件系统。 二、configfs 和 sysfs 相比 sysfs 是以文件系统的方式呈现内核对象。 configfs 是以文件系统为手段管理内核对象或 config_items。 sysfs 所要呈现的对象在内核中 阅读全文
posted @ 2021-12-30 12:14 yin'xiang 阅读(1423) 评论(0) 推荐(0) 编辑

摘要:开发环境: 1、IoT 设备端开发 2、设备基于于 Linux 平台 一、开发资料 1、什么是 FSS https://developer.amazon.com/zh/frustration-free-setup 2、什么是 AWS IoT https://docs.aws.amazon.com/z 阅读全文
posted @ 2020-07-30 13:41 yin'xiang 阅读(686) 评论(0) 推荐(0) 编辑

摘要:开发环境: 1、IoT 设备端开发 2、设备基于于 Linux 平台 3、无 AliOS Things 的 SDK 一、开发资料 1、SDK下载及介绍 https://help.aliyun.com/document_detail/135278.html?spm=a2c4g.11186623.6.6 阅读全文
posted @ 2020-06-05 10:42 yin'xiang 阅读(1143) 评论(0) 推荐(0) 编辑

摘要:https://www.cnblogs.com/rockyching2009/p/11555388.html 阅读全文
posted @ 2019-09-20 10:33 yin'xiang 阅读(313) 评论(0) 推荐(0) 编辑

摘要:一、背景 目前,很多嵌入式Linux开发为了调试方便移植了adb到Linux,官方也有相应的patch。作为产品方基于安全考虑,可以在量产时关闭adb;如果需要保留,那么应该在adb登陆系统时验证密码。 二、adb登录流程 在使用adb shell命令登陆系统时,adb服务(adbd)为我们fork 阅读全文
posted @ 2019-08-12 20:16 yin'xiang 阅读(7208) 评论(0) 推荐(0) 编辑

摘要:https://www.cnblogs.com/rockyching2009/p/11271498.html 一、USB和OTG简介 1、USB不支持P2P(Peer to Peer)的传输,因此必需是Master/Slave2、比如U盘等无源设备插入电脑,电脑为host,U盘为device3.在没 阅读全文
posted @ 2019-07-30 17:29 yin'xiang 阅读(1534) 评论(0) 推荐(0) 编辑

摘要:一、HCI介绍 HCI: Host Controller Interface,it provides a uniform interface method of accessing a Bluetooth Controller’s capabilities. From [Vol 2] Part E: 阅读全文
posted @ 2019-03-27 20:27 yin'xiang 阅读(2806) 评论(0) 推荐(0) 编辑

摘要:一、简介 通过“BT[1]-Introduction to Bluetooth Low Energy”知道,两个BLE设备通信需要完成两件事: 广播:设备发送广播信息表明自己的存在,让周围的设备可以Discover自己 连接:Peripheral和Central设备建立peer-to-peer连接, 阅读全文
posted @ 2019-03-26 19:57 yin'xiang 阅读(2303) 评论(0) 推荐(0) 编辑

摘要:原文:https://learn.adafruit.com/introduction-to-bluetooth-low-energy Introduction Bluetooth Low Energy (BLE), sometimes referred to as "Bluetooth Smart" 阅读全文
posted @ 2019-03-25 11:33 yin'xiang 阅读(529) 评论(0) 推荐(0) 编辑

摘要:Overview Bluetooth standard offers basic rate (BR) or enhanced data rate (EDR) and Bluetooth Low Energy (LE) support. Devices that can support BR/EDR 阅读全文
posted @ 2019-03-12 19:25 yin'xiang 阅读(2207) 评论(0) 推荐(0) 编辑

摘要:Linux系统时间、时区、夏令时杂谈 本篇博文对Linux用户层的时间做一番深层次的探究,设计各个时间概念,获取方式,源码窥探。 一、示例 先从一个基本示例开始,源码如下: 1 static void dump_tm(const struct tm *t, const char *var) 2 { 阅读全文
posted @ 2018-09-16 21:27 yin'xiang 阅读(8887) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示