Samraksh eMote .NOW
Configure Method (MACBase)



MAC configuration to use
Method to call when message received
Method to call when neighborhood changed
Configure the MAC object. Must be called before a call to get instance
Syntax
'Declaration
 
Public Shared Function Configure( _
   ByVal config As MacConfiguration, _
   ByVal receiveCallback As ReceiveCallBack, _
   ByVal neighborChangeCallback As NeighborhoodChangeCallBack _
) As DeviceStatus
'Usage
 
Dim config As MacConfiguration
Dim receiveCallback As ReceiveCallBack
Dim neighborChangeCallback As NeighborhoodChangeCallBack
Dim value As DeviceStatus
 
value = MACBase.Configure(config, receiveCallback, neighborChangeCallback)

Parameters

config
MAC configuration to use
receiveCallback
Method to call when message received
neighborChangeCallback
Method to call when neighborhood changed

Return Value

Status of operation
Requirements

Target Platforms: eMote .NOW

See Also

Reference

MACBase Class
MACBase Members

Send Feedback