8258的传感器数据发送 网关一直收不到消息

Discussions on BLE related products, including standard BLE devices, BLE mesh, and Apple HomeKit products
Post Reply
yufeng
Posts: 4
Joined: Thu Aug 16, 2018 11:31 am

Sat Aug 17, 2019 10:46 am

使用这个函数来进行发送 mesh_tx_sensor_st_rsp(0, ele_adr_primary, 0xFFFF, 0, 0, SENSOR_STATUS, LUX_PROP_ID, 0); 上位机没有任何消息
其他的数据(如标准的onoff 复位)都能发送且收到
TL_Jerry
Posts: 25
Joined: Tue Mar 07, 2017 9:28 am

Mon Aug 19, 2019 9:48 am

1、目前上位机不支持sensor respons 数据接下:
2、mesh_tx_cmd_rsp(mesh_tx_sensor_st_rsp也是调用这个函数)是在节点接收到命令后回复用的接口,这个函数在发送的时候会使用解密所收命令成功的app_key. 比如: 收到一个onoff set命令,并用app_key index 1解密成功,那么在mesh_tx_cmd_rsp回复状态的时候会用appkey_index 1。 如果节点要主动发送消息,用mesh_tx_cmd2normal_primary(此时解密的appkey_index是不可靠的)。
Post Reply