![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
软件
忧郁的红骚肉
这个作者很懒,什么都没留下…
展开
-
Abstract Factory(抽象工厂)--对象创建型模式
1.意图:提供一个创建一系列相关或相互依赖对象的接口,而无需指定它们具体的类。2.适用:(1)一个系统要独立于它的产品的创建,组合和表示时。(2)一个系统要由多个产品系列中的一个来配置时。(3)当你要强调一系列相关的产品对象的设计以便进行联合适用时。(4)当你提供一个产品类库,而只想显示它们的接口而不是实现时。原创 2014-09-04 17:57:22 · 428 阅读 · 0 评论 -
TFTP安装
TFTP安装步骤(1).安装tftp,首先需要安装tftp-hpa,tftpd-hpa,前者是客户端,后者是服务程序。在终端下输入 :sudo apt-get install tftp-hpa tftpd-hpa,安装tftp-hpa和tftpd-hpa。然后还需要安装xinetd,这是一个守护进程,用于处理对各种服务的请求,在终端下输入 sudo apt-get install xinetd原创 2014-08-20 17:12:11 · 440 阅读 · 0 评论 -
NFS建立
1.我们先使用命令 apt-get install nfs-kernel-server 对nfs进行安装,2.然后打开/etc/exports文件,加入自己将要共享的文件夹及其属性设置的命令。例:/opt/gsc3280/nfs *(rw,sync,no_root_squash)其中前面为共享文件夹的路径,*是服务器的ip的网段可以写成192.168.123.*这样也代表一个ip区间段,r原创 2014-08-20 16:23:04 · 285 阅读 · 0 评论 -
抽象工厂
Abstract Factory(抽象工厂)是创建模式中的一种设计模式,不直接通过对象的具体实现类,而是通过使用专门的类来负责一组相关联的对象的创建。应用场景:您只想暴露对象的接口而不想暴露具体的实现类,但是又想提供实例化对象的接口给用户;或者,您希望所有的对象能够集中在一个或一组类(通常称作工厂类)来创建,从而可以更方便的对对象的实例化过程进行动态配置(此时只需要修改工厂类的代码转载 2014-09-04 18:13:49 · 512 阅读 · 0 评论 -
ble连接参数笔记
The advInterval shall be an integer multiple of 0.625 ms in the range of 20 msto 10.24 s. If the advertising event type is either a discoverable undirected//event type or a non-connectable undirec原创 2017-11-20 17:41:39 · 895 阅读 · 0 评论 -
7816 ATR解析
TS----------> 正:3B, 反:3FT0---------->0~3 : history len; 4~7 : TA1~~TD1 是否存在TA1--------> 0~3: Di(时钟速率转换因子); 4~7: Di 波特率调节因子TB1--------> 电流 变成电压 省略TC1--------> GT 额外保护时间TD1--------> 0~3原创 2017-11-20 17:47:23 · 2276 阅读 · 1 评论 -
The advInterval shall be an integer multiple of 0.625 ms in the range of 20 ms
The advInterval shall be an integer multiple of 0.625 ms in the range of 20 msto 10.24 s. If the advertising event type is either a discoverable undirected//event type or a non-connectable undirec原创 2017-11-20 17:50:42 · 175 阅读 · 1 评论 -
最近在研究 apple 的homekit accessory protocol(HAP) None Commercial Version
1.HAP 协议 是apple 发布的用语ios 手机作为controller, 去控制accessory 的用于智能家居的一个通讯协议。有两种方式: ble 和IP.原创 2017-11-16 10:05:18 · 2662 阅读 · 2 评论