yabo国际娱乐对话半导体客户支持-人力资源用户数据 https://support.dialog-semiconductor.com/resource-keywords/hr-user-data BLE发送的心率值 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/heart-rate-value-sent-ble < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >嗨对话框中,< br / >我试着发送用户数据通过hrp_sensor项目。
我的数据是16位或32位。
我这样修改代码:
hrs_meas。bpm = (uint16_t) temp_int32;//用户数据

当数据= 2400~2566时,App显示为596xx,627xx,.....< / p > < p >我不知道下面的代码将会做的事:< br /> //-------------------------------< br / > / * RR-Interval将每次但有不同的设置* / < br / > hrs_meas。Rr_num = 1 + rand() % 2;

if (hrs_meas. r> = 1000 + rand() % 21;rr_num祝辞1) {br /> hrs_meas。rr [1] = 1000 + rand () % 21; < br / >} < br /> //------------------------------< br / >任何代码需要修改吗?

b顺便问一下,如何定义/传输用户数据?(UUID ?.. regist sevice ...)

Thanks

Keywords: 
Device: 
2017年2月23日星期四09:32:09 +0000 jamesleo-konka 5473年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/heart-rate-value-sent-ble#comments