摘要: 首先要指出,字段属性有notify的不能同时有read,write属性,别问哥,哥也不知道,反正我做的就不能notify,只能read,write。 分享的程序段第一字段有notify属性,第二字段read,write属性。 费话少说,看代码,H文件: C文件: 在simpleBLEPeripher 阅读全文
posted @ 2016-08-09 14:54 lort 阅读(1013) 评论(0) 推荐(0) 编辑
摘要: TI写的按键比较啰嗦关键还没什么功能,所以重写了,阿莫的开发板, 头文件H: 以下是C文件 hal_driver.c要修改成下面的: onBoard.c要修改: good luck! 阅读全文
posted @ 2016-08-09 14:45 lort 阅读(535) 评论(0) 推荐(0) 编辑
摘要: #include "main.h"#ifndef __STD_GUI_CONTEX__#define __STD_GUI_CONTEX__ #define CPSTRSIZE 20//控件字符数#define TOUCHCOLOR RED#define TOUCHFONTCOLOR 0xffff # 阅读全文
posted @ 2016-07-29 15:57 lort 阅读(809) 评论(1) 推荐(1) 编辑
摘要: /** * \file sha4.h * * \brief SHA-384 and SHA-512 cryptographic hash function * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of Po 阅读全文
posted @ 2016-06-13 21:41 lort 阅读(1730) 评论(0) 推荐(0) 编辑
摘要: /** * \file sha1.h * * \brief SHA-1 cryptographic hash function * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http:/ 阅读全文
posted @ 2016-06-13 21:40 lort 阅读(1270) 评论(0) 推荐(0) 编辑
摘要: /** * \file rsa.h * * \brief The RSA public-key cryptosystem * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://ww 阅读全文
posted @ 2016-06-13 21:39 lort 阅读(5383) 评论(0) 推荐(1) 编辑
摘要: /** * \file des.h * * \brief DES block cipher * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) 阅读全文
posted @ 2016-06-13 21:38 lort 阅读(732) 评论(0) 推荐(0) 编辑
摘要: /** * \file md5.h * * \brief MD5 message digest algorithm (hash function) * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarS 阅读全文
posted @ 2016-06-13 21:37 lort 阅读(581) 评论(0) 推荐(0) 编辑
摘要: /** * \file aes.h * * \brief AES block cipher * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) 阅读全文
posted @ 2016-06-13 09:54 lort 阅读(1946) 评论(0) 推荐(0) 编辑
摘要: /** * \file sha2.h * * \brief SHA-224 and SHA-256 cryptographic hash function * * Copyright (C) 2006-2010, Brainspark B.V. * * This file is part of Po 阅读全文
posted @ 2016-06-13 09:53 lort 阅读(2283) 评论(0) 推荐(0) 编辑