🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    decoding received Lora P2P messages

    Units
    1
    2
    27
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      adamm5
      last edited by

      In Uiflow2, the Lora Units append the transmitted data to some transmission metrics in a form of tuple.

      I need to strip out the json I'm sending in the third part of the tuple from the unwanted information, and get that into a map to access the values. This is proving difficult in UiFlow2. Does anyone have a uiflow2 example of doing this?

      (-22, 11, '{"mpa": 1, "cnt": 1, "rly": 1, "v": 66, "l": 1}')
      
      1 Reply Last reply Reply Quote 0
      • A
        adamm5
        last edited by adamm5

        well sorted it out by counting characters...however this will break if the preamble data changes length and i can't locate a spec for this protocol.

        The UIFlow2 section of the online specs in m5.docs also just says 'coming soon' for UIFlow2....although it does actually exist (albeit undocumented....).

        Is there another source for this documentation???

        1 Reply Last reply Reply Quote 0
        • First post
          Last post