>
> Thanks for the reply. That raises an other Question. Once the node, say
> node_(0), parameters are declared using node-config, how to get the
> objects/handles for Phy, Channel, Mac, etc., so that we can enter into
> WirelessPhy::command using the node_(0)'s handles.
Handles for Phy, Mac are
On Tue, Jul 14, 2009 at 3:36 PM, qweq adcsad wrote:
>
>
> Well.If u want to enter into the wirelessPhy::command() ,you need to have a
> wirelessphy object in your tcl side. Suppose the name of the phy object for
> node 0 is obj(0).
>
> Then in the tcl script if u put the command:
> $obj(0) mystri
()
function, where argv[1] will be mystring in this case.
--- On Mon, 7/13/09, Santhosh Kumar wrote:
> From: Santhosh Kumar
> Subject: Re: [ns] Mac - Link layer
> To: "qweq adcsad"
> Cc: "NS Users" , "Dalton Cézane"
> Date: Monday, July 13, 2009,
Better to insert your own hook from tcl script if necessary and take the
control from the command() function. You can also insert ur own code without
any hook.
--- On Mon, 7/13/09, Dalton Cézane wrote:
> From: Dalton Cézane
> Subject: [ns] Mac - Link layer
> To: "NS
Does someone know how to insert piece of code in the MAC (Link Layer)?
I mean if exists some hooks that I MUST edit (mandatory).
Thank you!
--
===
Dalton Cézane - Voip UFCG: 1075-2005
Mestrando em Ciência da Computação (UFCG)
Bacharel em Ciênc