c.f: https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-November/020574.html

prabhu govindaswamy wrote:

Subject:
TOSBase - RSSI
From:
prabhu govindaswamy <[EMAIL PROTECTED]>
Date:
Wed, 8 Nov 2006 23:13:44 -0800 (PST)
To:
[email protected]

To:
[email protected]


Hi all,

searched the mailing list, being a novice in nesC, could not get what has to be changed in TOSBase. It will be very help full if any one can tell me the change in TOSBASE, so that i can see the RSSI and LQI in packets read by listen. Im using T1.x, tmote, c based sf & listen , TOSBase and Oscilloscope.

event TOS_MsgPtr RadioReceive.receive(TOS_MsgPtr Msg) {
    dbg(DBG_USR1, "TOSBase received radio packet.\n");
    if ((!Msg->crc) || (Msg->group != TOS_AM_GROUP))
      return Msg;
    if (uartCount < UART_QUEUE_LEN) {
      memcpy(&uartQueueBufs[uartIn], Msg, sizeof(TOS_Msg));
      uartCount++;
    if( ++uartIn >= UART_QUEUE_LEN ) uartIn = 0;
    if (!uartBusy) {
        if (post UARTSendTask()) {
          uartBusy = TRUE;
        }
      }
    } else {
      dropBlink();
    }
    return Msg;
  }


--
Thanks and Regards,
prabhu

------------------------------------------------------------------------
Sponsored Link

Degrees online in as fast as 1 Yr - MBA, Bachelor's, Master's, Associate - Click now to apply <http://online.degrees.info/forms/form.jsp?ADEL=D3sPPz6WYLD7%2FD1DxMxP%2BbXooR4YcdmONmTWaUizNjh6q2wGRcnxuw%3D%3D&PI=y_mail_textlink>


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

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

Reply via email to