Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add model for Phone Book to protocol 9 #85

Closed
synthead opened this issue Sep 13, 2022 · 2 comments · Fixed by #88
Closed

Add model for Phone Book to protocol 9 #85

synthead opened this issue Sep 13, 2022 · 2 comments · Fixed by #88
Assignees
Labels
enhancement New feature or request protocol 9 Specific to protocol 9

Comments

@synthead
Copy link
Owner

Here's some example data (two screenshots due to scrolled content:

image

image

Bytes from above:

20 70 02 40 05 A9 22 5F E6 B2 E8 BB E7 B2 E8 BB E7 BB E8 B2 E7 B2 5C A3 09 26 ED 15 A9 01 32 CD
14 70 02 5A A9 02 14 A9 B6 A9 A4 07 47 B7 A9 CC 74 6F C6 FC
06 23 02 40 D2 F1
05 60 06 03 B8
20 61 01 00 0E 00 16 02 08 24 0C 11 1B 18 17 18 24 0E 21 43 65 87 09 BC 99 B3 71 D8 45 06 EB DD
20 61 02 3F 0E 21 43 65 87 09 CF 99 B3 71 D8 45 06 3F 13 21 43 65 87 09 21 F1 40 14 C6 81 0B 44
20 61 03 24 40 20 0C 44 61 FC 13 21 43 65 87 09 21 F1 40 14 C6 81 24 40 20 0C 44 61 FC 13 F1 B2
20 61 04 99 99 99 99 99 99 71 92 24 49 92 24 49 92 24 49 92 FC 13 99 99 99 99 99 99 71 92 BB 84
20 61 05 24 49 92 24 49 92 24 49 92 FC 13 99 99 99 99 99 99 71 92 24 49 92 24 49 92 24 49 E3 27
1A 61 06 92 FC 13 99 99 99 99 99 99 71 92 24 49 92 24 49 92 24 49 92 FC 1E 32
04 62 29 83
@synthead synthead added enhancement New feature or request protocol 9 Specific to protocol 9 labels Sep 13, 2022
@synthead
Copy link
Owner Author

This looks like it's similar to protocol 1's EEPROM data:

CPACKET_SECT = [0x60]
CPACKET_DATA = [0x61]
CPACKET_END = [0x62]

It also appears that the packets paginate at 32 bytes, which is similar to protocol 3's EEPROM pagination:

@synthead
Copy link
Owner Author

Example with only one phone number:

image

Bytes:

20 70 02 40 05 A9 22 5F E6 B2 E8 BB E7 B2 E8 BB E7 BB E8 B2 E7 B2 5C A3 09 26 ED 15 A9 01 32 CD
14 70 02 5A A9 02 14 A9 B6 A9 A4 07 47 B7 A9 CC 74 6F C6 FC
06 23 02 40 D2 F1
05 60 02 C0 B9
20 61 01 00 0E 00 16 02 01 24 0C 11 1B 18 17 18 24 0E 21 43 65 87 09 CF 99 B3 71 D8 45 06 46 C6
06 61 02 3F 26 10
04 62 29 83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request protocol 9 Specific to protocol 9
Projects
None yet
1 participant