Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Built-in RPC definitions

Built-in RPC definitions . More...

Data Structures

struct  rpc_reboot_request
 Reboot the device after a delay. More...
 
struct  rpc_reboot_response
 
struct  rpc_fault_request
 Immediately trigger an exception on the device. More...
 
struct  rpc_fault_response
 
struct  rpc_time_get_request
 Get the current time knowledge of the device. More...
 
struct  rpc_time_get_response
 
struct  rpc_time_set_request
 Set the current time of the device. More...
 
struct  rpc_time_set_response
 
struct  rpc_kv_write_request
 Write values to the KV store. More...
 
struct  rpc_kv_write_response
 
struct  rpc_kv_read_request
 Read values from the KV store. More...
 
struct  rpc_kv_read_response
 
struct  rpc_kv_reflect_crcs_request
 Read KV store CRC's. More...
 
struct  rpc_kv_reflect_crcs_response
 
struct  rpc_zbus_channel_state_request
 Query current state of zbus channel. More...
 
struct  rpc_zbus_channel_state_response
 
struct  rpc_application_info_request
 Query basic application versions and state. More...
 
struct  rpc_application_info_response
 
struct  rpc_wifi_scan_request
 Scan for WiFi networks. More...
 
struct  rpc_wifi_scan_response
 
struct  rpc_wifi_state_request
 Get current WiFi interface state. More...
 
struct  rpc_wifi_state_response
 
struct  rpc_last_reboot_request
 Retrieve information pertaining to the previous reboot. More...
 
struct  rpc_last_reboot_response
 
struct  rpc_data_logger_state_request
 Get state of a data logger. More...
 
struct  rpc_data_logger_state_response
 
struct  rpc_data_logger_read_request
 Read data from data logger. More...
 
struct  rpc_data_logger_read_response
 
struct  rpc_mem_read_request
 Read arbitrary memory (NO ADDRESS VALIDATION PERFORMED) More...
 
struct  rpc_mem_read_response
 
struct  rpc_infuse_states_query_request
 Read current Infuse-IoT application states. More...
 
struct  rpc_infuse_states_query_response
 
struct  rpc_infuse_states_update_request
 Update Infuse-IoT application states. More...
 
struct  rpc_infuse_states_update_response
 
struct  rpc_data_logger_erase_request
 Erase all data from a data logger. More...
 
struct  rpc_data_logger_erase_response
 
struct  rpc_heap_stats_request
 Query stats of heaps. More...
 
struct  rpc_heap_stats_response
 
struct  rpc_lte_at_cmd_request
 Run AT command against LTE modem. More...
 
struct  rpc_lte_at_cmd_response
 
struct  rpc_lte_state_request
 Get current LTE interface state. More...
 
struct  rpc_lte_state_response
 
struct  rpc_data_logger_read_available_request
 Read data from data logger, with auto-updating start_block. More...
 
struct  rpc_data_logger_read_available_response
 
struct  rpc_coap_download_request
 Download a file from a COAP server (Infuse-IoT DTLS protected) More...
 
struct  rpc_coap_download_response
 
struct  rpc_zperf_upload_request
 Network upload bandwidth testing using zperf/iperf. More...
 
struct  rpc_zperf_upload_response
 
struct  rpc_file_write_basic_request
 Write a file to the device. More...
 
struct  rpc_file_write_basic_response
 
struct  rpc_annotate_request
 Write an annotation to the device. More...
 
struct  rpc_annotate_response
 
struct  rpc_bt_connect_infuse_request
 Connect to an Infuse-IoT Bluetooth device. More...
 
struct  rpc_bt_connect_infuse_response
 
struct  rpc_bt_disconnect_request
 Disconnect from a Bluetooth device. More...
 
struct  rpc_bt_disconnect_response
 
struct  rpc_bt_file_copy_basic_request
 Copy a local file to a remote device over Bluetooth. More...
 
struct  rpc_bt_file_copy_basic_response
 
struct  rpc_bt_file_copy_coap_request
 Copy a file fetched from COAP to a remote device over Bluetooth. More...
 
struct  rpc_bt_file_copy_coap_response
 
struct  rpc_bt_mcumgr_reboot_request
 Connect to a Bluetooth device and run the MCUMGR reboot command. More...
 
struct  rpc_bt_mcumgr_reboot_response
 
struct  rpc_gravity_reference_update_request
 Store the current accelerometer vector as the gravity reference. More...
 
struct  rpc_gravity_reference_update_response
 
struct  rpc_security_state_request
 Query current security state and validate identity. More...
 
struct  rpc_security_state_response
 
struct  rpc_data_sender_request
 Send multiple INFUSE_RPC_DATA packets. More...
 
struct  rpc_data_sender_response
 
struct  rpc_data_receiver_request
 Receive multiple INFUSE_RPC_DATA packets. More...
 
struct  rpc_data_receiver_response
 
struct  rpc_echo_request
 Echo any input data in the response. More...
 
struct  rpc_echo_response
 

Enumerations

enum  rpc_builtin_id {
  RPC_ID_REBOOT = 1 , RPC_ID_FAULT = 2 , RPC_ID_TIME_GET = 3 , RPC_ID_TIME_SET = 4 ,
  RPC_ID_KV_WRITE = 5 , RPC_ID_KV_READ = 6 , RPC_ID_KV_REFLECT_CRCS = 7 , RPC_ID_ZBUS_CHANNEL_STATE = 8 ,
  RPC_ID_APPLICATION_INFO = 9 , RPC_ID_WIFI_SCAN = 10 , RPC_ID_WIFI_STATE = 11 , RPC_ID_LAST_REBOOT = 12 ,
  RPC_ID_DATA_LOGGER_STATE = 13 , RPC_ID_DATA_LOGGER_READ = 14 , RPC_ID_MEM_READ = 15 , RPC_ID_INFUSE_STATES_QUERY = 16 ,
  RPC_ID_INFUSE_STATES_UPDATE = 17 , RPC_ID_DATA_LOGGER_ERASE = 18 , RPC_ID_HEAP_STATS = 19 , RPC_ID_LTE_AT_CMD = 20 ,
  RPC_ID_LTE_STATE = 21 , RPC_ID_DATA_LOGGER_READ_AVAILABLE = 22 , RPC_ID_COAP_DOWNLOAD = 30 , RPC_ID_ZPERF_UPLOAD = 31 ,
  RPC_ID_FILE_WRITE_BASIC = 40 , RPC_ID_ANNOTATE = 41 , RPC_ID_BT_CONNECT_INFUSE = 50 , RPC_ID_BT_DISCONNECT = 51 ,
  RPC_ID_BT_FILE_COPY_BASIC = 52 , RPC_ID_BT_FILE_COPY_COAP = 53 , RPC_ID_BT_MCUMGR_REBOOT = 54 , RPC_ID_GRAVITY_REFERENCE_UPDATE = 60 ,
  RPC_ID_SECURITY_STATE = 30000 , RPC_ID_DATA_SENDER = 32765 , RPC_ID_DATA_RECEIVER = 32766 , RPC_ID_ECHO = 32767 ,
  RPC_BUILTIN_END = 32768
}
 Infuse-IoT builtin RPC commands. More...
 

Detailed Description

Built-in RPC definitions .

Enumeration Type Documentation

◆ rpc_builtin_id

#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/generated/include/infuse/rpc/types.h>

Infuse-IoT builtin RPC commands.

Enumerator
RPC_ID_REBOOT 

Reboot the device after a delay.

RPC_ID_FAULT 

Immediately trigger an exception on the device.

RPC_ID_TIME_GET 

Get the current time knowledge of the device.

RPC_ID_TIME_SET 

Set the current time of the device.

RPC_ID_KV_WRITE 

Write values to the KV store.

RPC_ID_KV_READ 

Read values from the KV store.

RPC_ID_KV_REFLECT_CRCS 

Read KV store CRC's.

RPC_ID_ZBUS_CHANNEL_STATE 

Query current state of zbus channel.

RPC_ID_APPLICATION_INFO 

Query basic application versions and state.

RPC_ID_WIFI_SCAN 

Scan for WiFi networks.

RPC_ID_WIFI_STATE 

Get current WiFi interface state.

RPC_ID_LAST_REBOOT 

Retrieve information pertaining to the previous reboot.

RPC_ID_DATA_LOGGER_STATE 

Get state of a data logger.

RPC_ID_DATA_LOGGER_READ 

Read data from data logger.

RPC_ID_MEM_READ 

Read arbitrary memory (NO ADDRESS VALIDATION PERFORMED)

RPC_ID_INFUSE_STATES_QUERY 

Read current Infuse-IoT application states.

RPC_ID_INFUSE_STATES_UPDATE 

Update Infuse-IoT application states.

RPC_ID_DATA_LOGGER_ERASE 

Erase all data from a data logger.

RPC_ID_HEAP_STATS 

Query stats of heaps.

RPC_ID_LTE_AT_CMD 

Run AT command against LTE modem.

RPC_ID_LTE_STATE 

Get current LTE interface state.

RPC_ID_DATA_LOGGER_READ_AVAILABLE 

Read data from data logger, with auto-updating start_block.

RPC_ID_COAP_DOWNLOAD 

Download a file from a COAP server (Infuse-IoT DTLS protected)

RPC_ID_ZPERF_UPLOAD 

Network upload bandwidth testing using zperf/iperf.

RPC_ID_FILE_WRITE_BASIC 

Write a file to the device.

RPC_ID_ANNOTATE 

Write an annotation to the device.

RPC_ID_BT_CONNECT_INFUSE 

Connect to an Infuse-IoT Bluetooth device.

RPC_ID_BT_DISCONNECT 

Disconnect from a Bluetooth device.

RPC_ID_BT_FILE_COPY_BASIC 

Copy a local file to a remote device over Bluetooth.

RPC_ID_BT_FILE_COPY_COAP 

Copy a file fetched from COAP to a remote device over Bluetooth.

RPC_ID_BT_MCUMGR_REBOOT 

Connect to a Bluetooth device and run the MCUMGR reboot command.

RPC_ID_GRAVITY_REFERENCE_UPDATE 

Store the current accelerometer vector as the gravity reference.

RPC_ID_SECURITY_STATE 

Query current security state and validate identity.

RPC_ID_DATA_SENDER 

Send multiple INFUSE_RPC_DATA packets.

RPC_ID_DATA_RECEIVER 

Receive multiple INFUSE_RPC_DATA packets.

RPC_ID_ECHO 

Echo any input data in the response.

RPC_BUILTIN_END 

End of builtin RPC range.