Hello All,
Does someone knows how to implement modern telecommunication technologies, such 
as Bluetooth into TINYOS? THanks!

 


An Feng
[email protected]

 

 

-----Original Message-----
From: tinyos-help-request <[email protected]>
To: tinyos-help <[email protected]>
Sent: Mon, Feb 25, 2013 6:41 pm
Subject: Tinyos-help Digest, Vol 118, Issue 81


Send Tinyos-help mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tinyos-help digest..."


Today's Topics:

   1. Re: Printf in Basestation15.4 (Kumar, Vimal (S&T-Student))
   2. LCP: timeout sending Config-Requests (Sheikh Jaaved)
   3. "need help in tossim" (rajesh mukherjee)
   4. Re: Printf in Basestation15.4 (Martin Cerveny)


----------------------------------------------------------------------

Message: 1
Date: Mon, 25 Feb 2013 00:21:57 +0000
From: "Kumar, Vimal (S&T-Student)" <[email protected]>
Subject: Re: [Tinyos-help] Printf in Basestation15.4
To: quentin strydom <[email protected]>,
        "[email protected]"
        <[email protected]>
Message-ID:
        
<94f213ec7740f840b5747ba68b72b8b2172fa...@ch1prd0102mb159.prod.exchangelabs.com>
        
Content-Type: text/plain; charset="utf-8"

Go through the printf TinyOS tutorial. It?s a great help.

-vimal

From: [email protected] 
[mailto:[email protected]] 
On Behalf Of quentin strydom
Sent: Saturday, February 23, 2013 1:35 PM
To: [email protected]
Subject: [Tinyos-help] Printf in Basestation15.4

Hi,

How do I enable the printf functions to print out when receiving data over 
Basestation15.4?

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130225/1768379a/attachment-0001.htm
 


------------------------------

Message: 2
Date: Mon, 25 Feb 2013 11:15:19 +0530
From: Sheikh Jaaved <[email protected]>
Subject: [Tinyos-help] LCP: timeout sending Config-Requests
To: [email protected]
Message-ID:
        <CAB05r+Ti4PudxbSHmNa-jFCEmhBh=8LemvU2YFTvoAyZkc3P=w...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi All,
can anyone help me with the problem setting up PppRouter
this is the error below that i am getting

root@jaaved-HP-Pavilion-dv2500-Notebook-PC:/opt/tinyos-2.1.2/apps/PppRouter#
pppd debug passive noauth nodetach 115200 /dev/ttyUSB0 nocrtscts nocdtrcts
lcp-echo-interval 0 noccp noip ipv6 ::23,::24
using channel 6
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x59e26563> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x4 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfAck id=0x4 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x59e26563> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x5 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfAck id=0x5 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x59e26563> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x6 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfAck id=0x6 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x59e26563> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x7 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfAck id=0x7 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x59e26563> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x8 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfAck id=0x8 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x59e26563> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x9 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfAck id=0x9 <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x59e26563> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0xa <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfAck id=0xa <mru 1280> <asyncmap 0x0> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x59e26563> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x59e26563> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x59e26563> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
^CTerminating on signal 2
Connection terminated.

-- 
*Regards*
*Sheikh Jaaved Hassan*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130225/473b6226/attachment-0001.htm
 


------------------------------

Message: 3
Date: Mon, 25 Feb 2013 13:47:23 +0530
From: rajesh mukherjee <[email protected]>
Subject: [Tinyos-help] "need help in tossim"
To: [email protected],
        [email protected]
Message-ID:
        <CA+rGRUmhyajWcMsLgfBjxD_hqFRoUAmw2PDXBnc2GnQgz=q...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi All,
i am using tinyos 2.x for a while. i am actually analyzing performance of
some algo in tossim. in tinyos 1.x, there is tinyviz what we can use to get
d graphics. but tinyos 2.x does not support tinyviz . so, how i add
graphics in tinyos 2.x.
plz reply me soon.

thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130225/51b5241f/attachment-0001.htm
 


------------------------------

Message: 4
Date: Mon, 25 Feb 2013 11:38:27 +0100 (CET)
From: Martin Cerveny <[email protected]>
Subject: Re: [Tinyos-help] Printf in Basestation15.4
To: quentin strydom <[email protected]>
Cc: "[email protected]"
        <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Hello.

Do you mean to redirect printf to other serial line ?
(Platform serial is used to data communication?)

You need to direct tos/lib/printf/SerialPrintfC.nc to another port.
In my platform PlatformSerial is Atm1281Uart1C and
DebugPrintf uses Atm1281Uart0C.
I rebind printf to other serial port (see attachment):
DebugPrintfC.nc
DebugSerialC.nc
DebugSerialM.nc
And activate using "components DebugPrintfC;" in you primary component.

M.C>

On Mon, 25 Feb 2013, Kumar, Vimal (S&T-Student) wrote:
> Sent: Saturday, February 23, 2013 1:35 PM
> 
> Hi,
> 
> How do I enable the printf functions to print out when receiving data over
> Basestation15.4?
> 
> Thanks
> 
> ?
> 
> 
>
-------------- next part --------------
/*
 * Copyright (c) 2005-2006 Rincon Research Corporation
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * - Redistributions of source code must retain the above copyright
 *   notice, this list of conditions and the following disclaimer.
 * - Redistributions in binary form must reproduce the above copyright
 *   notice, this list of conditions and the following disclaimer in the
 *   documentation and/or other materials provided with the
 *   distribution.
 * - Neither the name of the Rincon Research Corporation nor the names of
 *   its contributors may be used to endorse or promote products derived
 *   from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
 * RINCON RESEARCH OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 * OF THE POSSIBILITY OF SUCH DAMAGE
 */
 
/**
 * @author David Moss
 * @author Kevin Klues
 * @author Martin Cerveny
 */
configuration DebugPrintfC {
  provides {
    interface StdControl;
  }
} implementation {
  components SerialPrintfP;
  StdControl = SerialPrintfP.StdControl;

  components MainC;
  MainC.SoftwareInit -> SerialPrintfP;

  components DebugSerialC;
  SerialPrintfP.UartControl -> DebugSerialC;
  SerialPrintfP.UartByte -> DebugSerialC;

  components PutcharC;
  PutcharC.Putchar -> SerialPrintfP;
}

-------------- next part --------------
/*
 * Copyright (c) 2012 Martin Cerveny
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * - Redistributions of source code must retain the above copyright
 *   notice, this list of conditions and the following disclaimer.
 * - Redistributions in binary form must reproduce the above copyright
 *   notice, this list of conditions and the following disclaimer in the
 *   documentation and/or other materials provided with the
 *   distribution.
 * - Neither the name of the copyright holders nor the names of
 *   its contributors may be used to endorse or promote products derived
 *   from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 * OF THE POSSIBILITY OF SUCH DAMAGE.
 */

configuration DebugSerialC{
  provides interface UartStream;
  provides interface UartByte;
  provides interface StdControl;
}
implementation{
        
  components new Atm1281Uart0C() as Uart0;
  UartStream = Uart0;
  UartByte = Uart0;

  components DebugSerialM;
  StdControl = DebugSerialM;
  DebugSerialM.Resource -> Uart0;
  Uart0.Atm1281UartConfigure -> DebugSerialM; 
}
-------------- next part --------------
/*
 * Copyright (c) 2012 Martin Cerveny
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * - Redistributions of source code must retain the above copyright
 *   notice, this list of conditions and the following disclaimer.
 * - Redistributions in binary form must reproduce the above copyright
 *   notice, this list of conditions and the following disclaimer in the
 *   documentation and/or other materials provided with the
 *   distribution.
 * - Neither the name of the copyright holders nor the names of
 *   its contributors may be used to endorse or promote products derived
 *   from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 * OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#include "Atm1281Usart.h"

module DebugSerialM {
        provides interface StdControl;
        provides interface Atm1281UartConfigure;
        uses interface Resource;
}
implementation {

        command error_t StdControl.start() {
                return call Resource.immediateRequest();
        }
        command error_t StdControl.stop() {
                call Resource.release();
                return SUCCESS;
        }
        event void Resource.granted() {
        }

        async command Atm1281UartUnionConfig_t * 
Atm1281UartConfigure.getConfig() {
                return & atm1281_uart_default_config;
        }
}

------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

End of Tinyos-help Digest, Vol 118, Issue 81
********************************************

 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to