Changeset 9867
- Timestamp:
- 02/01/10 09:49:22 (3 years ago)
- Location:
- ossiedev/branches/jgaeddert/0.8.0/components
- Files:
-
- 2 modified
-
PacketSink/PacketSink.cpp (modified) (1 diff)
-
PacketSource/PacketSource.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/branches/jgaeddert/0.8.0/components/PacketSink/PacketSink.cpp
r9866 r9867 170 170 171 171 if (verbose) { 172 printf("PacketSink received packet : [id:%4u] %4u bytes\n",172 printf("PacketSink received packet [%4u] %4u bytes\n", 173 173 packet_id, 174 174 payloadDataLength); -
ossiedev/branches/jgaeddert/0.8.0/components/PacketSource/PacketSource.cpp
r9865 r9867 193 193 194 194 if (verbose) { 195 std::cout << " PacketSource generating packet " << packet_id << std::endl; 195 printf("PacketSource generating packet [%4u] %4u bytes\n", 196 packet_id, 197 64); 196 198 } 197 199 … … 200 202 201 203 packet_id++; 204 packet_id &= 0xff; // for now strip id to only last 8 bits 205 206 // wait some time between each packet 207 // TODO : make configurable property 208 usleep(1000000); 202 209 } 203 210 }