Add Calendar-All parser
The new BlackBerry devices have some new databases whom Calendar-All and
Addressbook-All.
Here a patch to parse the Calendar-All database.
btool -v -d "Calendar" :
========================
SocketZero::RawReceive: Endpoint 82
Received:
00000000: 00 00 0c 00 13 07 01 00 27 00 00 00 ........'...
SocketZero::RawReceive: Endpoint 82
Received:
00000000: 07 00 b3 00 40 01 44 05 22 00 60 e5 17 5b 01 01 ....@.D.".`..[..
00000010: 00 01 61 08 00 02 4d 79 20 74 65 73 74 00 0e 00 ..a...My test...
00000020: 04 46 72 61 6e 63 65 20 2d 20 68 6f 6d 65 00 1d .France - home..
00000030: 00 03 49 74 27 73 20 61 20 73 69 6d 70 6c 65 20 ..It's a simple
00000040: 74 65 73 74 20 66 6f 72 20 43 68 72 79 73 00 14 test for Chrys..
00000050: 00 2a 36 35 36 33 39 36 37 31 37 35 33 33 33 37 .*
65639671753337
00000060: 36 36 34 39 35 00 08 00 2b 64 71 2d 92 ec f0 93 66495...+dq-....
00000070: bf 08 00 2c ff ff ff ff ff ff ff ff 04 00 06 e0 ...,............
00000080: 0f 76 03 04 00 07 1c 10 76 03 04 00 05 d1 0f 76 .v......v......v
00000090: 03 04 00 12 00 00 00 00 01 00 1c 02 01 00 28 02 ..............(.
000000a0: 10 00 1b 0c 00 00 00 02 00 00 00 00 00 00 00 00 ................
000000b0: 00 00 00 ...
Calendar entry: 0x5b17e560 (5)
Calendar ID: 0xbf93f0ec922d7164
All Day Event: no
Class: Private
Free/Busy: Busy
Subject: My test
Notes: It's a simple test for Chrys
Location: France - home
Notification Time: Sat May 29 17:45:00 2010
Start Time: Sat May 29 18:00:00 2010
End Time: Sat May 29 19:00:00 2010
Recurring: no
Unknowns:
Type: 0x2a Data:
00000000: 36 35 36 33 39 36 37 31 37 35 33 33 33 37 36 36
6563967175333766
00000010: 34 39 35 00 495.
Type: 0x2c Data:
00000000: ff ff ff ff ff ff ff ff ........
Type: 0x12 Data:
00000000: 00 00 00 00 ....
Type: 0x1b Data:
00000000: 0c 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 ................
BulkWrite to endpoint 0x2:
00000000: 07 01 07 00 41 00 00 ....A..
btool -v -d "Calendar - All" :
==============================
SocketZero::RawReceive: Endpoint 82
Received:
00000000: 00 00 0c 00 13 07 01 00 27 00 00 00 ........'...
SocketZero::RawReceive: Endpoint 82
Received:
00000000: 07 00 dc 00 40 01 44 05 22 00 22 00 00 00 00 08 ....@.D.".".....
00000010: 00 02 64 71 2d 92 ec f0 93 bf 11 00 03 6e 69 63 ..dq-........nic
00000020: 6f 6c 61 73 40 76 69 76 69 65 6e 2e 66 72 04 00 olas@vivien.fr..
00000030: 05 60 e5 17 5b a4 00 0a 01 00 01 61 08 00 02 4d .`..[......a...M
00000040: 79 20 74 65 73 74 00 0e 00 04 46 72 61 6e 63 65 y test....France
00000050: 20 2d 20 68 6f 6d 65 00 1d 00 03 49 74 27 73 20 - home....It's
00000060: 61 20 73 69 6d 70 6c 65 20 74 65 73 74 20 66 6f a simple test fo
00000070: 72 20 43 68 72 79 73 00 14 00 2a 36 35 36 33 39 r Chrys...*65639
00000080: 36 37 31 37 35 33 33 33 37 36 36 34 39 35 00 08
67175333766495..
00000090: 00 2b 64 71 2d 92 ec f0 93 bf 08 00 2c ff ff ff .+dq-.......,...
000000a0: ff ff ff ff ff 04 00 06 e0 0f 76 03 04 00 07 1c ..........v.....
000000b0: 10 76 03 04 00 05 d1 0f 76 03 04 00 12 00 00 00 .v......v.......
000000c0: 00 01 00 1c 02 01 00 28 02 10 00 1b 0c 00 00 00 .......(........
000000d0: 02 00 00 00 00 00 00 00 00 00 00 00 ............
Calendar entry: 0x5b17e560 (5)
Calendar ID: 0xbf93f0ec922d7164
Mail Account: nicolas@vivien.fr
All Day Event: no
Class: Private
Free/Busy: Busy
Subject: My test
Notes: It's a simple test for Chrys
Location: France - home
Notification Time: Sat May 29 17:45:00 2010
Start Time: Sat May 29 18:00:00 2010
End Time: Sat May 29 19:00:00 2010
Recurring: no
Unknowns:
Type: 0x2a Data:
00000000: 36 35 36 33 39 36 37 31 37 35 33 33 33 37 36 36
6563967175333766
00000010: 34 39 35 00 495.
Type: 0x2c Data:
00000000: ff ff ff ff ff ff ff ff ........
Type: 0x12 Data:
00000000: 00 00 00 00 ....
Type: 0x1b Data:
00000000: 0c 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 ................
BulkWrite to endpoint 0x2:
00000000: 07 01 07 00 41 00 00 ....A..