摘要: typedef void (*IOTRDStateCB)(char *host, unsigned int state); void RDStateCB(char *host, unsigned int state) { OCStackResult ret = OC_STACK_OK; LOG_DEBUG("host[%s] state[%s]", host, state == 0? "... 阅读全文
posted @ 2018-10-12 20:31 Daomy 阅读(190) 评论(0) 推荐(0)
摘要: 参考:https://danielmiessler.com/study/url-uri/ URN: A Uniform Resource Name,统一资源名称 ;eg. ietf.org/rfc/rfc2396.txt(给定URI,我们仍无法访问该资源,因为我们不知道是在http协议还是ftp协议 阅读全文
posted @ 2018-10-11 19:53 Daomy 阅读(290) 评论(0) 推荐(0)
摘要: cc2530有几种功耗模式 active mode, idle mode, and power mode (PM1~PM3). https://blog.csdn.net/m0_38064214/article/details/78165056 阅读全文
posted @ 2018-10-06 10:07 Daomy 阅读(521) 评论(0) 推荐(0)
摘要: 参考转自 https://www.sekorm.com/news/9339.html EFR32MG本身具有五种低功耗工作模式: EM0:Active状态,此时CPU活动、外设活动,功耗最高,最低65uA/MHz。 EM1:IDLE状态,此时,CPU停止,外设活动,功耗和所使用的外设有关,一般可以认 阅读全文
posted @ 2018-10-01 19:16 Daomy 阅读(855) 评论(0) 推荐(0)
摘要: 定义 volatile keword indicates that a value may chang between different accesses, even if it does not appear to be modify.This keyword prevents an optim 阅读全文
posted @ 2018-09-24 19:25 Daomy 阅读(205) 评论(0) 推荐(0)