遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

06 2015 档案

一组RS485设备操作命令
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ZNJM2.Win{ public class CommandBase { public ... 阅读全文

posted @ 2015-06-29 10:50 遗忘海岸 阅读(1180) 评论(0) 推荐(0)

asp.net 中长尾链接实现推送 -- comet
摘要:一般需求推送服务时,都会去第三方拿推送组件,如”极光“,”百度“,”小米"什么的,自己用.net实现推送服务端需要面对很多问题,比如C10K,但是企业内部使用往往用不了10K的链接,有个1K,2K就足够,这个时候完全可以自己实现一个推送服务,这样手机应用就不用走外网了。使用.net实现推送服务有几个... 阅读全文

posted @ 2015-06-25 15:57 遗忘海岸 阅读(2175) 评论(6) 推荐(4)

ardunio 实现RS485通讯-下位机
摘要:#include SoftwareSerial mySerial(4,5); byte ZERO=0x00;byte Addr=0x03;byte Status=0x00;int buffLen=32;char HexTable[] = "0123456789ABCDEF";int pinTr... 阅读全文

posted @ 2015-06-12 10:59 遗忘海岸 阅读(1808) 评论(0) 推荐(0)

JPEG Camer 图片上传
摘要:/* Linksprite */#include #include #include #define ReadLen 0x30byte mac[] = { 0xDE, 0xAC, 0xEA, 0xEF, 0xFF, 0xE2 };// if you don't want to use DNS (an... 阅读全文

posted @ 2015-06-03 10:07 遗忘海岸 阅读(307) 评论(1) 推荐(0)