@@ -63,11 +63,11 @@ For example, writing to a file process:
63
63
```
64
64
c -> s: 0x12, mode: wc, open file
65
65
s -> c: 0x12, status 0, file id 0xa1, the file has been created and can be written
66
- c -> s: 0x14 , chunk 0 | 0x8000, file id 0xa1, 246 bytes of data
67
- c -> s: 0x14 , chunk 1 | 0x8000, file id 0xa1, 246 bytes of data
66
+ c -> s: 0x15 , chunk 0 | 0x8000, file id 0xa1, 246 bytes of data
67
+ c -> s: 0x15 , chunk 1 | 0x8000, file id 0xa1, 246 bytes of data
68
68
...
69
- c -> s: 0x14 , chunk N, file id 0xa1, 56 bytes of data
70
- s -> c: 0x14 , status 0, writing completed
69
+ c -> s: 0x15 , chunk N, file id 0xa1, 56 bytes of data
70
+ s -> c: 0x15 , status 0, writing completed
71
71
c -> s: 0x13, file id 0xa1, close the file,
72
72
s -> c: 0x13, status 0,
73
73
```
@@ -77,10 +77,10 @@ Read file process
77
77
```
78
78
c -> s: 0x12, mode: r, open file
79
79
s -> c: 0x12, status 0, file id 0xa1, the file is open and can be read
80
- c -> s: 0x15 , chunk 0, file id 0xa1
81
- s -> c: 0x15 , status 0, chunk 1 | 0x8000, file id 0xa1, 246 bytes of data
80
+ c -> s: 0x14 , chunk 0, file id 0xa1
81
+ s -> c: 0x14 , status 0, chunk 1 | 0x8000, file id 0xa1, 246 bytes of data
82
82
...
83
- s -> c: 0x15 , status 0, chunk N, file id 0xa1, 56 bytes of data
83
+ s -> c: 0x14 , status 0, chunk N, file id 0xa1, 56 bytes of data
84
84
c -> s: 0x13, file id 0xa1, close the file,
85
85
s -> c: 0x13, status 0,
86
86
```
0 commit comments