<s> from __future__ import absolute_import <EOL> __author__ = '<STR_LIT>' <EOL> from . base import PebblePacket <EOL> from . base . types import * <EOL> __all__ = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" ] <EOL> class RequestLogs ( PebblePacket ) : <EOL> generation = Uint8 ( ) <EOL> cookie = Uint32 ( ) <EOL> class LogMessage ( PebblePacket ) : <EOL> cookie = Uint32 ( ) <EOL> timestamp = Uint32 ( ) <EOL> level = Uint8 ( ) <EOL> length = Uint8 ( ) <EOL> line = Uint16 ( ) <EOL> filename = FixedString ( <NUM_LIT:16> ) <EOL> message = FixedString ( length ) <EOL> class LogMessageDone ( PebblePacket ) : <EOL> cookie = Uint32 ( ) <EOL> class NoLogMessages ( PebblePacket ) : <EOL> cookie = Uint32 ( ) <EOL> class LogDumpShipping ( PebblePacket ) : <EOL> class Meta : <EOL> endpoint = <NUM_LIT> <EOL> command = Uint8 ( ) <EOL> data = Union ( command , { <EOL> <NUM_LIT> : RequestLogs , <EOL> <NUM_LIT> : LogMessage , <EOL> <NUM_LIT> : LogMessageDone , <EOL> <NUM_LIT> : NoLogMessages , <EOL> } ) <EOL> class AppLogShippingControl ( PebblePacket ) : <EOL> class Meta : <EOL> endpoint = <NUM_LIT> <EOL> register = False <EOL> enable = Boolean ( ) <EOL> class AppLogMessage ( PebblePacket ) : <EOL> class Meta : <EOL> endpoint = <NUM_LIT> <EOL> uuid = UUID ( ) <EOL> timestamp = Uint32 ( ) <EOL> level = Uint8 ( ) <EOL> message_length = Uint8 ( ) <EOL> line_number = Uint16 ( ) <EOL> filename = FixedString ( <NUM_LIT:16> ) <EOL> message = FixedString ( message_length ) </s>
