Folder link is given because the mailsystem blocked the upload.
https://www.dropbox.com/s/znh8nlgo60psmar/RSSI_tassos.tar.gz
Tassos.

From: tassos21 __ 
Sent: Tuesday, March 04, 2014 12:02 PM
To: [email protected] 
Cc: tinyos forum 
Subject: Re: [Tinyos-help] Transformation 
ofRssiNoiseSamplingtoRssiPacketSampling code

I followed your commands but I encounter a problem that I cannot get over. More 
specifically when I program Tx and Rx CM 5000 motes, connected via usb port, I 
only find the recording RSSI values stored to the noise.txt file when I run the 
TestSerial java app during the transmission process between motes. If I run the 
java app after the transmission process, rssi recordings don’t pass from flash 
(through serial port) to noise.txt. I attach the available files if you can 
help me.
Kind Regards,
Tassos.

p.s. Tx_App is loaded to Tx mote and RSSI_Sampling is loaded to Rx mote.

From: tassos21 __ 
Sent: Saturday, March 01, 2014 11:16 PM
To: Rivo Sitraka Andriambolamalala RANDRIATSIFERANA 
Cc: tinyos forum 
Subject: Re: [Tinyos-help] Transformation of 
RssiNoiseSamplingtoRssiPacketSampling code

thank you.I will implement it and I let you know.
Kind Regards,
Tassos.




On 1 Μαρ 2014, at 22:09, "Rivo Sitraka Andriambolamalala RANDRIATSIFERANA" 
<[email protected]> wrote:


  sorry, rssi = msg.get_rssi()- 45 instead of rssi = printMsg.get_rssi()- 45;



  2014-03-02 0:07 GMT+04:00 Rivo Sitraka Andriambolamalala RANDRIATSIFERANA 
<[email protected]>:

    Hi,

    Take a look at the tinyos folder, this is basic manip : 
/opt/tinyos-2.1.0/apps/tutorials/RssiDemo.

    For converting to [dBm] value obtained slightly modify the java code 
(RssiDemo) as follow:

      public void messageReceived(int to, Message message) {
        RssiMsg msg = (RssiMsg) message;
        //int source = message.getSerialPacket().get_header_src();
        //System.out.println("Rssi Message received from node " + source + 
        //           ": Rssi = " +  msg.get_rssi());
        
        int source = message.getSerialPacket().get_header_src(), rssi;
        rssi = printMsg.get_rssi()- 45;
        System.out.println("Rssi Message received from node " + source + 
                   ": Rssi = " +  rssi());               
      }


    2014-03-01 22:58 GMT+04:00 Tassos Paraskevopoulos <[email protected]>: 


      I am still stuck on how to convert RssiNoiseSampling app in order to 
receive packets, store rssi to flash and after retrieve rssi from flash through 
serial port. I want your help on how to break this app into two parts because I 
want the motes record rssi  (powered by batteries) and afterwards to connect Rx 
mote with PC to print rssi to file (noise.txt). If anybody wants to cooperate I 
can forward my transformed code.
      Kind Regards,
      Tassos. 
      From: tassos21 __ 
      Sent: Tuesday, February 25, 2014 1:48 PM
      To: Antonio Linan 
      Cc: [email protected] 
      Subject: Re: [Tinyos-help] Transformation of RssiNoiseSampling 
toRssiPacketSampling code

      I followed your guidance with printfUART but I am getting values with 
unrecognizable format:
      RSSI [6160292] LQI [17248]
      RSSI [5373860] LQI [17248]
      Is there any way to print the received RSSI by using TestSerial Java app 
that is included in the RssiSampling folder?

      Regards,
      Tassos.
      From: Antonio Linan 
      Sent: Tuesday, February 25, 2014 11:46 AM
      To: tassos21 __ 
      Cc: tinyos forum 
      Subject: Re: [Tinyos-help] Transformation of RssiNoiseSampling to 
RssiPacketSampling code

      You must read the RSSI on received packets, you should be using instead:

      event message_t* Receive.receive(message_t* bufPtr,  void* payload, 
uint8_t len) {
          printfUART("RSSI [%d] LQI [%d]\n", (call 
CC2420Packet.getRssi(bufPtr)-45), call CC2420Packet.getLqi(bufPtr));


      You can wire CC2420Packet in your configuration file as:

        components CC2420PacketC;
        App.CC2420Packet -> CC2420PacketC;


      Then in your module:

        uses interface CC2420Packet;


      Cheers,


      --Antonio




      On Tue, Feb 25, 2014 at 10:30 AM, tassos21 __ <[email protected]> 
wrote:

        Hi,
        I am trying to transform HyungJune Lee code 
(http://sing.stanford.edu/abbado/RssiSampling.tar) in order to print RSSI 
readings from receiving packets instead of noise. I have included Receive and 
CC2420Packet interfaces but I can’t bypass noise readings. Any ideas?
        King Regards,
        Tassos.

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




      -- 

      --
      Antonio Liñán Colina
      R+D Engineer
      @: [email protected]
      @: [email protected]
      ------------------------------

      Advancare
      Ph.: +34 935 511 403
      http://www.advancare.com
      http://www.zolertia.com
      http://zolertia.sourceforge.net
      http://webshop.zolertia.com


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

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

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




    -- 

    (si réponse merci de l'adresser aux deux adresses email)
    (adress your answer with both email adresses)

    ========================================================      

                      RANDRIATSIFERANA Rivo Sitraka A.

     Laboratoire d'Energétique, d'Electronique  et Procédés (LE2P) - S3.08 

      Faculté  des Sciences et Technologies,  Université de la Réunion.

          Tel.  : +262 (0)2 62 93 86 72   GSM: +262 (0)6 92 44 39 68

    Email : [email protected]
                 [email protected]

    =========================================================




  -- 

  (si réponse merci de l'adresser aux deux adresses email)
  (adress your answer with both email adresses)

  ========================================================      

                    RANDRIATSIFERANA Rivo Sitraka A.

   Laboratoire d'Energétique, d'Electronique  et Procédés (LE2P) - S3.08 

    Faculté  des Sciences et Technologies,  Université de la Réunion.

        Tel.  : +262 (0)2 62 93 86 72   GSM: +262 (0)6 92 44 39 68

  Email : [email protected]
               [email protected]

  =========================================================



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


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

Reply via email to