128位uuid的添加参考wiki
http://processors.wiki.ti.com/index.php/128_Bit_UUID_SimpleBLE
但是这个里面有点小问题 ,解决办法见
http://e2e.ti.com/support/low_power_rf/f/538/p/309092/1138538.aspx#1138538
In SimpleGATTProfile.C:
in simpleProfile_WriteAttrCB:
// 128-bit UUID
const uint8 uuid[ATT_UUID_SIZE] =
{
TI_UUID(BUILD_UINT16( pAttr->type.uuid[0], pAttr->type.uuid[1]))
};
if ( osal_memcmp(uuid, simpleProfilechar1UUID, ATT_UUID_SIZE) || osal_memcmp(uuid, simpleProfilechar3UUID, ATT_UUID_SIZE))
{
//Validate the value
This code is using the wrong bytes of the 128 bit UUID which is sent, to do the validation. The bytes which are specific to the characteristic are only bytes 0 and 1 if a 16-bit UUID is being used. For 128 bit UUID it should be bytes 12 and 13:
TI_UUID(BUILD_UINT16( pAttr->type.uuid[12], pAttr->type.uuid[13]))
oad功能参考官方提供的oad开发pdf文档,更新软件可使用multitool, 但是profiles不能发现oad,要用UPgrade FW 实现。