HI
easylink中的EasyLink_receiveAsync函数,如果接受到一条数据,它是怎么判断数据接收完毕,产生回调的呢?是接收数据的时候做了超时吗?如果我想增加这个时长该怎么改呢?
谢谢!
Susan Yang:
EasyLink_Status EasyLink_receiveAsync(EasyLink_ReceiveCb cb, uint32_t absTime)
Enables Asynchronous Packet Rx with non blocking call.
This function is a non blocking call to Rx a packet. The Rx is turned on and the Callback is called once a packet is received. The Rx will timeout if EasyLink_Ctrl_AsyncRx_TimeOut ctrl message is used to set the timeout to something other than 0.
Return
EasyLink_Status
Parameters
cb: The rx function pointer.
absTime: Start time of Rx (0: now !0: absolute radio time to start Rx)
ruimao cong:
回复 Susan Yang:
你好 这里面 只是说了 接收 一包数据,但是没说 是不是 接收做了超时