Home › 论坛 › 一般性讨论 › rv32m1_sdk_riscv\boards\rv32m1_vega\wireless_examples\bluetooth\heart_rate_senso
-
作者帖子
-
十一月 11, 2019 - 2:17 下午 #1979hyq666参与者
又如我自己添加的新的服务器名字就会显示为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)望大佬解答。
-
作者帖子
- 抱歉,回复话题必需登录。