Samraksh / eMote

eMote OS -- Multiple Ports (using .NET MF v4.3)
0 stars 0 forks source link

MAC Packet application payload size #474

Open MichaelAtSamraksh opened 7 years ago

MichaelAtSamraksh commented 7 years ago

How should one query the MAC interface for the maximum packet payload size? Is the payload size really the same for each MAC? Doesn't CSMA have a larger application payload than OMAC? If the payload size is not the same for all MACs, then why is it defined in Message.h? Can the maximum payload size change based on what MAC/radio combination is being used? If so, is the MAC responsible for fragmenting and reconstructing application payloads? If not, how is a user supposed to write an application for different MACs? Does CSMAMAC use the 802.15.4 footer and metadata packet constructs? Is the FCF in the header and footer now? What is the longest packet that can be sent in the radio's extended mode? Is the radio's extended mode currently being used? Why does OMAC now return 0 for the function MAC_GetSendBufferSize()? Why do the abstract interface function declarations not have any comments regarding what the functions are actually supposed to do? How is a user supposed to know the optimal packet size for allowing control+data plane packets to be combined/packed together? OMAC packs several types of packets -- this has changed over time -- so how may a user discover the different packet sizes that are good to use with OMAC, especially if the user is responsible for fragmenting packets (instead of treating OMAC like a stream).