This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Python实现Linux Gateway Application的时候,接收数据payload字段为空

Other Parts Discussed in Thread: Z-STACK

RT,在进行测试的时候,python接收网关subsystem调用的GW_ZCL_FRAME_RECEIVE_IND命令,反序列化后,payload字段为空。

但是使用TI提供的demo,payload字段却是有数据的。

请问这是这么原因呢?

  • si_gateway_incoming_data_handler(pkt_buf_t * pkt, int len)函数有到吗?

  • Hi,VV

          我这边Python程序,主要想替换/Source/Projects/zstack/linux/demo即Gateway Application

          通过2541端口直接连接网关Z-Stack部分,相关Api文档中,并未招到您所说的函数。

          请问,这个函数是Gateway Application Demo中的函数么?

          Python程序只接收到了Gw_Zcl_Frame_Receive_Ind相关的数据包。

    Best Regard!

  • 如果是这样的话,在你的python里面要实现我们linux gateway里面提供那套sample Application,也就是应用部分。

    你需要移植过去的。