|
@@ -117,12 +117,27 @@ int main(int argc, char *argv[]) {
|
117
|
117
|
}
|
118
|
118
|
|
119
|
119
|
int sendFrames() {
|
120
|
|
- char c = ERROR;
|
|
120
|
+ /*char c = ERROR;
|
121
|
121
|
printf("Not implemented!\n");
|
122
|
122
|
if (serialWriteTry(&c, 1)) {
|
123
|
123
|
printf("Could not write to pseudo terminal\n");
|
124
|
124
|
}
|
125
|
|
- return -1;
|
|
125
|
+ return -1;*/
|
|
126
|
+ char c;
|
|
127
|
+ ssize_t size;
|
|
128
|
+ int a, frameCount, f, d;
|
|
129
|
+ char data[65];
|
|
130
|
+
|
|
131
|
+ c = OK;
|
|
132
|
+ if (serialWriteTry(&c, 1)) {
|
|
133
|
+ printf("Could not write to pseudo terminal\n");
|
|
134
|
+ return -1;
|
|
135
|
+ }
|
|
136
|
+
|
|
137
|
+ frameCount = framesStored();
|
|
138
|
+ printf("FrameCount = %d\n", frameCount);
|
|
139
|
+
|
|
140
|
+
|
126
|
141
|
}
|
127
|
142
|
|
128
|
143
|
int recieveFrames() {
|