我不是 SOC 专家,但在这里我通过阅读相同的文档了解。
It said "Every time you create a new network connection, the radio transitions to the full power state." What does connection mean here? Is that a TCP connection? Does that mean sending a UDP packet will not wake up the radio?
通过网络进行的任何类型的数据传输都会唤醒无线电,无论是 UDP 还是 TCP 1 字节还是 1 MB。
In Standby it said: "Standby: The minimal energy state during which no network connection is active or required." Does that mean the network module is completely shut off? If so how can GCM even work even when the device is in sleep mode? If not, roughly how much battery does it use compared to full power mode?
在不唤醒整个收音机的情况下,您仍然可以保持与无线发射塔的连接。我相信这个设计很久以前就是为了节省手机电池而做的,它与Android无关。它可能只为这项工作使用不同的芯片,但我会将这个答案留给 SOC 专家。
"Every time you create a new network connection, the radio transitions to the full power state." How does that gibe with long lived TCP connections? If I create a TCP connection and then just keep receiving packets, then I won't be creating new network connections or sending out any data. Does that allow the network module to go to Standby mode?
要打开 TCP 连接,您总是需要一定程度的握手,这将保持无线电发射器唤醒。TCP 是一种可靠的协议,这意味着传输将在两端进行验证,以避免传输错误。而且,在我们的例子中,这意味着无论如何,系统总是会通过网络发送、接收一些东西。TCP 保持活动还进行网络握手(keep_alive),这意味着如果仍然没有传输数据,它将保持发送器唤醒。