rv32m1_sdk_riscv\boards\rv32m1_vega\wireless_examples\bluetooth\heart_rate_senso

Home 论坛 一般性讨论 rv32m1_sdk_riscv\boards\rv32m1_vega\wireless_examples\bluetooth\heart_rate_senso

正在查看 1 帖子:1-1 (共 1 个帖子)
  • 作者
    帖子
  • #1979
    hyq666hyq666
    参与者

    又如我自己添加的新的服务器名字就会显示为UnKnown Service,怎样修改显示为如:Spectral measurement的名字

    PRIMARY_SERVICE(nir_service, gBleSig_DeviceInformationService_d + 500)
    CHARACTERISTIC(nir_system_notify, 0x2c16, (gGattCharPropNotify_c) )
    VALUE(value_nir_system_value_notify, 0x2c16, (gPermissionFlagReadable_c),16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
    CCCD(cccd_nir_changed)

    CHARACTERISTIC(nir_system_id, 0x2c17, (gGattCharPropRead_c) )
    VALUE(value_nir_system_value, 0x2c17, (gPermissionFlagReadable_c), 16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
    CHARACTERISTIC(nir_system_id_1, 0x2c18, (gGattCharPropRead_c) )
    VALUE(value_nir_system_value_1, 0x2c18, (gPermissionFlagReadable_c), 16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
    CHARACTERISTIC(nir_system_id_2, 0x2c19, (gGattCharPropRead_c) )
    VALUE(value_nir_system_value_2, 0x2c19, (gPermissionFlagReadable_c), 16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
    CHARACTERISTIC(nir_system_id_3, 0x2c1a, (gGattCharPropRead_c) )
    VALUE(value_nir_system_value_3, 0x2c1a, (gPermissionFlagReadable_c), 16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
    CHARACTERISTIC(nir_system_id_4, 0x2c1b, (gGattCharPropRead_c) )
    VALUE(value_nir_system_value_4, 0x2c1b, (gPermissionFlagReadable_c), 16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
    CHARACTERISTIC(nir_system_id_5, 0x2c1c, (gGattCharPropRead_c) )
    VALUE(value_nir_system_value_5, 0x2c1c, (gPermissionFlagReadable_c), 16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
    CHARACTERISTIC(nir_system_id_6, 0x2c1d, (gGattCharPropRead_c) )
    VALUE(value_nir_system_value_6, 0x2c1d, (gPermissionFlagReadable_c), 16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
    CHARACTERISTIC(nir_system_id_7, 0x2c1e, (gGattCharPropRead_c) )
    VALUE(value_nir_system_value_7, 0x2c1e, (gPermissionFlagReadable_c), 16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)

    望大佬解答。

     

正在查看 1 帖子:1-1 (共 1 个帖子)
  • 抱歉,回复话题必需登录。