Hi,
I wanted to understand better about the SERIAL FRAMES coming via Collection and sent through Dissemination Services in TinyOS. I have understood completely about the serial frame received in CTP, the following thread by Phil really helped. http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/0265 57.html I verified the complete frame in Collection using BRAY's TERMINAL as it gives the exact bytes coming out of the RS232. But I want to understand what does the serial port TRANSMITS when it sends a Dissemination packet to the network. (For DRIP implementation). For collection, the complete packet structure is: typedef nx_struct { > nx_uint8_t serialDelimiter; > nx_uint8_t serialProto; > nx_uint8_t serialDispatch; > > nx_am_addr_t dest; > nx_am_addr_t src; > nx_uint8_t length; > nx_am_group_t group; > nx_am_id_t type; > > nx_ctp_options_t options; > nx_uint8_t thl; > nx_uint16_t etx; > nx_am_addr_t origin; > nx_uint8_t originSeqNo; > nx_collection_id_t type; > > nx_am_addr_t source; > nx_uint16_t seqno; > nx_am_addr_t parent; > nx_uint16_t metric; > nx_uint16_t data; > nx_uint8_t hopcount; > nx_uint16_t sendCount; > nx_uint16_t sendSuccessCount; > > nx_uint16_t serialCrc; > nx_uint8_t serialDelimiter; > } msg_format_t; CAN SOME one please guide me about the serial frame for the message TRANSMITTED from the PC to the BASESTATION using DRIP. My understanding is that it should be something like this: nx_uint8_t serialDelimiter; nx_uint8_t serialProto; nx_uint8_t serialDispatch; nx_am_addr_t dest; nx_am_addr_t src; nx_uint8_t length; nx_am_group_t group; nx_am_id_t type; DRIP headers????? APPLICATION SPECIFIC HEADERS, say for example from Antitheft application, the following three data items: nx_uint8_t alert; nx_uint8_t detect; nx_uint16_t checkInterval; nx_uint16_t serialCrc; nx_uint8_t serialDelimiter; I am trying to set up a 25 node network and I have almost completed it. I am doing network testing NOW and will send my results soon. I am trying to develop a front end application for data aggregation using C#. Has anyone implemented anything with C# or .NET??? Another person is ready to help me to develop this front end if I can tell him the exact coming in and out of the serial port. Thanks, Varun Jain
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
