xref: /freebsd/contrib/file/magic/Magdir/espressif (revision 1323ec571215a77ddd21294f0871979d5ad6b992)
1
2# $File: espressif,v 1.3 2021/04/26 15:56:00 christos Exp $
3# configuration dump of Tasmota firmware for ESP8266 based devices by Espressif
4# URL: https://github.com/arendst/Sonoff-Tasmota/
5# Reference: https://codeload.github.com/arendst/Sonoff-Tasmota/zip/release-6.2/
6# Sonoff-Tasmota-release-6.2.zip/Sonoff-Tasmota-release-6.2/sonoff/settings.h
7# From: Joerg Jenderek
8#
9# cfg_holder=4617=0x1209
100		uleshort	4617
11# remaining settings normally 0x5A+offset XORed; free_1D5[20] empty since 5.12.0e
12>0x1D5		ubequad		0x2f30313233343536	configuration of Tasmota firmware (ESP8266)
13!:mime	application/x-tasmota-dmp
14!:ext	dmp
15# version like 6.2.1.0 ~ 0x06020100 XORed to 0x63666262
16>>11		ubyte^0x65	x			\b, version %u
17>>10		ubyte^0x64	x			\b.%u
18>>9		ubyte^0x63	x			\b.%u
19>>8		ubyte^0x62	x			\b.%u
20#>8		ubelong		x			(%#x)
21# hostname[33] XORed
22>>0x165		ubyte^0x1BF	x			\b, hostname %c
23>>0x166		ubyte^0x1C0	>037			\b%c
24>>0x167		ubyte^0x1C1	>037			\b%c
25>>0x168		ubyte^0x1C2	>037			\b%c
26>>0x169		ubyte^0x1C3	>037			\b%c
27>>0x16A		ubyte^0x1C4	>037			\b%c
28>>0x16B		ubyte^0x1C5	>037			\b%c
29>>0x16C		ubyte^0x1C6	>037			\b%c
30>>0x16D		ubyte^0x1C7	>037			\b%c
31>>0x16E		ubyte^0x1C8	>037			\b%c
32>>0x16F		ubyte^0x1C9	>037			\b%c
33>>0x170		ubyte^0x1CA	>037			\b%c
34>>0x171		ubyte^0x1CB	>037			\b%c
35>>0x172		ubyte^0x1CC 	>037			\b%c
36>>0x173		ubyte^0x1CD	>037			\b%c
37>>0x174		ubyte^0x1CE	>037			\b%c
38>>0x175		ubyte^0x1CF	>037			\b%c
39>>0x176		ubyte^0x1D0	>037			\b%c
40>>0x177		ubyte^0x1D1	>037			\b%c
41>>0x178		ubyte^0x1D2	>037			\b%c
42>>0x179		ubyte^0x1D3	>037			\b%c
43>>0x17A		ubyte^0x1D4	>037			\b%c
44>>0x17B		ubyte^0x1D5	>037			\b%c
45>>0x17C		ubyte^0x1D6	>037			\b%c
46>>0x17D		ubyte^0x1D7	>037			\b%c
47>>0x17E		ubyte^0x1D8	>037			\b%c
48>>0x17F		ubyte^0x1D9	>037			\b%c
49>>0x180		ubyte^0x1DA	>037			\b%c
50>>0x181		ubyte^0x1DB	>037			\b%c
51>>0x182		ubyte^0x1DC	>037			\b%c
52>>0x183		ubyte^0x1DD	>037			\b%c
53>>0x184		ubyte^0x1DE	>037			\b%c
54>>0x185		ubyte^0x1DF	>037			\b%c
55#>>0x165		string		x			(%.33s)
56
57
58