Samraksh eMote .NOW
OMAC Constructor



Radio configuration to use
Time to wait (in milliseconds) before declaring a neighbor dead
Number of times to retry sending a packet
Size of send buffer
Use clear channel assessment
cca sense time
OMAC constructor
Syntax
'Declaration
 
Public Function New( _
   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 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 OMAC(radioConfiguration, neighborLivenessDelay, numberOfRetries, bufferSize, cca, ccaSenseTime)

Parameters

radioConfiguration
Radio configuration to use
neighborLivenessDelay
Time to wait (in milliseconds) before declaring a neighbor dead
numberOfRetries
Number of times to retry sending a packet
bufferSize
Size of send buffer
cca
Use clear channel assessment
ccaSenseTime
cca sense time
Requirements

Target Platforms: eMote .NOW

See Also

Reference

OMAC Class
OMAC Members

Send Feedback