02 2013 档案

ZigBee something
摘要:ZigBee open source libraryhttp://zb4osgi.aaloa.org/https://code.google.com/p/xbee-api/http://bekko.org/ (https://code.google.com/p/jazzkaffe/)https://code.google.com/p/t-connect-xbee-driver/ProSyst ZigBee Modulehttp://dz.prosyst.com/pdoc/mBS_SH_SDK/um/runtime/osgi/docs/zigbee/index.htmlRaspBeehttp:/ 阅读全文

posted @ 2013-02-27 13:40 androidme 阅读(307) 评论(0) 推荐(0) 编辑

Vendor/Ethernet/Bluetooth MAC Address Lookup
摘要:http://coffer.com/mac_find/ 阅读全文

posted @ 2013-02-26 14:11 androidme 阅读(288) 评论(0) 推荐(0) 编辑

USB接口类型
摘要:http://tech.sina.com.cn/c/h_s/2004-03-19/0928336066.shtmlUSB普及,带来接口不统一新问题 随着各种数码设备的大量普及,特别是MP3和数码相机的普及,我们周围的USB设备渐渐多了起来。然而这些设备虽然都是采用了USB接口,但是 这些设备的数据线并不完全相同。这些数据线在连接PC的一端都是相同的,但是在连接设备端的时候,通常出于体积的考虑而采用了各种不同的接口。 这样的现象造成的问题就是设备随机带的数据线一旦遗失或者损坏就不好处理,本人在各处MP3论坛上看到很多朋友在丢失了MP3的连接线以后非常苦恼,而且发现自己的MP3连线的接口也不容.. 阅读全文

posted @ 2013-02-22 14:56 androidme 阅读(1335) 评论(0) 推荐(1) 编辑

Wireshark基本介绍和学习TCP三次握手
摘要:http://www.cnblogs.com/TankXiao/archive/2012/10/10/2711777.html之前写过一篇博客:用 Fiddler来调试HTTP,HTTPS。 这篇文章介绍另一个好用的抓包工具wireshark,用来获取网络数据封包,包括http,TCP,UDP,等网络协议包。记得大学的时候就学习过TCP的三次握手协议,那时候只是知道,虽然在书上看过很多TCP和UDP的资料,但是从来没有真正见过这些数据包, 老是感觉在云上飘一样,学得不踏实。有了wireshark就能截获这些网络数据包,可以清晰的看到数据包中的每一个字段。更能加深我们对网络协议的理 解。对我而言 阅读全文

posted @ 2013-02-21 11:21 androidme 阅读(174) 评论(0) 推荐(0) 编辑

嵌入式开发系统编程文件格式解析
摘要:摘要: 嵌入式系统编程文件格式多种多样。为方便嵌入式系统开发和深度理解各种目标系统,论文详细分析了多种主流的嵌入式可执行文件(即机器码文件)格式。比较了不同格式的异同点,并介绍了各种嵌入式文件格式的主要硬件系统及目标器件。1 常见文件格式解析虽然不同的开发集成环境和不同的硬件架构使得嵌入式设备中可执行文件的格式不尽相同,但基本上包含以下一些典型特征:① 可执行文件的基本信息,如文件大小、时间、权限等。② 与硬件架构相关的二进制代码和数据。③ 符号表与符号重定位表。从文件本身所包含的信息来看,嵌入式系统可执行文件主要有:纯数据类文件,记录类文件以及描述类文件。1.1 纯数据文件格式纯数据文件就是 阅读全文

posted @ 2013-02-20 13:12 androidme 阅读(842) 评论(0) 推荐(0) 编辑

Simple HTTPD
摘要:http://sourceforge.net/projects/shttpd/http://code.google.com/p/mongoose/SHTTPD is small, fast and easy to use web server. It supports CGI, SSL,Digest Authorization. The unique feature of SHTTPD is the ability toembed it into existing C/C++ applications. Embedded API is very clean and simple. SHTTPD 阅读全文

posted @ 2013-02-19 21:30 androidme 阅读(276) 评论(0) 推荐(0) 编辑

iniparser
摘要:https://github.com/andrearanalli/iniparser/This modules offers parsing of ini files from the C level. 阅读全文

posted @ 2013-02-19 21:02 androidme 阅读(157) 评论(0) 推荐(0) 编辑

linux命令之ar—创建静态库.a文件
摘要:http://blog.csdn.net/chenglinhust/article/details/7667557用途说明:创建静态库.a文件。常用参数:格式:ar rcs libxxx.a xx1.o xx2.o参数r:在库中插入模块(替换)。当插入的模块名已经在库中存在,则替换同名的模块。如果若干模块中有一个模块在库中不存在,ar显示一个错误消息,并不替换其他同名模块。默认的情况下,新的成员增加在库的结尾处,可以使用其他任选项来改变增加的位置。【1】参数c:创建一个库。不管库是否存在,都将创建。参数s:创建目标文件索引,这在创建较大的库时能加快时间。(补充:如果不需要创建索引,可改成大写S 阅读全文

posted @ 2013-02-19 15:56 androidme 阅读(7562) 评论(0) 推荐(0) 编辑

zlib
摘要:http://zlib.net/ 阅读全文

posted @ 2013-02-18 23:26 androidme 阅读(196) 评论(0) 推荐(0) 编辑

ZB4O
摘要:ZigBee 4 OSGihttp://zb4osgi.aaloa.org/http://zb4osgi.aaloa.org/redmine/projects/zb4osgi 阅读全文

posted @ 2013-02-18 09:46 androidme 阅读(175) 评论(0) 推荐(0) 编辑

libupnp
摘要:http://pupnp.sourceforge.net/http://upnp.sourceforge.net/As of 2005-2006, the original developers did not have the time to work on libupnp any more and nobody expressed interest in taking over development of the main project. As a result, Michael Pfeiffer forked a new project, pupnp, where he has pl 阅读全文

posted @ 2013-02-11 21:03 androidme 阅读(418) 评论(0) 推荐(0) 编辑

log4cpp
摘要:http://log4cpp.sourceforge.net/ 阅读全文

posted @ 2013-02-11 20:59 androidme 阅读(184) 评论(0) 推荐(0) 编辑

C++前置声明
摘要:http://blog.csdn.net/fjb2080/article/details/5533514http://blog.csdn.net/rogeryi/article/details/1439597http://blog.csdn.net/whucv/article/details/7879387http://blog.csdn.net/yunyun1886358/article/details/5672574 阅读全文

posted @ 2013-02-07 18:29 androidme 阅读(127) 评论(0) 推荐(0) 编辑

C++中模板不能把实现和声明放在两个不同的文件下
摘要:http://zhidao.baidu.com/question/322405048.htmlhttp://www.zhihu.com/question/20630104http://bbs.chinaunix.net/thread-923716-1-1.html在Fraction.h中,我是这么定义的#pragma once#ifndef FRACTION#define FRACTIONtemplate<class T>class Fraction{public: Fraction(void); Fraction(T ,T); ~Fraction(void);private: T 阅读全文

posted @ 2013-02-06 09:46 androidme 阅读(1058) 评论(0) 推荐(0) 编辑

stdext - A C++ STL Extensions Libary
摘要:https://code.google.com/p/stdext/ 阅读全文

posted @ 2013-02-05 17:42 androidme 阅读(156) 评论(0) 推荐(0) 编辑

STL容器与拷贝构造函数
摘要:http://blog.csdn.net/HEYUTAO007/article/details/6702626所有容器提供的都是“value语意”而非“reference语意”。容器内进行元素的安插操作时,内部实施的是拷贝操作,置于容器内。因此STL容器 的每一个元素都必须能够拷贝。---<<C++标准程序库>> 侯捷、孟岩译 p144页原文以vector为例,往Vector中(实际上所有STL容器都是这样)放元素,Vector会调用元素类的拷贝构造函数生成的副本,当Vector走出生存期时(),会自动调用其中每个元素的析构函数。比如,如果 vector<mycl 阅读全文

posted @ 2013-02-05 16:21 androidme 阅读(223) 评论(0) 推荐(0) 编辑

boost::hash_combine
摘要:http://stackoverflow.com/questions/6014036/generate-unique-hash-keys-of-urlhttp://stackoverflow.com/questions/3611951/building-an-unordered-map-with-tuples-as-keyshttp://www.boost.org/doc/libs/1_53_0/doc/html/hash/combine.html 阅读全文

posted @ 2013-02-05 15:52 androidme 阅读(794) 评论(0) 推荐(0) 编辑

C++ boost shared_ptr as a hash_map key
摘要:http://www.cppblog.com/Solstice/archive/2013/01/28/197597.htmlhttp://stackoverflow.com/questions/6404765/c-shared-ptr-as-unordered-sets-keyhttp://stackoverflow.com/questions/900369/c-boost-shared-ptr-as-a-hash-map-keyhttp://stackoverflow.com/questions/8771440/stdset-and-boostshared-ptr-unique-key-id 阅读全文

posted @ 2013-02-05 15:10 androidme 阅读(401) 评论(0) 推荐(0) 编辑

STL map与Boost unordered_map
摘要:http://blog.csdn.net/orzlzro/article/details/7099231今天看到boost::unordered_map, 它与 stl::map的区别就是,stl::map是按照operator<比较判断元素是否相同,以及比较元素的大小,然后选择合适的位置插入到树 中。所以,如果对map进行遍历(中序遍历)的话,输出的结果是有序的。顺序就是按照operator< 定义的大小排序。而boost::unordered_map是计算元素的Hash值,根据Hash值判断元素是否相同。所以,对unordered_map进行遍历,结果是无序的。用法的区别就是, 阅读全文

posted @ 2013-02-05 11:31 androidme 阅读(259) 评论(0) 推荐(0) 编辑

BOOST_STATIC_ASSERT and BOOST_ASSERT
摘要:boost之编译期断言BOOST_STATIC_ASSERT与assert的区别assert是运行期断言,也就是在编译期出现的错误,它不会提示;而boost中的BOOST_STATIC_ASSERT是在编译期的断言,也就是说在编译的时候就可以断言出错误。比如下面的函数:void expects_ints_to_be_4bytes(){ BOOST_STATIC_ASSERT(sizeof(int)!=4); assert(sizeof(int)!=4);}编译的时候就会提示static_assert.cpp: In function 'void expects_ints_to_be_4 阅读全文

posted @ 2013-02-04 17:46 androidme 阅读(946) 评论(0) 推荐(0) 编辑

Member Functions of Template Classes & Member Function Templates
摘要:http://msdn.microsoft.com/en-us/library/swta9c6e.aspxhttp://msdn.microsoft.com/en-us/library/80dx1bas%28v=vs.80%29.aspx 阅读全文

posted @ 2013-02-04 16:12 androidme 阅读(143) 评论(0) 推荐(0) 编辑

Example of UUID generation in c++
摘要:http://stackoverflow.com/questions/3247861/example-of-uuid-generation-in-cA basic example:#include <boost/uuid/uuid.hpp> // uuid class#include <boost/uuid/uuid_generators.hpp> // generators#include <boost/uuid/uuid_io.hpp> // streaming operators etc.int main() { boost::uuids::u... 阅读全文

posted @ 2013-02-03 20:11 androidme 阅读(376) 评论(0) 推荐(0) 编辑

Linux客户端终端(命令行)访问samba
摘要:Linux客户端要连接samba/windows文件服务器时,需使用smbmount或mount指令: smbmount //sambaserver/d /mnt/d -o username=aaa,password=bbb smbmount //sambaserver/d /mnt/d -o username=aaa%bbb mount -t smbfs -o username=aaa,password=bbb //sambaserver/d /mnt/d mount -t smbfs -o username=aaa%bbb //sambaserver/d /mnt/d smbcl... 阅读全文

posted @ 2013-02-03 17:42 androidme 阅读(1818) 评论(0) 推荐(0) 编辑

Resource editor
摘要:http://www.angusj.com/resourcehacker/http://www.wilsonc.demon.co.uk/d10resourceeditor.htmhttp://melander.dk/reseditor/ 阅读全文

posted @ 2013-02-03 17:23 androidme 阅读(141) 评论(0) 推荐(0) 编辑

Boost智能指针——shared_ptr
摘要:boost::scoped_ptr虽然简单易用,但它不能共享所有权的特性却大大限制了其使用范围,而boost::shared_ptr可以解决这一局限。顾名思义,boost::shared_ptr是可以共享所有权的智能指针,首先让我们通过一个例子看看它的基本用法:#include <string>#include <iostream>#include <boost/shared_ptr.hpp>class implementation{public:~implementation() { std::cout <<"destroying i 阅读全文

posted @ 2013-02-03 15:12 androidme 阅读(753) 评论(0) 推荐(0) 编辑

shared_ptr<T> make_shared( Args && ... args );
摘要:shared_ptr很好地消除了显式的delete调用,如果读者掌握了它的用法,可以肯定delete将会在你的编程字典中彻底消失。但这还不够,因为shared_ptr的构造还需要new调用,这导致了代码中的某种不对称性。虽然shared_ptr很好地包装了new表达式,但过多的显式new操作符也是个问题,它应该使用工厂模式来解决。因此,shared_ptr在头文件<boost/make_shared.hpp> 中提供了一个自由工厂函数(位于boost名字空间)make_shared<T>(),来消除显式的new调用,它的名字模仿了标准库的 make_pair(),声明如 阅读全文

posted @ 2013-02-03 15:02 androidme 阅读(1086) 评论(0) 推荐(0) 编辑

Multiple Inheritance and enable_shared_from_this
摘要:http://www.codeproject.com/Articles/286304/Solution-for-multiple-enable_shared_from_this-in-ihttp://boost.2283326.n4.nabble.com/smart-ptr-enable-shared-from-this-and-multiple-inheritance-solution-td3058364.htmlhttp://stackoverflow.com/questions/5232712/questions-regarding-shared-from-this1)shared_fr 阅读全文

posted @ 2013-02-03 14:56 androidme 阅读(373) 评论(0) 推荐(0) 编辑

C++ load shared library
摘要:http://pocoproject.org/docs/Poco.SharedLibrary.htmlhttp://pocoproject.org/slides/120-SharedLibraries.pdfhttp://www.ros.org/wiki/class_loaderhttp://www.ros.org/wiki/pluginlibhttp://boost-extension.redshoelace.com/docs/boost/extension/index.htmlhttp://src.chromium.org/chrome/trunk/src/base/native_libr 阅读全文

posted @ 2013-02-02 22:37 androidme 阅读(297) 评论(0) 推荐(0) 编辑

Poco C++ Library
摘要:http://pocoproject.org/http://pocoproject.com/ 阅读全文

posted @ 2013-02-02 22:13 androidme 阅读(216) 评论(0) 推荐(0) 编辑

C++: Static Class Definition
摘要:In C++, the static specifier is only meaningful when applied on functions and variables. But surprisingly, C++ allows static to be used on a class definition:static class Car{ int _speed;};This specifier is useless on the class definition since it does not mean anything! This compiles successfull... 阅读全文

posted @ 2013-02-02 22:09 androidme 阅读(415) 评论(0) 推荐(0) 编辑

导航

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