111111
111111
, Ltd
HLK-LD6002
Communication Protocol
Respiratory heart rate detection
1. int main(void )
2. {
3. unsigned int param = 0x 41A 26666;
4. float res = *(float *)¶m ;
5.
6. printf("data: %f\n", res);
7. return 0;
8. }
2. Programming interface
2.1. Encode the TF message
void tinyFramefTx(TF_TYPE type, uint8 *data, TF_LEN len);
Where type is the sending data type, the u int16 type, such as the personnel detection data result
report, the data type is 0x0A10. See 4.2.1.6 for details
Uint8 * Data is the address that sends the data.
Len is the length of the sent data, the u int16 type.
After successfully receiving the message, the received data is returned to a variable of the
TinyFrameRx type.