我们的产品销售国外,遭受到国外消费者的投诉,说是我们开发的Eddystone不能在谷歌上注册,我们尝试了,将手机翻墙,在谷歌商城上下载Beacon Tools注册好建立工程,结果显示Eddystone configuration service not supported by this beacon,然后修改服务的128bit UUID,结果Unknown Service找不到了.我想将Unknown Service的128bit由0000fff0-0000-1000-8000-00805f9b34fb改成服务UUID的128是:a3c87500-8ed3-4bdf-8a39-a01bebede295,服务UUID的16位前后都是:0xFEAA,请帮忙解决!本人不甚感谢!
Viki Shi:
请参考TI指导文档: http://processors.wiki.ti.com/index.php/CC2640_Eddystone_Beacon_Implementation
user5101238:
回复 Viki Shi:
上面链接我不知道看了多少遍了,但还是没看明白怎么自定义128位UUID
user5101238:
回复 user5101238:
谁能告诉我Beacon Tools手机app所要求的服务UUID吗,怎么我将UUID改成了A3C87500-8ED3-4BDF-8A39-A01BEBEDE295,连接上Beacon Tools时还是提示"Beacon's capabilities aren't vaild. We can't provision this beacon".这个是什么原因造成的呢?请支援,谢谢!
user5101238:
回复 user5101238:
static gattAttribute_t urlCfgSvcAttrTbl[SERVAPP_NUM_ATTR_SUPPORTED1] = { // Simple Profile Service { { ATT_BT_UUID_SIZE, primaryServiceUUID }, /* type */ GATT_PERMIT_READ, /* permissions */ 0, /* handle */ (uint8 *)&urlCfgService /* pValue */ },
// Lock State Characteristic Declaration 7501============================================ { { ATT_BT_UUID_SIZE, characterUUID },//2803 GATT_PERMIT_READ, 0, &urlCfgCharLockStateProps },
// Lock State Characteristic Value { { ATT_UUID_SIZE, urlCfgCharLockStateUUID },//7501 GATT_PERMIT_READ, 0, &urlCfgCharLockState },
// Lock State Characteristic User Description { { ATT_BT_UUID_SIZE, charUserDescUUID },//2901 GATT_PERMIT_READ, 0, urlCfgCharLockStateUserDesc },
// Lock Characteristic Declaration 7502======================================== { { ATT_BT_UUID_SIZE, characterUUID },//2803 GATT_PERMIT_READ, 0, &urlCfgCharLockProps }, // Lock Characteristic Value { { ATT_UUID_SIZE, urlCfgCharLockUUID }, // GATT_PERMIT_READ,//mark by seekwok GATT_PERMIT_READ | GATT_PERMIT_WRITE,//add by seekwok 0, urlCfgCharLock }, // Lock Characteristic User Description { { ATT_BT_UUID_SIZE, charUserDescUUID },//2901 GATT_PERMIT_READ, 0, urlCfgCharLockUserDesc }, // Unlock Characteristic Declaration 7503================================================= { { ATT_BT_UUID_SIZE, characterUUID },//2803 GATT_PERMIT_READ, 0, &urlCfgCharUnlockProps }, // Unlock Characteristic Value { { ATT_UUID_SIZE, urlCfgCharUnlockUUID }, // GATT_PERMIT_READ, GATT_PERMIT_READ | GATT_PERMIT_WRITE,//add by seekwok 0, NULL, }, // Unlock Characteristic User Description { { ATT_BT_UUID_SIZE, charUserDescUUID },//2901 GATT_PERMIT_READ, 0, urlCfgCharUnlockUserDesc, }, // URI Data Characteristic Declaration 7504=================================================== { { ATT_BT_UUID_SIZE, characterUUID }, GATT_PERMIT_READ, 0, &urlCfgCharURIDataProps },
// URI Data Characteristic Value { { ATT_UUID_SIZE, urlCfgCharURIDataUUID }, GATT_PERMIT_READ | GATT_PERMIT_WRITE, 0, urlCfgCharURIData },
// URI Data Characteristic User Description { { ATT_BT_UUID_SIZE, charUserDescUUID }, GATT_PERMIT_READ, 0, urlCfgCharURIDataUserDesc },
// Flags Characteristic Declaration 7505=================================================== { { ATT_BT_UUID_SIZE, characterUUID }, GATT_PERMIT_READ, 0, &urlCfgCharFlagsProps }, // Flags Characteristic Value { { ATT_UUID_SIZE, urlCfgCharFlagsUUID }, GATT_PERMIT_READ | GATT_PERMIT_WRITE, 0, &urlCfgCharFlags }, // Flags Characteristic User Description { { ATT_BT_UUID_SIZE, charUserDescUUID }, GATT_PERMIT_READ, 0, urlCfgCharFlagsUserDesc }, // Advertised TX Power Levels Characteristic Declaration 7506======================================== { { ATT_BT_UUID_SIZE, characterUUID }, GATT_PERMIT_READ, 0, &urlCfgCharAdvTXPwrLvlsProps }, // Advertised TX Power Levels Characteristic Value { { ATT_UUID_SIZE, urlCfgCharAdvTXPwrLvlsUUID }, GATT_PERMIT_READ | GATT_PERMIT_WRITE, 0, (uint8 *) urlCfgCharAdvTXPwrLvls }, // Advertised TX Power Levels Characteristic User Description { { ATT_BT_UUID_SIZE, charUserDescUUID }, GATT_PERMIT_READ, 0, urlCfgCharAdvTXPwrLvlsUserDesc }, // TX Power Mode Characteristic Declaration 7507====================================== { { ATT_BT_UUID_SIZE, characterUUID }, GATT_PERMIT_READ, 0, &urlCfgCharTXPowerModeProps }, // TX Power Mode Characteristic Value { { ATT_UUID_SIZE, urlCfgCharTXPowerModeUUID }, GATT_PERMIT_READ | GATT_PERMIT_WRITE, 0, &urlCfgCharTXPowerMode }, // TX Power Mode Characteristic User Description { { ATT_BT_UUID_SIZE, charUserDescUUID }, GATT_PERMIT_READ, 0, urlCfgCharTXPowerModeUserDesc }, // Beacon Period Characteristic Declaration 7508======================================= { { ATT_BT_UUID_SIZE, characterUUID }, GATT_PERMIT_READ, 0, &urlCfgCharBeaconPeriodProps }, // Beacon Period Characteristic Value { { ATT_UUID_SIZE, urlCfgCharBeaconPeriodUUID }, // GATT_PERMIT_READ | GATT_PERMIT_WRITE,//mark by seekwok GATT_PERMIT_READ,//add by seekwok 0, (uint8 *) &urlCfgCharBeaconPeriod }, // Beacon Period Characteristic User Description { { ATT_BT_UUID_SIZE, charUserDescUUID }, GATT_PERMIT_READ, 0, urlCfgCharBeaconPeriodUserDesc }, // Reset Characteristic Declaration 7509============================================== { { ATT_BT_UUID_SIZE, characterUUID }, GATT_PERMIT_READ, 0, &urlCfgCharResetProps }, // Reset Characteristic Value { { ATT_UUID_SIZE, urlCfgCharResetUUID }, // GATT_PERMIT_WRITE,//mark by seekwok GATT_PERMIT_READ,//add by seekwok 0, &urlCfgCharReset }, // Reset Characteristic User Description { { ATT_BT_UUID_SIZE, charUserDescUUID }, GATT_PERMIT_READ, 0, urlCfgCharResetUserDesc },};
更改了读写属性,怎么重新下载至开发板中,还是显示之前的读写权限,请大神指教。