Wrapper for the Transport Service Command Class Transport.
More...
Wrapper for the Transport Service Command Class Transport.
◆ zwave_transport_service_on_frame_received()
Entry point of Transport service frames received from the PHY/radio stack.
- Parameters
-
| connection_info | Information about sender. |
| rx_options | Receive options |
| frame_data | S0 control frame data |
| frame_length | S0 control frame length |
- Returns
- SL_STATUS_OK If frame is accepted
-
SL_STATUS_FAIL If frame can not be processed
-
SL_STATUS_NOT_SUPPORTED If frame is not Tranport service
-
SL_STATUS_NOT_FOUND If command of transport service frame is unknown
-
SL_STATUS_WOULD_OVERFLOW If frame size if bigger than what transport service can handle
◆ zwave_transport_service_send_data()
Sending a frame with Transport service.
This function will split a message bigger than maximum zwave frame size into smaller frames that can fit into z-wave frame and send it with Transport service protocol
- Parameters
-
| connection | Contains information about target node. |
| data_length | Length of un-encrypted data. |
| cmd_data | un-encrypted data to send |
| tx_options | Transmit options. The number_of_responses field determines if S0 verify delivery is going to be used |
| on_send_complete | Callback for the transmission complete event. |
| user | User pointer |
| parent_session_id | Parent session id of this session |
- Returns
- sl_status_t
- SL_STATUS_OK on success
- SL_STATUS_BUSY if a tranmission is ongoing.
- SL_STATUS_WOULD_OVERFLOW if we cannot handle the frame and it should just be dropped.
◆ zwave_transport_service_transport_init()