Skip to content

The protocol definition between EEWBot <-> eew-renderer

Notifications You must be signed in to change notification settings

EEWBot/eew-renderer-proto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

eew-renderer-proto

Legacy format (base65536 encoded)

[ 0.. 1] Version                             (1  byte) [Always: 0]
[ 1..21] HMAC<Sha1>                          (20 bytes)
[21..  ] Body quake_prefecture_v0 (Protobuf) (N bytes)

Modern format (base32768 encoded)

[ 0.. 1] Versioned type id    (1  byte)
[ 1.. 2] Non base65536 marker (1  byte)  [Always: 0xFF]
[ 2..22] HMAC<Sha1>           (20 bytes)
[22..  ] Body Protobuf        (N bytes)

Versioned Type ID

Versioned Type ID Protobuf File
0 quake_prefecture_v0.proto
1 tsunami_v0.proto

About

The protocol definition between EEWBot <-> eew-renderer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •