Topic

FAQ
Login Register
I have a question about the data transfer method between nodes.
Mar 01, 2023 09:22

/

A

/A

1. I used "int light_slave_tx_command" to send data to another node.
The function "intrf_link_response_callback(u8 *p, u8 *p_cmd_rx)" does not respond.
An event is generated by the function "void rf_link_data_callback (u8 *p)".


2. Is the function "int rf_link_response_callback (u8 *p, u8 *p_cmd_rx)" used only inside Telink ble?
Can't the user modify it randomly and use it?
I don't know how to use "rf_link_response_callback" exactly. Also, is there any advantage in using this?




1 replies
TL_Soyo Mar 01, 2023 13:55
0
/A

HI,

  1、you should read data in the functin rf_link_data_callback

  2、rf_link_response_callback used to respond to commands in the form of notify,and you should not use this function ,it is for SDK,please get and response you data in the function rf_link_data_callback, .