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
Last revisionBoth sides next revision
doc_urecs:software_interface [2023/12/04 09:56] – [LoRa Message] fundoc_urecs:software_interface [2024/01/08 08:45] – [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   | Command (0x01 = Change Power State for Node) | - | Byte | 
-|  | Baseboard ID | - | Byte | +|2   | RCU ID | - | Byte | 
-|  | Node ID | - | Byte | +|  | Baseboard ID | - | Byte | 
-|  | Power State (0=Off, 1=On, 2=Soft-off, 3=Standby, 4=Hibernate) | - | 3 Bits |+|  | Node ID | - | Byte | 
 +|  | Power State (0=Off, 1=On, 2=Soft-off, 3=Standby, 4=Hibernate) | - | 3 Bits |