def on_packet(self, pkt: FRPPacket): if pkt.command_id == 0x30: # custom "sensor data" command temp = pkt.payload[0] # first byte = temperature (°C) if temp > 70: self.logger.warn(f"High temperature! temp°C") self.alert("OVERHEAT", temp)
: Uses a specific "Test Mode" ( #0 #) to enable USB debugging and bypass account verification.
def on_packet(self, pkt: FRPPacket): if pkt.command_id == 0x30: # custom "sensor data" command temp = pkt.payload[0] # first byte = temperature (°C) if temp > 70: self.logger.warn(f"High temperature! temp°C") self.alert("OVERHEAT", temp)
: Uses a specific "Test Mode" ( #0 #) to enable USB debugging and bypass account verification.
Input your search keywords and press Enter.