Samraksh eMote .NOW
MACBase Constructor



CSMA, OMAC or other MAC
Constructor to create MAC object
Syntax
'Declaration
 
Public Function New( _
   ByVal macType As MACType, _
   ByVal radioConfiguration As IRadioConfiguration, _
   Optional ByVal neighborLivenessDelay As UInteger, _
   Optional ByVal numberOfRetries As Byte, _
   Optional ByVal bufferSize As Byte, _
   Optional ByVal cca As Boolean, _
   Optional ByVal ccaSenseTime As Byte _
)
'Usage
 
Dim macType As MACType
Dim radioConfiguration As IRadioConfiguration
Dim neighborLivenessDelay As UInteger
Dim numberOfRetries As Byte
Dim bufferSize As Byte
Dim cca As Boolean
Dim ccaSenseTime As Byte
 
Dim instance As New MACBase(macType, radioConfiguration, neighborLivenessDelay, numberOfRetries, bufferSize, cca, ccaSenseTime)

Parameters

macType
CSMA, OMAC or other MAC
radioConfiguration
neighborLivenessDelay
numberOfRetries
bufferSize
cca
ccaSenseTime
Exceptions
ExceptionDescription
MacNotConfigured ExceptionMAC is not configured
System ExceptionServes as the base class for system exceptions namespace.
Requirements

Target Platforms: eMote .NOW

See Also

Reference

MACBase Class
MACBase Members

Send Feedback