How to dectypt the messages sent by mDot box in Lora demo mode

Home Forums Conduit: AEP Model How to dectypt the messages sent by mDot box in Lora demo mode

Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #21021

    Hi,

    I am very new to Conduit. So far I am able to try the LoRa demo option in mDot Box. I am getting some data in encrypted form (like a series of small images). I need a function which decrypts it into the data sent by the mDot box. Your help will be highly appreciated.

    Thank you

    #21023
    Peter Ferland
    Blocked

    The data packet format is described here: http://www.multitech.net/developer/software/dot-box-and-evb-software/data-packet-format/

    If you are using nodered make sure that the LoRa input node is in binary mode so you an decode it.

    #21024
    Steve Kovarik
    Moderator

    Hello Vinesh

    Assuming you have a MultiTech Conduit Gateway AEP version that has Node-Red,
    once you are in Node-Red drag a “LoRa in” node, a “Function” node and the
    “Debug out” node onto the canvas then connect the “LoRa in” to the “Function”
    node and connect the “Debug out” node to the “Function node”. Next double click
    on the “Function” node and delete [return msg;] on line 2. Then copy and
    paste the code at the link below into the Function node.
    Then select “OK” and “Deploy”. Now as LoRa packets are received and show up
    in the debug tab you should notice “temp”, “x,y,z”, “baro_preasure” and “lux”
    with decrypted data sent from the MTDOT-BOX in LoRa Demo mode.
    https://webfiles.multitech.com/mmm/EVBParserLatest.txt

    -Best Regards

    #21069

    Thank you Steve

    #21114
    Steve Kovarik
    Moderator

    Hi Vinesh

    Another option is to follow the video at this link https://www.youtube.com/watch?v=r7ez4pd9N2c

    The code to create the function node at the 6 minute mark is at this link

    https://webfiles.multitech.com/mmm/LoRaDemoFnNode.txt

    -Best Regards

    #21116

    Thank you Steve, is it possible for you to provide a code for the function block which decrypts the location data in Survey GPS mode. Or suggest me any way to obtain GPS data of mDot box to Gateway. I just wanna get GPS coordinates on the Node Red’s debug console for further processing

    #21174
    Steve Kovarik
    Moderator

    Vinesh

    Using the MTDOT-BOX outside in “Single Survey” or “Survey Sweep” modes can
    send GPS data to the Conduit. You must first configure the MTDOT-BOX to
    send data to the Conduit using the command AT+DATA=1 and save with AT&W
    You will also need to insert a micro SD memory card behind the Conduit front
    panel to store survey data. Here is a link to DOTBOX_GOOGLE Node Red flow
    that can be imported and used to view GPS data on Google maps. As shown at
    the 14:40 time in the video at this link https://www.youtube.com/watch?v=r7ez4pd9N2c
    https://webfiles.multitech.com/mmm/DotBox_Google.txt

    #21251
    Richard Wenner
    Participant

    Why is everything here like drawing teeth? If Vinesh had not raised his question – where would the data have been seen?

    #21252
    Steve Kovarik
    Moderator

    Hi Richard

    My apology, our developer site, videos and forums are intended to help
    developers of all skill levels use our products. Unfortunately it is very
    difficult for us to cover every possible use case in these mediums.

    By default all survey data is stored on the MTDOT-BOX and can be viewed on
    the screen or downloaded off the device for analysis. This is documented on
    our developer site http://www.multitech.net/developer/software/dot-box-and-evb-software/survey-sweep/

    We are happy to provide a path for our customers to “ask” and obtain answers
    due to the myriad of applications that our Development Platform can be used
    in. We are open to any recommendations that you may have to help us help you
    (our customers) better.

    -Best Regards

    #21261
    Richard Wenner
    Participant

    Steve, You are making me feel bad at my late-night outburst now! These sites are all great and extremely well documented (first class) but obviously written by folk who know the products AND these site(s) very well. Cross-referencing say the video with that mass of Node Red code would have helped. The videos are minutely detailed and then miss out these vital links. They just appear from nowhere.

    #21267
    Steve Kovarik
    Moderator

    Hi Richard

    Thank you for taking the time to provide feedback, it is through the insight
    from those on the outside looking in that we are able to truly improve our
    customers experience. I thank you for that. I will personally see to it that
    future videos are more detailed and complete. Thanks for using MultiTech!

    -Best Regards

    #21902
    Richard Wenner
    Participant

    I did a brief video on the topic https://youtu.be/WizST6gighs

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.