+---------++---------+| Gateway || Server |+---------++---------+|-----------------------------------\ ||-| When 1-NRF packets are received |||------------------------------------||||PUSH_DATA(token X,GWMAC,JSON payload)||------------------------------------------------------------->||||PUSH_ACK(token X)||<-------------------------------------------------------------||------------------------------\ ||| process packets *after* ack |-||-------------------------------|||
PUSH_DATA <–> PUSH_ACK:网关向网络服务器提交上行RF数据包。
3.2、下行时序图
+---------++---------+| Gateway || Server |+---------++---------+|-----------------------------------\ ||-| Every Nseconds(keepalive time)|||------------------------------------||||PULL_DATA(token Y,MAC@)||------------------------------------------------------------->||||PULL_ACK(token Y)||<-------------------------------------------------------------|||
PULL_DATA <–> PULL_ACK:GW向NS发送“心跳”。
+---------++---------+| Gateway || Server |+---------++---------+|------------------------------------------------------\ ||| Anytime after first PULL_DATAfor each packet to TX|-||-------------------------------------------------------||||PULL_RESP(token Z,JSON payload)||<-------------------------------------------------------------||||TX_ACK(token Z,JSON payload)||------------------------------------------------------------->|