Samraksh.eMote.Net Namespace > MACBase Class : MACBase Constructor |
'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)
public MACBase( MACType macType, IRadioConfiguration radioConfiguration, uint neighborLivenessDelay, byte numberOfRetries, byte bufferSize, bool cca, byte ccaSenseTime )
public: MACBase( MACType macType, IRadioConfiguration^ radioConfiguration, uint neighborLivenessDelay, byte numberOfRetries, byte bufferSize, bool cca, byte ccaSenseTime )
Exception | Description |
---|---|
MacNotConfigured Exception | MAC is not configured |
System Exception | Serves as the base class for system exceptions namespace. |
Target Platforms: eMote .NOW