meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc_urecs:software_interface [2023/12/04 09:56] – [LoRa Message] fundoc_urecs:software_interface [2024/01/10 17:18] (current) – [LoRa Message] fun
Line 194: Line 194:
  
 ^ Attribute ^ Description ^ HTTP method ^ ^ Attribute ^ Description ^ HTTP method ^
-|''/lorawan/uplink'' |Schedules uplink packet to the application endpoint defined in the management interface|POST|+|''/lorawan/uplink/{fport}'' |Schedules uplink packet to the application endpoint for the specified fport|POST|
 |''/lorawan/downlink/{fport}'' |Responds with incoming downlink LoRaWAN messages for the specified fport|GET| |''/lorawan/downlink/{fport}'' |Responds with incoming downlink LoRaWAN messages for the specified fport|GET|
  
 Example HTTP Body on GET request: Example HTTP Body on GET request:
  
-<code xml><lorawan fport="...">+<code xml><lorawan>
   <payload>{custom lorawan payload}</payload>   <payload>{custom lorawan payload}</payload>
   <time>{timestamp}</time>   <time>{timestamp}</time>
Line 206: Line 206:
 Example HTTP Body on POST request: Example HTTP Body on POST request:
  
-<code xml><lorawan fport="...">+<code xml><lorawan>
   <payload>{custom lorawan payload}</payload>   <payload>{custom lorawan payload}</payload>
 </lorawan></code> </lorawan></code>
Line 250: Line 250:
 Downstream message payloads: Downstream message payloads:
  
-**Chane power state for node:**+**Change power state for node:**
 ^ Byte(s) ^ Description ^ Unit ^ Data type ^ ^ Byte(s) ^ Description ^ Unit ^ Data type ^
 |0   | Lora Message-Version | - | Byte | |0   | Lora Message-Version | - | Byte |
-|1   RCU ID | - | Byte | +|1   Node ID | - | Byte | 
-|2   Baseboard ID | - | Byte | +|2   LoRa Command (0x01 ON0x02 OFF0x03 RESET) | - | Byte |
-|3   | Node ID | - | Byte | +
-|4   | Power State (0=Off1=On2=Soft-off, 3=Standby, 4=Hibernate) | - | 3 Bits |+