|
|
Jump to this file's LXR Page |
|
|
File: [CENS] / tos-contrib / bsnoop / README
(download)
Revision: 1.1, Sat Jun 18 00:32:45 2005 UTC (4 years, 5 months ago) by cvsanon Branch: MAIN CVS Tags: rdd_alpha_version_1, pregeonet, acoustic-05-18-06, PRE_TOSNIC_FIX, PRE_64BIT, LAURA_CALIBRATION_EXPERIMENTS, HEAD, ESS_RELEASE_3_5, ESS_RELEASE_3_4, ESS_RELEASE_3_2, ESS_RELEASE_3_1, ESS_RELEASE_3_0, ESS_RELEASE_2_0, ESS_CONNECTIVITY, ESS_CENTROUTE_TESTING, ESS2-CMS-V1_5_pretest, ESS2-CMS-V1_4cMergeSympathy, EMSTAR_RELEASE_2_5, CYCLOPS_RELEASE_CANDIDATE_2_0, CYCLOPS_PRERELEASE_STABLE, CENTROUTE_EMSTAR_SOCKETS, BG_1_0, BANGLADESH_ARSENIC_1_2, BANGLADESH_ARSENIC_1_1, AMARSS_JR_DEPLOYMENT_6_05_07 Readme for simple B-MAC snooper |
BSnoop Author: Tyler McHenry <smchenry@isi.edu> BSnoop is a packet snooper for B-MAC that mimics the behavior of the S-MAC snooper in tos-contrib/s-mac/apps/Snooper (except of course it snoops B-MAC networks) It sends the same preamble as the S-MAC snooper, which consists of a BEGIN byte (0x7E) and then the length of the entire packet excluding the BEGIN byte but including the length byte. The recieved packet then is transmitted, including CRC but not including meta-data. Because of the compatable format, the S-MAC snooper's snoop2 tool can be used to dump output to the terminal. (The older 'snoop' will not work because it assumes S-MAC packet lengths) Note: the CRC calculation done by snoop2 will always report BAD CRC since it expects an actual CRC rather than the CRC 'flag' that B-MAC sets. Internally, the entire packet is buffered first, since unlike S-MAC, the B-MAC stack does not have a byte stream interface. However, it is still sent byte-at-a-time over UART. I have run into no issues with packet reception being faster than UART transmission as of yet.
| CENS CVS Mailing List |
Powered by ViewCVS 0.9.2 |