Rtukou

    1. 【Nucleo心得】+(七)BlueNRG代码浏览 11/5337 stm32/stm8 2016-11-28
      楼主,希望得到你的帮助,我的企鹅570201054
    2. 【Nucleo心得】+(七)BlueNRG代码浏览 11/5337 stm32/stm8 2016-11-28
      Rtukou 发表于 2016-11-25 13:55 设备名称好像不能完全改过来啊!
      楼主帮帮忙吧!
    3. 【Nucleo心得】+(七)BlueNRG代码浏览 11/5337 stm32/stm8 2016-11-25
      设备名称好像不能完全改过来啊!
    4. 楼主,我的BlueNRG 为什么添加多个服务或者一个服务下添加多个特征值会导致蓝牙不能广播?是哪里没有配置好么?
    5. 怎么不能添加多个服务及服务下的特征值 const uint8_t uuid[16] =                  {0x66,0x9a,0x0c,0x20,0x00,0x08,0x96,0x9e,0xe2,0x11,0x9e,0xb1,0xe0,0xf2,0x73,0xd9};   const uint8_t charUuidTX[16] = {0x66,0x9a,0x0c,0x20,0x00,0x08,0x96,0x9e,0xe2,0x11,0x9e,0xb1,0xe1,0xf2,0x73,0xd9};   const uint8_t charUuidRX[16] = {0x66,0x9a,0x0c,0x20,0x00,0x08,0x96,0x9e,0xe2,0x11,0x9e,0xb1,0xe2,0xf2,0x73,0xd9};   const uint8_t charUuidRX1[16] = {0x66,0x9a,0x0c,0x20,0x00,0x08,0x96,0x9e,0xe2,0x11,0x9e,0xb1,0xe3,0xf2,0x73,0xd9}; Osal_MemCpy(&service_uuid.Service_UUID_128, uuid, 16);   ret = aci_gatt_add_service(UUID_TYPE_128, &service_uuid, PRIMARY_SERVICE, 8, &chatServHandle);   if (ret != BLE_STATUS_SUCCESS) goto fail;      Osal_MemCpy(&char_uuid.Char_UUID_128, charUuidTX, 16);   ret =  aci_gatt_add_char(chatServHandle, UUID_TYPE_128, &char_uuid, 20, CHAR_PROP_NOTIFY, ATTR_PERMISSION_NONE, 0,                 16, 1, &TXCharHandle);   if (ret != BLE_STATUS_SUCCESS) goto fail;   Osal_MemCpy(&char_uuid.Char_UUID_128, charUuidRX, 16);   ret =  aci_gatt_add_char(chatServHandle, UUID_TYPE_128, &char_uuid, 20, CHAR_PROP_WRITE|CHAR_PROP_WRITE_WITHOUT_RESP, ATTR_PERMISSION_NONE, GATT_NOTIFY_ATTRIBUTE_WRITE,                 16, 1, &RXCharHandle);   if (ret != BLE_STATUS_SUCCESS) goto fail;   Osal_MemCpy(&char_uuid.Char_UUID_128, charUuidRX1, 16);   ret =  aci_gatt_add_char(chatServHandle, UUID_TYPE_128, &char_uuid, 20, CHAR_PROP_WRITE|CHAR_PROP_WRITE_WITHOUT_RESP, ATTR_PERMISSION_NONE, GATT_NOTIFY_ATTRIBUTE_WRITE,                 16, 1, &RXCharHandle1);   if (ret != BLE_STATUS_SUCCESS) goto fail; 报如下错:BlueNRG-1 BLE Chat Server Application (version: 1.0.0) Error while adding Chat service. Add_Chat_Service fail CHAT_DeviceInit()--> Failed 0x41

最近访客

< 1/1 >

统计信息

已有5人来访过

  • 芯积分:5
  • 好友:--
  • 主题:1
  • 回复:5

留言

你需要登录后才可以留言 登录 | 注册


现在还没有留言