-
Notifications
You must be signed in to change notification settings - Fork 7
/
livescribe-re.txt
64 lines (51 loc) · 1.99 KB
/
livescribe-re.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Livescribe
-Uses OBEX over USB
-Connect has TARGET header, value LivescribeService
-Response has WHO header, value LivescribeServi
-App-Param header, 0 - 4 - 1
-GET has Connection ID, value 0x00000001
-Name header (len 256?) 'ppdata?key=pp0000
-Response has Length header, 0
-EOB header:
<xml>
<parameter key="pp0000" exists=true" value="0x050000025c000d2a48"/>
<xml>(trailing newline)
-GET has Connection ID, value 0x00000002
-Name header 'ppdata?key=pp0000 (penid)
-Response identical to last
-DISCONNECT with ConnID value 0x00000001
-DISCONNECT with COnnID value 0x00000002
-Connect with TARGET=LivescribeService
-Response identical to last
-GET with ConnID=0x00000003, Name=peninfo
-Response:
<xml>
<peninfo penid="0x0000025c000d2a48">
<battery voltage="4.215" level="100%" temperature="0"/>
<memory freebyptes="1912143872" totalbytes="1968177152" flashsize="2147483648"/>
<time absolute="8765399302"/>
<version swrev="604-090719-010700" svnbranch="branches/v1.7" svnrev="30850" modified="false"/>
<bootloader svnrev="29264"/>
<penlets count="98"/>
</peninfo>
</xml>
-DISCONNECT
...
-GET ConnID=0x00000004 Name='ppdata?key=pp8004
-Response:
<xml>
<parameter key="pp8004" exists="true" value="0x8668750a02000000"/>
</xml>
-Get ConnID=0x00000004 Name=penletlist
-Response: (Continue)
<xml>
<lsps>
<lsp lowpa="0x0008a00000016058" highpa="0x0008a00000016059" name="Unlined Journal 1 COVER classname="0xd5c9048d324268a" fullpath="penlets/Journal_A_Blank_Series_1_cvr_pen.afd" version="2.0" size="4808" group="" groupversion="0.0" category="" locked="false" private="false" installed="true" />
<lsp lowpa=0x0008a0000001300c" highpa="0x0008a00000014065" name="Unlined Journal 1" classname="0x2f87a14de7e570c8" fullpath="penlets/Journal_A_Blank_Series_1_pen.afd" version="2.0" size="27302" group="" groupversoin="0.0" category="" locked="false" private="false" installed="true />
...
</lsps>
</xml>
-DISCONNECT
-CONNECT
-GET name=pencommand?action=flushfs
-PUT name=pencommand?action=flushfs