diff --git a/Doxyfile b/Doxyfile index 4949596..fbf5f16 100644 --- a/Doxyfile +++ b/Doxyfile @@ -949,7 +949,9 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = F:/projects/hedrosistemas/ciot_c/include +INPUT = F:/projects/hedrosistemas/ciot_c/include \ + F:\projects\hedrosistemas\ciot_c\src\proto\ciot_serializer_pb.h \ + F:\projects\hedrosistemas\ciot_c\src\proto\ciot # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses diff --git a/docs/annotated.html b/docs/annotated.html index 46c711b..ac4817d 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -97,175 +97,256 @@
Here are the data structures with brief descriptions:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 Cciot_ble_cfg_tStructure for CIOT BLE configuration
 Cciot_ble_data_uUnion for CIOT BLE data
 Cciot_ble_ifacesStructure for CIOT BLE interface configuration
 Cciot_ble_info_tStructure for CIOT BLE information
 Cciot_ble_req_data_uUnion for CIOT BLE request data
 Cciot_ble_req_tStructure for CIOT BLE request
 Cciot_ble_scn_adv_info_tStructure for CIOT BLE SCN advertising information
 Cciot_ble_scn_cfg_tStructure for CIOT BLE SCN configuration
 Cciot_ble_scn_data_uUnion for CIOT BLE SCN data
 Cciot_ble_scn_req_data_uUnion for CIOT BLE SCN request data
 Cciot_ble_scn_req_tStructure for CIOT BLE SCN request
 Cciot_ble_scn_status_msg_tStructure for CIOT BLE scanner status message
 Cciot_ble_scn_status_tStructure for CIOT BLE SCN status
 Cciot_ble_status_msg_tStructure for CIOT BLE status message
 Cciot_ble_status_tStructure for CIOT BLE status
 Cciot_bridge_cfg_tStructure for CIOT bridge configuration
 Cciot_bridge_data_uUnion for CIOT bridge data
 Cciot_bridge_req_data_uUnion for CIOT bridge request data
 Cciot_bridge_req_tStructure for CIOT bridge request
 Cciot_bridge_status_msg_tStructure for CIOT Bridge status message
 Cciot_bridge_status_tStructure for CIOT bridge status
 Cciot_cfgCIOT configuration structure
 Cciot_data_model_cfg_tStructure for CIOT data model configuration
 Cciot_data_model_data_uUnion for CIOT data model data
 Cciot_data_model_req_data_uUnion for CIOT data model request data
 Cciot_data_model_req_tStructure for CIOT data model request
 Cciot_data_model_status_tStructure for CIOT data model status
 Cciot_data_uUnion for CIOT data
 Cciot_dfu_cfg_tStructure for CIOT DFU configuration
 Cciot_dfu_data_uUnion for CIOT DFU data
 Cciot_dfu_req_data_uUnion for CIOT DFU request data
 Cciot_dfu_req_tStructure for CIOT DFU request
 Cciot_dfu_status_msg_tStruct for DFU status message
 Cciot_dfu_status_tStructure for CIOT DFU status
 Cciot_eth_status_msg_tStructure representing the CIOT Ethernet status message
 Cciot_event_dataStructure for event data in CIOT modules
 Cciot_gpio_cfg_tStructure for CIOT GPIO configuration
 Cciot_gpio_data_uUnion for CIOT GPIO data
 Cciot_gpio_req_data_uUnion for CIOT GPIO request data
 Cciot_gpio_req_get_state_tStructure for CIOT GPIO request to get state
 Cciot_gpio_req_tStructure for CIOT GPIO request
 Cciot_gpio_state_info_tStructure for CIOT GPIO state information
 Cciot_gpio_status_msg_tStructure representing the CIOT GPIO status message
 Cciot_gpio_status_tStructure for CIOT GPIO status
 Cciot_httpc_cfg_tStructure for CIOT HTTP client configuration
 Cciot_httpc_data_uUnion for CIOT HTTP client data
 Cciot_httpc_eventUnion for CIOT HTTP client event
 Cciot_httpc_event_dataStructure for CIOT HTTP client event data
 Cciot_httpc_req_dataUnion for CIOT HTTP client request data
 Cciot_httpc_req_send_tStructure for CIOT HTTP client send data request
 Cciot_httpc_req_set_header_tStructure for CIOT HTTP client set header request
 Cciot_httpc_req_tStructure for CIOT HTTP client request
 Cciot_httpc_status_msg_tStructure representing the CIOT HTTP client status message
 Cciot_httpc_status_tStructure for CIOT HTTP client status
 Cciot_https_cfg_tStructure for CIOT HTTP server configuration
 Cciot_https_data_uUnion for CIOT HTTP server data
 Cciot_https_eventUnion for CIOT HTTP server event
 Cciot_https_event_dataStructure for CIOT HTTP server event data
 Cciot_https_req_data_uUnion for CIOT HTTP server request data
 Cciot_https_req_tStructure for CIOT HTTP server request
 Cciot_https_status_msg_tStructure representing the CIOT HTTP server status message
 Cciot_https_status_tStructure for CIOT HTTP server status
 Cciot_ifaceStructure representing a CIOT interface
 Cciot_iface_baseStructure representing the base of an interface
 Cciot_iface_base_dataStructure representing base data for an interface
 Cciot_iface_cfg_tStructure for CIOT interface configuration
 Cciot_iface_event_data_uUnion for CIOT interface event data
 Cciot_iface_event_tStructure representing an interface event
 Cciot_iface_req_infoStructure representing request information for an interface
 Cciot_ifacesStructure representing CIOT interfaces
 Cciot_info_tStructure for CIOT information
 Cciot_mqttc_cfg_tStructure for CIOT MQTT client configuration
 Cciot_mqttc_data_uUnion for CIOT MQTT client data
 Cciot_mqttc_error_tStructure for CIOT MQTT client error information
 Cciot_mqttc_eventUnion for CIOT MQTT client event
 Cciot_mqttc_event_dataStructure for CIOT MQTT client event data
 Cciot_mqttc_req_data_uUnion for CIOT MQTT client request data
 Cciot_mqttc_req_publish_tStructure for CIOT MQTT client publish request
 Cciot_mqttc_req_subscribe_tStructure for CIOT MQTT client subscribe request
 Cciot_mqttc_req_tStructure for CIOT MQTT client request
 Cciot_mqttc_status_msg_tStructure representing a CIOT MQTT client status message
 Cciot_mqttc_status_tStructure for CIOT MQTT client status
 Cciot_mqttc_topics_cfg_tStructure for CIOT MQTT client topics configuration
 Cciot_msg_data_uUnion for CIOT message data
 Cciot_msg_error_tStructure for CIOT message error information
 Cciot_msg_header_tStructure for CIOT message header
 Cciot_msg_iface_info_tStructure for CIOT message interface information
 Cciot_msg_tStructure for CIOT message
 Cciot_nrf_dfu_cfgStructure for CIOT Nordic DFU configuration
 Cciot_nrf_dfu_packetStructure for CIOT Nordic DFU packet
 Cciot_ntp_cfg_tStructure for CIOT NTP configuration
 Cciot_ntp_data_uUnion for CIOT NTP data
 Cciot_ntp_req_data_uUnion for CIOT NTP request data
 Cciot_ntp_req_tStructure for CIOT NTP request
 Cciot_ntp_status_msg_tStructure for CIOT NTP status message
 Cciot_ntp_status_tStructure for CIOT NTP status
 Cciot_opcuas_cfg_tStructure for CIOT OPC UA Server configuration
 Cciot_opcuas_data_uUnion for CIOT OPC UA Server data
 Cciot_opcuas_req_add_node_tStructure for CIOT OPC UA Server add node request
 Cciot_opcuas_req_data_uUnion for CIOT OPC UA Server request data
 Cciot_opcuas_req_tStructure for CIOT OPC UA Server request
 Cciot_opcuas_status_msg_tStructure for CIOT OPCUAS status message
 Cciot_opcuas_status_tStructure for CIOT OPC UA Server status
 Cciot_ota_cfg_tStructure for CIOT OTA configuration
 Cciot_ota_data_uUnion for CIOT OTA data
 Cciot_ota_req_data_uUnion for CIOT OTA request data
 Cciot_ota_req_tStructure for CIOT OTA request
 Cciot_ota_status_msg_tStructure for CIOT OTA status message
 Cciot_ota_status_tStructure for CIOT OTA status
 Cciot_req_data_uUnion for CIOT request data
 Cciot_req_delete_iface_cfg_tStructure for CIOT delete interface configuration request
 Cciot_req_proxy_msg_tStructure for CIOT proxy message request
 Cciot_req_result_tStructure for CIOT request result
 Cciot_req_save_iface_cfg_tStructure for CIOT save interface configuration request
 Cciot_req_tStructure for CIOT request
 Cciot_s_cfgCIOT_S config struct
 Cciot_serializerCIOT Serializer structure
 Cciot_slip_tRepresentation of a SLIP packet
 Cciot_status_tStructure for CIOT status
 Cciot_storage_cfg_tStructure for CIOT storage configuration
 Cciot_storage_data_uUnion for CIOT storage data
 Cciot_storage_req_file_data_tStructure for CIOT storage file data in a request
 Cciot_storage_req_tStructure for CIOT storage request
 Cciot_storage_status_msg_tCIOT Storage status message structure
 Cciot_storage_status_tStructure for CIOT storage status
 Cciot_sys_cfg_tStructure for CIOT system configuration
 Cciot_sys_data_uUnion for CIOT system data
 Cciot_sys_features_tStructure for CIOT system features combining hardware and software features
 Cciot_sys_hw_features_tStructure for CIOT system hardware features
 Cciot_sys_info_tStructure for CIOT system information
 Cciot_sys_req_data_uUnion for CIOT system request data
 Cciot_sys_req_tStructure for CIOT system request
 Cciot_sys_status_msg_tCIOT System status message structure
 Cciot_sys_status_tStructure for CIOT system status
 Cciot_sys_sw_features_tStructure for CIOT system software features
 Cciot_tcp_cfg_tStructure for CIOT TCP configuration
 Cciot_tcp_data_uUnion for CIOT TCP data
 Cciot_tcp_dhcp_status_tStructure for CIOT TCP DHCP status
 Cciot_tcp_handleHandle structure for CIOT TCP
 Cciot_tcp_info_tStructure for CIOT TCP information
 Cciot_tcp_req_data_uUnion for CIOT TCP request data
 Cciot_tcp_req_tStructure for CIOT TCP request
 Cciot_tcp_status_msg_tCIOT TCP status message structure
 Cciot_tcp_status_tStructure for CIOT TCP status
 Cciot_timer_cfgConfiguration structure for CIOT timer
 Cciot_uart_baseBase structure for CIOT UART module
 Cciot_uart_cfg_tStructure for CIOT UART configuration
 Cciot_uart_data_uUnion for CIOT UART data
 Cciot_uart_eventUnion for CIOT UART event
 Cciot_uart_req_data_uUnion for CIOT UART request data
 Cciot_uart_req_send_data_tStructure for CIOT UART send data request
 Cciot_uart_req_tStructure for CIOT UART request
 Cciot_uart_status_msg_tStatus message structure for CIOT UART module
 Cciot_uart_status_tStructure for CIOT UART status
 Cciot_usb_cfg_tStructure for CIOT USB configuration
 Cciot_usb_data_uUnion for CIOT USB data
 Cciot_usb_eventUnion for CIOT USB event
 Cciot_usb_req_data_uUnion for CIOT USB request data
 Cciot_usb_req_tStructure for CIOT USB request
 Cciot_usb_status_msg_tStatus message structure for CIOT USB module
 Cciot_usb_status_tStructure for CIOT USB status
 Cciot_wifi_ap_info_tStructure for CIOT WiFi access point information
 Cciot_wifi_cfg_tStructure for CIOT WiFi configuration
 Cciot_wifi_data_uUnion for CIOT WiFi data
 Cciot_wifi_req_data_uUnion for CIOT WiFi request data
 Cciot_wifi_req_tStructure for CIOT WiFi request
 Cciot_wifi_scan_result_tStructure for CIOT WiFi scan result
 Cciot_wifi_status_msg_tPacked structure for Wi-Fi status message
 Cciot_wifi_status_tStructure for CIOT WiFi status
 C_Ciot__BleCfg
 C_Ciot__BleData
 C_Ciot__BleInfo
 C_Ciot__BleReq
 C_Ciot__BleScnAdvInfo
 C_Ciot__BleScnCfg
 C_Ciot__BleScnData
 C_Ciot__BleScnReq
 C_Ciot__BleScnStatus
 C_Ciot__BleStatus
 C_Ciot__CiotCfg
 C_Ciot__CiotData
 C_Ciot__CiotInfo
 C_Ciot__CiotReq
 C_Ciot__CiotReqData
 C_Ciot__CiotStatus
 C_Ciot__HttpClientCfg
 C_Ciot__HttpClientData
 C_Ciot__HttpClientReq
 C_Ciot__HttpClientReqSend
 C_Ciot__HttpClientReqSetHeader
 C_Ciot__HttpClientStatus
 C_Ciot__HttpServerCfg
 C_Ciot__HttpServerData
 C_Ciot__HttpServerReq
 C_Ciot__HttpServerReqData
 C_Ciot__HttpServerStatus
 C_Ciot__InterfaceInfo
 C_Ciot__MqttClientCfg
 C_Ciot__MqttClientData
 C_Ciot__MqttClientError
 C_Ciot__MqttClientReq
 C_Ciot__MqttClientReqPublish
 C_Ciot__MqttClientReqSubscribe
 C_Ciot__MqttClientStatus
 C_Ciot__MqttClientTopicsCfg
 C_Ciot__Msg
 C_Ciot__MsgData
 C_Ciot__MsgError
 C_Ciot__MsgHeader
 C_Ciot__NtpCfg
 C_Ciot__NtpData
 C_Ciot__NtpReq
 C_Ciot__NtpReqData
 C_Ciot__NtpStatus
 C_Ciot__OtaCfg
 C_Ciot__OtaData
 C_Ciot__OtaReq
 C_Ciot__OtaReqData
 C_Ciot__OtaStatus
 C_Ciot__StorageCfg
 C_Ciot__StorageData
 C_Ciot__StorageReq
 C_Ciot__StorageReqData
 C_Ciot__StorageStatus
 C_Ciot__SysCfg
 C_Ciot__SysData
 C_Ciot__SysFeatures
 C_Ciot__SysInfo
 C_Ciot__SysReq
 C_Ciot__SysStatus
 C_Ciot__TcpCfg
 C_Ciot__TcpData
 C_Ciot__TcpDhcpStatus
 C_Ciot__TcpInfo
 C_Ciot__TcpReq
 C_Ciot__TcpStatus
 C_Ciot__UartCfg
 C_Ciot__UartData
 C_Ciot__UartReq
 C_Ciot__UartStatus
 C_Ciot__UsbCfg
 C_Ciot__UsbData
 C_Ciot__UsbReq
 C_Ciot__UsbStatus
 C_Ciot__WifiApInfo
 C_Ciot__WifiCfg
 C_Ciot__WifiData
 C_Ciot__WifiReq
 C_Ciot__WifiScanResult
 C_Ciot__WifiStatus
 Cciot_ble_cfg_tStructure for CIOT BLE configuration
 Cciot_ble_data_uUnion for CIOT BLE data
 Cciot_ble_ifacesStructure for CIOT BLE interface configuration
 Cciot_ble_info_tStructure for CIOT BLE information
 Cciot_ble_req_data_uUnion for CIOT BLE request data
 Cciot_ble_req_tStructure for CIOT BLE request
 Cciot_ble_scn_adv_info_tStructure for CIOT BLE SCN advertising information
 Cciot_ble_scn_cfg_tStructure for CIOT BLE SCN configuration
 Cciot_ble_scn_data_uUnion for CIOT BLE SCN data
 Cciot_ble_scn_req_data_uUnion for CIOT BLE SCN request data
 Cciot_ble_scn_req_tStructure for CIOT BLE SCN request
 Cciot_ble_scn_status_msg_tStructure for CIOT BLE scanner status message
 Cciot_ble_scn_status_tStructure for CIOT BLE SCN status
 Cciot_ble_status_msg_tStructure for CIOT BLE status message
 Cciot_ble_status_tStructure for CIOT BLE status
 Cciot_bridge_cfg_tStructure for CIOT bridge configuration
 Cciot_bridge_data_uUnion for CIOT bridge data
 Cciot_bridge_req_data_uUnion for CIOT bridge request data
 Cciot_bridge_req_tStructure for CIOT bridge request
 Cciot_bridge_status_msg_tStructure for CIOT Bridge status message
 Cciot_bridge_status_tStructure for CIOT bridge status
 Cciot_cfgCIOT configuration structure
 Cciot_data_model_cfg_tStructure for CIOT data model configuration
 Cciot_data_model_data_uUnion for CIOT data model data
 Cciot_data_model_req_data_uUnion for CIOT data model request data
 Cciot_data_model_req_tStructure for CIOT data model request
 Cciot_data_model_status_tStructure for CIOT data model status
 Cciot_data_uUnion for CIOT data
 Cciot_dfu_cfg_tStructure for CIOT DFU configuration
 Cciot_dfu_data_uUnion for CIOT DFU data
 Cciot_dfu_req_data_uUnion for CIOT DFU request data
 Cciot_dfu_req_tStructure for CIOT DFU request
 Cciot_dfu_status_msg_tStruct for DFU status message
 Cciot_dfu_status_tStructure for CIOT DFU status
 Cciot_eth_status_msg_tStructure representing the CIOT Ethernet status message
 Cciot_event_dataStructure for event data in CIOT modules
 Cciot_gpio_cfg_tStructure for CIOT GPIO configuration
 Cciot_gpio_data_uUnion for CIOT GPIO data
 Cciot_gpio_req_data_uUnion for CIOT GPIO request data
 Cciot_gpio_req_get_state_tStructure for CIOT GPIO request to get state
 Cciot_gpio_req_tStructure for CIOT GPIO request
 Cciot_gpio_state_info_tStructure for CIOT GPIO state information
 Cciot_gpio_status_msg_tStructure representing the CIOT GPIO status message
 Cciot_gpio_status_tStructure for CIOT GPIO status
 Cciot_httpc_cfg_tStructure for CIOT HTTP client configuration
 Cciot_httpc_data_uUnion for CIOT HTTP client data
 Cciot_httpc_eventUnion for CIOT HTTP client event
 Cciot_httpc_event_dataStructure for CIOT HTTP client event data
 Cciot_httpc_req_dataUnion for CIOT HTTP client request data
 Cciot_httpc_req_send_tStructure for CIOT HTTP client send data request
 Cciot_httpc_req_set_header_tStructure for CIOT HTTP client set header request
 Cciot_httpc_req_tStructure for CIOT HTTP client request
 Cciot_httpc_status_msg_tStructure representing the CIOT HTTP client status message
 Cciot_httpc_status_tStructure for CIOT HTTP client status
 Cciot_https_cfg_tStructure for CIOT HTTP server configuration
 Cciot_https_data_uUnion for CIOT HTTP server data
 Cciot_https_eventUnion for CIOT HTTP server event
 Cciot_https_event_dataStructure for CIOT HTTP server event data
 Cciot_https_req_data_uUnion for CIOT HTTP server request data
 Cciot_https_req_tStructure for CIOT HTTP server request
 Cciot_https_status_msg_tStructure representing the CIOT HTTP server status message
 Cciot_https_status_tStructure for CIOT HTTP server status
 Cciot_ifaceStructure representing a CIOT interface
 Cciot_iface_baseStructure representing the base of an interface
 Cciot_iface_base_dataStructure representing base data for an interface
 Cciot_iface_cfg_tStructure for CIOT interface configuration
 Cciot_iface_event_data_uUnion for CIOT interface event data
 Cciot_iface_event_tStructure representing an interface event
 Cciot_iface_req_infoStructure representing request information for an interface
 Cciot_ifacesStructure representing CIOT interfaces
 Cciot_info_tStructure for CIOT information
 Cciot_mqttc_cfg_tStructure for CIOT MQTT client configuration
 Cciot_mqttc_data_uUnion for CIOT MQTT client data
 Cciot_mqttc_error_tStructure for CIOT MQTT client error information
 Cciot_mqttc_eventUnion for CIOT MQTT client event
 Cciot_mqttc_event_dataStructure for CIOT MQTT client event data
 Cciot_mqttc_req_data_uUnion for CIOT MQTT client request data
 Cciot_mqttc_req_publish_tStructure for CIOT MQTT client publish request
 Cciot_mqttc_req_subscribe_tStructure for CIOT MQTT client subscribe request
 Cciot_mqttc_req_tStructure for CIOT MQTT client request
 Cciot_mqttc_status_msg_tStructure representing a CIOT MQTT client status message
 Cciot_mqttc_status_tStructure for CIOT MQTT client status
 Cciot_mqttc_topics_cfg_tStructure for CIOT MQTT client topics configuration
 Cciot_msg_data_uUnion for CIOT message data
 Cciot_msg_error_tStructure for CIOT message error information
 Cciot_msg_header_tStructure for CIOT message header
 Cciot_msg_iface_info_tStructure for CIOT message interface information
 Cciot_msg_tStructure for CIOT message
 Cciot_nrf_dfu_cfgStructure for CIOT Nordic DFU configuration
 Cciot_nrf_dfu_packetStructure for CIOT Nordic DFU packet
 Cciot_ntp_cfg_tStructure for CIOT NTP configuration
 Cciot_ntp_data_uUnion for CIOT NTP data
 Cciot_ntp_req_data_uUnion for CIOT NTP request data
 Cciot_ntp_req_tStructure for CIOT NTP request
 Cciot_ntp_status_msg_tStructure for CIOT NTP status message
 Cciot_ntp_status_tStructure for CIOT NTP status
 Cciot_opcuas_cfg_tStructure for CIOT OPC UA Server configuration
 Cciot_opcuas_data_uUnion for CIOT OPC UA Server data
 Cciot_opcuas_req_add_node_tStructure for CIOT OPC UA Server add node request
 Cciot_opcuas_req_data_uUnion for CIOT OPC UA Server request data
 Cciot_opcuas_req_tStructure for CIOT OPC UA Server request
 Cciot_opcuas_status_msg_tStructure for CIOT OPCUAS status message
 Cciot_opcuas_status_tStructure for CIOT OPC UA Server status
 Cciot_ota_cfg_tStructure for CIOT OTA configuration
 Cciot_ota_data_uUnion for CIOT OTA data
 Cciot_ota_req_data_uUnion for CIOT OTA request data
 Cciot_ota_req_tStructure for CIOT OTA request
 Cciot_ota_status_msg_tStructure for CIOT OTA status message
 Cciot_ota_status_tStructure for CIOT OTA status
 Cciot_req_data_uUnion for CIOT request data
 Cciot_req_delete_iface_cfg_tStructure for CIOT delete interface configuration request
 Cciot_req_proxy_msg_tStructure for CIOT proxy message request
 Cciot_req_result_tStructure for CIOT request result
 Cciot_req_save_iface_cfg_tStructure for CIOT save interface configuration request
 Cciot_req_tStructure for CIOT request
 Cciot_s_cfgCIOT_S config struct
 Cciot_serializerCIOT Serializer structure
 Cciot_slip_tRepresentation of a SLIP packet
 Cciot_status_tStructure for CIOT status
 Cciot_storage_cfg_tStructure for CIOT storage configuration
 Cciot_storage_data_uUnion for CIOT storage data
 Cciot_storage_req_file_data_tStructure for CIOT storage file data in a request
 Cciot_storage_req_tStructure for CIOT storage request
 Cciot_storage_status_msg_tCIOT Storage status message structure
 Cciot_storage_status_tStructure for CIOT storage status
 Cciot_sys_cfg_tStructure for CIOT system configuration
 Cciot_sys_data_uUnion for CIOT system data
 Cciot_sys_features_tStructure for CIOT system features combining hardware and software features
 Cciot_sys_hw_features_tStructure for CIOT system hardware features
 Cciot_sys_info_tStructure for CIOT system information
 Cciot_sys_req_data_uUnion for CIOT system request data
 Cciot_sys_req_tStructure for CIOT system request
 Cciot_sys_status_msg_tCIOT System status message structure
 Cciot_sys_status_tStructure for CIOT system status
 Cciot_sys_sw_features_tStructure for CIOT system software features
 Cciot_tcp_cfg_tStructure for CIOT TCP configuration
 Cciot_tcp_data_uUnion for CIOT TCP data
 Cciot_tcp_dhcp_status_tStructure for CIOT TCP DHCP status
 Cciot_tcp_handleHandle structure for CIOT TCP
 Cciot_tcp_info_tStructure for CIOT TCP information
 Cciot_tcp_req_data_uUnion for CIOT TCP request data
 Cciot_tcp_req_tStructure for CIOT TCP request
 Cciot_tcp_status_msg_tCIOT TCP status message structure
 Cciot_tcp_status_tStructure for CIOT TCP status
 Cciot_timer_cfgConfiguration structure for CIOT timer
 Cciot_uart_baseBase structure for CIOT UART module
 Cciot_uart_cfg_tStructure for CIOT UART configuration
 Cciot_uart_data_uUnion for CIOT UART data
 Cciot_uart_eventUnion for CIOT UART event
 Cciot_uart_req_data_uUnion for CIOT UART request data
 Cciot_uart_req_send_data_tStructure for CIOT UART send data request
 Cciot_uart_req_tStructure for CIOT UART request
 Cciot_uart_status_msg_tStatus message structure for CIOT UART module
 Cciot_uart_status_tStructure for CIOT UART status
 Cciot_usb_cfg_tStructure for CIOT USB configuration
 Cciot_usb_data_uUnion for CIOT USB data
 Cciot_usb_eventUnion for CIOT USB event
 Cciot_usb_req_data_uUnion for CIOT USB request data
 Cciot_usb_req_tStructure for CIOT USB request
 Cciot_usb_status_msg_tStatus message structure for CIOT USB module
 Cciot_usb_status_tStructure for CIOT USB status
 Cciot_wifi_ap_info_tStructure for CIOT WiFi access point information
 Cciot_wifi_cfg_tStructure for CIOT WiFi configuration
 Cciot_wifi_data_uUnion for CIOT WiFi data
 Cciot_wifi_req_data_uUnion for CIOT WiFi request data
 Cciot_wifi_req_tStructure for CIOT WiFi request
 Cciot_wifi_scan_result_tStructure for CIOT WiFi scan result
 Cciot_wifi_status_msg_tPacked structure for Wi-Fi status message
 Cciot_wifi_status_tStructure for CIOT WiFi status
diff --git a/docs/annotated_dup.js b/docs/annotated_dup.js index f2f89ce..1f97705 100644 --- a/docs/annotated_dup.js +++ b/docs/annotated_dup.js @@ -1,5 +1,86 @@ var annotated_dup = [ + [ "_Ciot__BleCfg", "struct___ciot_____ble_cfg.html", "struct___ciot_____ble_cfg" ], + [ "_Ciot__BleData", "struct___ciot_____ble_data.html", "struct___ciot_____ble_data" ], + [ "_Ciot__BleInfo", "struct___ciot_____ble_info.html", "struct___ciot_____ble_info" ], + [ "_Ciot__BleReq", "struct___ciot_____ble_req.html", "struct___ciot_____ble_req" ], + [ "_Ciot__BleScnAdvInfo", "struct___ciot_____ble_scn_adv_info.html", "struct___ciot_____ble_scn_adv_info" ], + [ "_Ciot__BleScnCfg", "struct___ciot_____ble_scn_cfg.html", "struct___ciot_____ble_scn_cfg" ], + [ "_Ciot__BleScnData", "struct___ciot_____ble_scn_data.html", "struct___ciot_____ble_scn_data" ], + [ "_Ciot__BleScnReq", "struct___ciot_____ble_scn_req.html", "struct___ciot_____ble_scn_req" ], + [ "_Ciot__BleScnStatus", "struct___ciot_____ble_scn_status.html", "struct___ciot_____ble_scn_status" ], + [ "_Ciot__BleStatus", "struct___ciot_____ble_status.html", "struct___ciot_____ble_status" ], + [ "_Ciot__CiotCfg", "struct___ciot_____ciot_cfg.html", "struct___ciot_____ciot_cfg" ], + [ "_Ciot__CiotData", "struct___ciot_____ciot_data.html", "struct___ciot_____ciot_data" ], + [ "_Ciot__CiotInfo", "struct___ciot_____ciot_info.html", "struct___ciot_____ciot_info" ], + [ "_Ciot__CiotReq", "struct___ciot_____ciot_req.html", "struct___ciot_____ciot_req" ], + [ "_Ciot__CiotReqData", "struct___ciot_____ciot_req_data.html", "struct___ciot_____ciot_req_data" ], + [ "_Ciot__CiotStatus", "struct___ciot_____ciot_status.html", "struct___ciot_____ciot_status" ], + [ "_Ciot__HttpClientCfg", "struct___ciot_____http_client_cfg.html", "struct___ciot_____http_client_cfg" ], + [ "_Ciot__HttpClientData", "struct___ciot_____http_client_data.html", "struct___ciot_____http_client_data" ], + [ "_Ciot__HttpClientReq", "struct___ciot_____http_client_req.html", "struct___ciot_____http_client_req" ], + [ "_Ciot__HttpClientReqSend", "struct___ciot_____http_client_req_send.html", "struct___ciot_____http_client_req_send" ], + [ "_Ciot__HttpClientReqSetHeader", "struct___ciot_____http_client_req_set_header.html", "struct___ciot_____http_client_req_set_header" ], + [ "_Ciot__HttpClientStatus", "struct___ciot_____http_client_status.html", "struct___ciot_____http_client_status" ], + [ "_Ciot__HttpServerCfg", "struct___ciot_____http_server_cfg.html", "struct___ciot_____http_server_cfg" ], + [ "_Ciot__HttpServerData", "struct___ciot_____http_server_data.html", "struct___ciot_____http_server_data" ], + [ "_Ciot__HttpServerReq", "struct___ciot_____http_server_req.html", "struct___ciot_____http_server_req" ], + [ "_Ciot__HttpServerReqData", "struct___ciot_____http_server_req_data.html", "struct___ciot_____http_server_req_data" ], + [ "_Ciot__HttpServerStatus", "struct___ciot_____http_server_status.html", "struct___ciot_____http_server_status" ], + [ "_Ciot__InterfaceInfo", "struct___ciot_____interface_info.html", "struct___ciot_____interface_info" ], + [ "_Ciot__MqttClientCfg", "struct___ciot_____mqtt_client_cfg.html", "struct___ciot_____mqtt_client_cfg" ], + [ "_Ciot__MqttClientData", "struct___ciot_____mqtt_client_data.html", "struct___ciot_____mqtt_client_data" ], + [ "_Ciot__MqttClientError", "struct___ciot_____mqtt_client_error.html", "struct___ciot_____mqtt_client_error" ], + [ "_Ciot__MqttClientReq", "struct___ciot_____mqtt_client_req.html", "struct___ciot_____mqtt_client_req" ], + [ "_Ciot__MqttClientReqPublish", "struct___ciot_____mqtt_client_req_publish.html", "struct___ciot_____mqtt_client_req_publish" ], + [ "_Ciot__MqttClientReqSubscribe", "struct___ciot_____mqtt_client_req_subscribe.html", "struct___ciot_____mqtt_client_req_subscribe" ], + [ "_Ciot__MqttClientStatus", "struct___ciot_____mqtt_client_status.html", "struct___ciot_____mqtt_client_status" ], + [ "_Ciot__MqttClientTopicsCfg", "struct___ciot_____mqtt_client_topics_cfg.html", "struct___ciot_____mqtt_client_topics_cfg" ], + [ "_Ciot__Msg", "struct___ciot_____msg.html", "struct___ciot_____msg" ], + [ "_Ciot__MsgData", "struct___ciot_____msg_data.html", "struct___ciot_____msg_data" ], + [ "_Ciot__MsgError", "struct___ciot_____msg_error.html", "struct___ciot_____msg_error" ], + [ "_Ciot__MsgHeader", "struct___ciot_____msg_header.html", "struct___ciot_____msg_header" ], + [ "_Ciot__NtpCfg", "struct___ciot_____ntp_cfg.html", "struct___ciot_____ntp_cfg" ], + [ "_Ciot__NtpData", "struct___ciot_____ntp_data.html", "struct___ciot_____ntp_data" ], + [ "_Ciot__NtpReq", "struct___ciot_____ntp_req.html", "struct___ciot_____ntp_req" ], + [ "_Ciot__NtpReqData", "struct___ciot_____ntp_req_data.html", "struct___ciot_____ntp_req_data" ], + [ "_Ciot__NtpStatus", "struct___ciot_____ntp_status.html", "struct___ciot_____ntp_status" ], + [ "_Ciot__OtaCfg", "struct___ciot_____ota_cfg.html", "struct___ciot_____ota_cfg" ], + [ "_Ciot__OtaData", "struct___ciot_____ota_data.html", "struct___ciot_____ota_data" ], + [ "_Ciot__OtaReq", "struct___ciot_____ota_req.html", "struct___ciot_____ota_req" ], + [ "_Ciot__OtaReqData", "struct___ciot_____ota_req_data.html", "struct___ciot_____ota_req_data" ], + [ "_Ciot__OtaStatus", "struct___ciot_____ota_status.html", "struct___ciot_____ota_status" ], + [ "_Ciot__StorageCfg", "struct___ciot_____storage_cfg.html", "struct___ciot_____storage_cfg" ], + [ "_Ciot__StorageData", "struct___ciot_____storage_data.html", "struct___ciot_____storage_data" ], + [ "_Ciot__StorageReq", "struct___ciot_____storage_req.html", "struct___ciot_____storage_req" ], + [ "_Ciot__StorageReqData", "struct___ciot_____storage_req_data.html", "struct___ciot_____storage_req_data" ], + [ "_Ciot__StorageStatus", "struct___ciot_____storage_status.html", "struct___ciot_____storage_status" ], + [ "_Ciot__SysCfg", "struct___ciot_____sys_cfg.html", "struct___ciot_____sys_cfg" ], + [ "_Ciot__SysData", "struct___ciot_____sys_data.html", "struct___ciot_____sys_data" ], + [ "_Ciot__SysFeatures", "struct___ciot_____sys_features.html", "struct___ciot_____sys_features" ], + [ "_Ciot__SysInfo", "struct___ciot_____sys_info.html", "struct___ciot_____sys_info" ], + [ "_Ciot__SysReq", "struct___ciot_____sys_req.html", "struct___ciot_____sys_req" ], + [ "_Ciot__SysStatus", "struct___ciot_____sys_status.html", "struct___ciot_____sys_status" ], + [ "_Ciot__TcpCfg", "struct___ciot_____tcp_cfg.html", "struct___ciot_____tcp_cfg" ], + [ "_Ciot__TcpData", "struct___ciot_____tcp_data.html", "struct___ciot_____tcp_data" ], + [ "_Ciot__TcpDhcpStatus", "struct___ciot_____tcp_dhcp_status.html", "struct___ciot_____tcp_dhcp_status" ], + [ "_Ciot__TcpInfo", "struct___ciot_____tcp_info.html", "struct___ciot_____tcp_info" ], + [ "_Ciot__TcpReq", "struct___ciot_____tcp_req.html", "struct___ciot_____tcp_req" ], + [ "_Ciot__TcpStatus", "struct___ciot_____tcp_status.html", "struct___ciot_____tcp_status" ], + [ "_Ciot__UartCfg", "struct___ciot_____uart_cfg.html", "struct___ciot_____uart_cfg" ], + [ "_Ciot__UartData", "struct___ciot_____uart_data.html", "struct___ciot_____uart_data" ], + [ "_Ciot__UartReq", "struct___ciot_____uart_req.html", "struct___ciot_____uart_req" ], + [ "_Ciot__UartStatus", "struct___ciot_____uart_status.html", "struct___ciot_____uart_status" ], + [ "_Ciot__UsbCfg", "struct___ciot_____usb_cfg.html", "struct___ciot_____usb_cfg" ], + [ "_Ciot__UsbData", "struct___ciot_____usb_data.html", "struct___ciot_____usb_data" ], + [ "_Ciot__UsbReq", "struct___ciot_____usb_req.html", "struct___ciot_____usb_req" ], + [ "_Ciot__UsbStatus", "struct___ciot_____usb_status.html", "struct___ciot_____usb_status" ], + [ "_Ciot__WifiApInfo", "struct___ciot_____wifi_ap_info.html", "struct___ciot_____wifi_ap_info" ], + [ "_Ciot__WifiCfg", "struct___ciot_____wifi_cfg.html", "struct___ciot_____wifi_cfg" ], + [ "_Ciot__WifiData", "struct___ciot_____wifi_data.html", "struct___ciot_____wifi_data" ], + [ "_Ciot__WifiReq", "struct___ciot_____wifi_req.html", "struct___ciot_____wifi_req" ], + [ "_Ciot__WifiScanResult", "struct___ciot_____wifi_scan_result.html", "struct___ciot_____wifi_scan_result" ], + [ "_Ciot__WifiStatus", "struct___ciot_____wifi_status.html", "struct___ciot_____wifi_status" ], [ "ciot_ble_cfg_t", "structciot__ble__cfg__t.html", "structciot__ble__cfg__t" ], [ "ciot_ble_data_u", "unionciot__ble__data__u.html", "unionciot__ble__data__u" ], [ "ciot_ble_ifaces", "structciot__ble__ifaces.html", "structciot__ble__ifaces" ], diff --git a/docs/ble_8pb-c_8c.html b/docs/ble_8pb-c_8c.html new file mode 100644 index 0000000..ef30c5e --- /dev/null +++ b/docs/ble_8pb-c_8c.html @@ -0,0 +1,1044 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/ble.pb-c.c File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
ble.pb-c.c File Reference
+
+
+ + + + +

+Macros

#define PROTOBUF_C__NO_DEPRECATED
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void ciot__ble_cfg__init (Ciot__BleCfg *message)
 
size_t ciot__ble_cfg__get_packed_size (const Ciot__BleCfg *message)
 
size_t ciot__ble_cfg__pack (const Ciot__BleCfg *message, uint8_t *out)
 
size_t ciot__ble_cfg__pack_to_buffer (const Ciot__BleCfg *message, ProtobufCBuffer *buffer)
 
Ciot__BleCfgciot__ble_cfg__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_cfg__free_unpacked (Ciot__BleCfg *message, ProtobufCAllocator *allocator)
 
void ciot__ble_info__init (Ciot__BleInfo *message)
 
size_t ciot__ble_info__get_packed_size (const Ciot__BleInfo *message)
 
size_t ciot__ble_info__pack (const Ciot__BleInfo *message, uint8_t *out)
 
size_t ciot__ble_info__pack_to_buffer (const Ciot__BleInfo *message, ProtobufCBuffer *buffer)
 
Ciot__BleInfociot__ble_info__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_info__free_unpacked (Ciot__BleInfo *message, ProtobufCAllocator *allocator)
 
void ciot__ble_status__init (Ciot__BleStatus *message)
 
size_t ciot__ble_status__get_packed_size (const Ciot__BleStatus *message)
 
size_t ciot__ble_status__pack (const Ciot__BleStatus *message, uint8_t *out)
 
size_t ciot__ble_status__pack_to_buffer (const Ciot__BleStatus *message, ProtobufCBuffer *buffer)
 
Ciot__BleStatusciot__ble_status__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_status__free_unpacked (Ciot__BleStatus *message, ProtobufCAllocator *allocator)
 
void ciot__ble_req__init (Ciot__BleReq *message)
 
size_t ciot__ble_req__get_packed_size (const Ciot__BleReq *message)
 
size_t ciot__ble_req__pack (const Ciot__BleReq *message, uint8_t *out)
 
size_t ciot__ble_req__pack_to_buffer (const Ciot__BleReq *message, ProtobufCBuffer *buffer)
 
Ciot__BleReqciot__ble_req__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_req__free_unpacked (Ciot__BleReq *message, ProtobufCAllocator *allocator)
 
void ciot__ble_data__init (Ciot__BleData *message)
 
size_t ciot__ble_data__get_packed_size (const Ciot__BleData *message)
 
size_t ciot__ble_data__pack (const Ciot__BleData *message, uint8_t *out)
 
size_t ciot__ble_data__pack_to_buffer (const Ciot__BleData *message, ProtobufCBuffer *buffer)
 
Ciot__BleDataciot__ble_data__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_data__free_unpacked (Ciot__BleData *message, ProtobufCAllocator *allocator)
 
+ + + + + + + + + + + + + + + +

+Variables

const ProtobufCMessageDescriptor ciot__ble_cfg__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_info__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_status__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_req__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_data__descriptor
 
const ProtobufCEnumDescriptor ciot__ble_state__descriptor
 
const ProtobufCEnumDescriptor ciot__ble_req_type__descriptor
 
+

Macro Definition Documentation

+ +

◆ PROTOBUF_C__NO_DEPRECATED

+ +
+
+ + + + +
#define PROTOBUF_C__NO_DEPRECATED
+
+ +
+
+

Function Documentation

+ +

◆ ciot__ble_cfg__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_cfg__free_unpacked (Ciot__BleCfg * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_cfg__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_cfg__get_packed_size (const Ciot__BleCfg * message)
+
+ +
+
+ +

◆ ciot__ble_cfg__init()

+ +
+
+ + + + + + + +
void ciot__ble_cfg__init (Ciot__BleCfg * message)
+
+ +
+
+ +

◆ ciot__ble_cfg__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_cfg__pack (const Ciot__BleCfg * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_cfg__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_cfg__pack_to_buffer (const Ciot__BleCfg * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_cfg__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleCfg * ciot__ble_cfg__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_data__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_data__free_unpacked (Ciot__BleData * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_data__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_data__get_packed_size (const Ciot__BleData * message)
+
+ +
+
+ +

◆ ciot__ble_data__init()

+ +
+
+ + + + + + + +
void ciot__ble_data__init (Ciot__BleData * message)
+
+ +
+
+ +

◆ ciot__ble_data__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_data__pack (const Ciot__BleData * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_data__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_data__pack_to_buffer (const Ciot__BleData * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_data__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleData * ciot__ble_data__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_info__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_info__free_unpacked (Ciot__BleInfo * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_info__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_info__get_packed_size (const Ciot__BleInfo * message)
+
+ +
+
+ +

◆ ciot__ble_info__init()

+ +
+
+ + + + + + + +
void ciot__ble_info__init (Ciot__BleInfo * message)
+
+ +
+
+ +

◆ ciot__ble_info__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_info__pack (const Ciot__BleInfo * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_info__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_info__pack_to_buffer (const Ciot__BleInfo * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_info__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleInfo * ciot__ble_info__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_req__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_req__free_unpacked (Ciot__BleReq * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_req__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_req__get_packed_size (const Ciot__BleReq * message)
+
+ +
+
+ +

◆ ciot__ble_req__init()

+ +
+
+ + + + + + + +
void ciot__ble_req__init (Ciot__BleReq * message)
+
+ +
+
+ +

◆ ciot__ble_req__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_req__pack (const Ciot__BleReq * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_req__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_req__pack_to_buffer (const Ciot__BleReq * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_req__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleReq * ciot__ble_req__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_status__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_status__free_unpacked (Ciot__BleStatus * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_status__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_status__get_packed_size (const Ciot__BleStatus * message)
+
+ +
+
+ +

◆ ciot__ble_status__init()

+ +
+
+ + + + + + + +
void ciot__ble_status__init (Ciot__BleStatus * message)
+
+ +
+
+ +

◆ ciot__ble_status__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_status__pack (const Ciot__BleStatus * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_status__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_status__pack_to_buffer (const Ciot__BleStatus * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_status__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleStatus * ciot__ble_status__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+

Variable Documentation

+ +

◆ ciot__ble_cfg__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_cfg__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.BleCfg",
+
"BleCfg",
+
"Ciot__BleCfg",
+
"Ciot",
+
sizeof(Ciot__BleCfg),
+
1,
+
ciot__ble_cfg__field_descriptors,
+
ciot__ble_cfg__field_indices_by_name,
+
1, ciot__ble_cfg__number_ranges,
+
(ProtobufCMessageInit) ciot__ble_cfg__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ble_cfg__init(Ciot__BleCfg *message)
Definition ble.pb-c.c:11
+
typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__BleCfg Ciot__BleCfg
Definition ble.pb-c.h:18
+
+
+
+ +

◆ ciot__ble_data__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_data__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.BleData",
+
"BleData",
+
"Ciot__BleData",
+
"Ciot",
+
sizeof(Ciot__BleData),
+
3,
+
ciot__ble_data__field_descriptors,
+
ciot__ble_data__field_indices_by_name,
+
1, ciot__ble_data__number_ranges,
+
(ProtobufCMessageInit) ciot__ble_data__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ble_data__init(Ciot__BleData *message)
Definition ble.pb-c.c:191
+
struct _Ciot__BleData Ciot__BleData
Definition ble.pb-c.h:22
+
+
+
+ +

◆ ciot__ble_info__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_info__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.BleInfo",
+
"BleInfo",
+
"Ciot__BleInfo",
+
"Ciot",
+
sizeof(Ciot__BleInfo),
+
2,
+
ciot__ble_info__field_descriptors,
+
ciot__ble_info__field_indices_by_name,
+
1, ciot__ble_info__number_ranges,
+
(ProtobufCMessageInit) ciot__ble_info__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ble_info__init(Ciot__BleInfo *message)
Definition ble.pb-c.c:56
+
struct _Ciot__BleInfo Ciot__BleInfo
Definition ble.pb-c.h:19
+
+
+
+ +

◆ ciot__ble_req__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_req__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.BleReq",
+
"BleReq",
+
"Ciot__BleReq",
+
"Ciot",
+
sizeof(Ciot__BleReq),
+
2,
+
ciot__ble_req__field_descriptors,
+
ciot__ble_req__field_indices_by_name,
+
1, ciot__ble_req__number_ranges,
+
(ProtobufCMessageInit) ciot__ble_req__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ble_req__init(Ciot__BleReq *message)
Definition ble.pb-c.c:146
+
struct _Ciot__BleReq Ciot__BleReq
Definition ble.pb-c.h:21
+
+
+
+ +

◆ ciot__ble_req_type__descriptor

+ +
+
+ + + + +
const ProtobufCEnumDescriptor ciot__ble_req_type__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+
"Ciot.BleReqType",
+
"BleReqType",
+
"Ciot__BleReqType",
+
"Ciot",
+
2,
+
ciot__ble_req_type__enum_values_by_number,
+
2,
+
ciot__ble_req_type__enum_values_by_name,
+
1,
+
ciot__ble_req_type__value_ranges,
+
NULL,NULL,NULL,NULL
+
}
+
+
+
+ +

◆ ciot__ble_state__descriptor

+ +
+
+ + + + +
const ProtobufCEnumDescriptor ciot__ble_state__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+
"Ciot.BleState",
+
"BleState",
+
"Ciot__BleState",
+
"Ciot",
+
2,
+
ciot__ble_state__enum_values_by_number,
+
2,
+
ciot__ble_state__enum_values_by_name,
+
1,
+
ciot__ble_state__value_ranges,
+
NULL,NULL,NULL,NULL
+
}
+
+
+
+ +

◆ ciot__ble_status__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_status__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.BleStatus",
+
"BleStatus",
+
"Ciot__BleStatus",
+
"Ciot",
+
sizeof(Ciot__BleStatus),
+
3,
+
ciot__ble_status__field_descriptors,
+
ciot__ble_status__field_indices_by_name,
+
1, ciot__ble_status__number_ranges,
+
(ProtobufCMessageInit) ciot__ble_status__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ble_status__init(Ciot__BleStatus *message)
Definition ble.pb-c.c:101
+
struct _Ciot__BleStatus Ciot__BleStatus
Definition ble.pb-c.h:20
+
+
+
+
+
+ + + + diff --git a/docs/ble_8pb-c_8c.js b/docs/ble_8pb-c_8c.js new file mode 100644 index 0000000..690167d --- /dev/null +++ b/docs/ble_8pb-c_8c.js @@ -0,0 +1,41 @@ +var ble_8pb_c_8c = +[ + [ "PROTOBUF_C__NO_DEPRECATED", "ble_8pb-c_8c.html#ad9480935c25b5155174487b631af52f5", null ], + [ "ciot__ble_cfg__free_unpacked", "ble_8pb-c_8c.html#a43c01a83e6cde687df5fd2f4044d08d8", null ], + [ "ciot__ble_cfg__get_packed_size", "ble_8pb-c_8c.html#aa4945c267aff88f3c48076e81270162c", null ], + [ "ciot__ble_cfg__init", "ble_8pb-c_8c.html#ae652a1404934630a402f67c9981f776e", null ], + [ "ciot__ble_cfg__pack", "ble_8pb-c_8c.html#af05ad718cb1194cb59fe98e35af78581", null ], + [ "ciot__ble_cfg__pack_to_buffer", "ble_8pb-c_8c.html#aa51eda609a08965ce951e731f60aba37", null ], + [ "ciot__ble_cfg__unpack", "ble_8pb-c_8c.html#acc16438b61627038b96cd1cb979f0f53", null ], + [ "ciot__ble_data__free_unpacked", "ble_8pb-c_8c.html#aa1a7bb090c2d3d8b281bd1e31fe45953", null ], + [ "ciot__ble_data__get_packed_size", "ble_8pb-c_8c.html#a2d75a4456e6f7ba706946eeadb78e2cc", null ], + [ "ciot__ble_data__init", "ble_8pb-c_8c.html#a199c827914ecede68f2554834ebf737f", null ], + [ "ciot__ble_data__pack", "ble_8pb-c_8c.html#a0a38d8bca6386b17d537357e3d5d5cf0", null ], + [ "ciot__ble_data__pack_to_buffer", "ble_8pb-c_8c.html#afa7a820f1580a86bde7f8abd4a17f6a7", null ], + [ "ciot__ble_data__unpack", "ble_8pb-c_8c.html#aa03b597161f8b51e6235d8dc470f15d9", null ], + [ "ciot__ble_info__free_unpacked", "ble_8pb-c_8c.html#aadc6c3f426cd204955059caec4dc74d8", null ], + [ "ciot__ble_info__get_packed_size", "ble_8pb-c_8c.html#ab40ac4ed96ebe39815386d3b5db6aea0", null ], + [ "ciot__ble_info__init", "ble_8pb-c_8c.html#a0231e42164031be0c7506838e4e796f0", null ], + [ "ciot__ble_info__pack", "ble_8pb-c_8c.html#a036f00264a0edc3a46380047b315e7f9", null ], + [ "ciot__ble_info__pack_to_buffer", "ble_8pb-c_8c.html#ae2618de077c10cf618339407252ffd0d", null ], + [ "ciot__ble_info__unpack", "ble_8pb-c_8c.html#aa3940fc7f6538503e9a737b0ce4b221e", null ], + [ "ciot__ble_req__free_unpacked", "ble_8pb-c_8c.html#a63cc203492d1e17d2d3a85986b58feee", null ], + [ "ciot__ble_req__get_packed_size", "ble_8pb-c_8c.html#a62d97fe17869311195164d8d643e1daf", null ], + [ "ciot__ble_req__init", "ble_8pb-c_8c.html#a6fd067bd06baafd5f5124da2df1e4aa0", null ], + [ "ciot__ble_req__pack", "ble_8pb-c_8c.html#aa6bf0dd1ba2c654172eae44378069656", null ], + [ "ciot__ble_req__pack_to_buffer", "ble_8pb-c_8c.html#a25321b6d8182e815b69e312cfaaeaa8f", null ], + [ "ciot__ble_req__unpack", "ble_8pb-c_8c.html#af2aaa03c243d65b4d858032a8caa0914", null ], + [ "ciot__ble_status__free_unpacked", "ble_8pb-c_8c.html#ab4bbda8e4250de4aaff58a297ee53fbf", null ], + [ "ciot__ble_status__get_packed_size", "ble_8pb-c_8c.html#a2dc6e11220b37c074c2d12e23f795ddc", null ], + [ "ciot__ble_status__init", "ble_8pb-c_8c.html#a3dd6bb6cf0d735c4622fbad6509c9b40", null ], + [ "ciot__ble_status__pack", "ble_8pb-c_8c.html#a8cee799d61b9ef3c812a1cc21278aaf1", null ], + [ "ciot__ble_status__pack_to_buffer", "ble_8pb-c_8c.html#ae8ecaf88f5bb9d0ccee15c54d44635fd", null ], + [ "ciot__ble_status__unpack", "ble_8pb-c_8c.html#affb1760f53057810e5803ddb4d626c7d", null ], + [ "ciot__ble_cfg__descriptor", "ble_8pb-c_8c.html#a2211c5757292246e9a4b13d60aa793ef", null ], + [ "ciot__ble_data__descriptor", "ble_8pb-c_8c.html#a63cdafe74870e5832c34f657bb86b630", null ], + [ "ciot__ble_info__descriptor", "ble_8pb-c_8c.html#a4515ad11d421342f8e33997ba3391eac", null ], + [ "ciot__ble_req__descriptor", "ble_8pb-c_8c.html#aeee8db99da642b820de9f687d5f6bb6e", null ], + [ "ciot__ble_req_type__descriptor", "ble_8pb-c_8c.html#a4003f0612317a9612a303a2fa1b9eb88", null ], + [ "ciot__ble_state__descriptor", "ble_8pb-c_8c.html#a3dc78daa199a36dfed5d732879c38f2d", null ], + [ "ciot__ble_status__descriptor", "ble_8pb-c_8c.html#a95f8746c77afb5f985041d2a280bd03d", null ] +]; \ No newline at end of file diff --git a/docs/ble_8pb-c_8h.html b/docs/ble_8pb-c_8h.html new file mode 100644 index 0000000..5f5ecca --- /dev/null +++ b/docs/ble_8pb-c_8h.html @@ -0,0 +1,1328 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/ble.pb-c.h File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
ble.pb-c.h File Reference
+
+
+
#include <protobuf-c/protobuf-c.h>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + +

+Data Structures

struct  _Ciot__BleCfg
 
struct  _Ciot__BleInfo
 
struct  _Ciot__BleStatus
 
struct  _Ciot__BleReq
 
struct  _Ciot__BleData
 
+ + + + + + + + + + + +

+Macros

#define CIOT__BLE_CFG__INIT
 
#define CIOT__BLE_INFO__INIT
 
#define CIOT__BLE_STATUS__INIT
 
#define CIOT__BLE_REQ__INIT
 
#define CIOT__BLE_DATA__INIT
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__BleCfg Ciot__BleCfg
 
typedef struct _Ciot__BleInfo Ciot__BleInfo
 
typedef struct _Ciot__BleStatus Ciot__BleStatus
 
typedef struct _Ciot__BleReq Ciot__BleReq
 
typedef struct _Ciot__BleData Ciot__BleData
 
typedef enum _Ciot__BleState Ciot__BleState
 
typedef enum _Ciot__BleReqType Ciot__BleReqType
 
typedef void(* Ciot__BleCfg_Closure) (const Ciot__BleCfg *message, void *closure_data)
 
typedef void(* Ciot__BleInfo_Closure) (const Ciot__BleInfo *message, void *closure_data)
 
typedef void(* Ciot__BleStatus_Closure) (const Ciot__BleStatus *message, void *closure_data)
 
typedef void(* Ciot__BleReq_Closure) (const Ciot__BleReq *message, void *closure_data)
 
typedef void(* Ciot__BleData_Closure) (const Ciot__BleData *message, void *closure_data)
 
+ + + + + +

+Enumerations

enum  _Ciot__BleState { CIOT__BLE_STATE__BLE_STATE_IDLE = 0 +, CIOT__BLE_STATE__BLE_STATE_STARTED = 1 + }
 
enum  _Ciot__BleReqType { CIOT__BLE_REQ_TYPE__BLE_REQ_TYPE_UNKOWN = 0 +, CIOT__BLE_REQ_TYPE__BLE_REQ_TYPE_SET_MAC = 1 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void ciot__ble_cfg__init (Ciot__BleCfg *message)
 
size_t ciot__ble_cfg__get_packed_size (const Ciot__BleCfg *message)
 
size_t ciot__ble_cfg__pack (const Ciot__BleCfg *message, uint8_t *out)
 
size_t ciot__ble_cfg__pack_to_buffer (const Ciot__BleCfg *message, ProtobufCBuffer *buffer)
 
Ciot__BleCfgciot__ble_cfg__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_cfg__free_unpacked (Ciot__BleCfg *message, ProtobufCAllocator *allocator)
 
void ciot__ble_info__init (Ciot__BleInfo *message)
 
size_t ciot__ble_info__get_packed_size (const Ciot__BleInfo *message)
 
size_t ciot__ble_info__pack (const Ciot__BleInfo *message, uint8_t *out)
 
size_t ciot__ble_info__pack_to_buffer (const Ciot__BleInfo *message, ProtobufCBuffer *buffer)
 
Ciot__BleInfociot__ble_info__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_info__free_unpacked (Ciot__BleInfo *message, ProtobufCAllocator *allocator)
 
void ciot__ble_status__init (Ciot__BleStatus *message)
 
size_t ciot__ble_status__get_packed_size (const Ciot__BleStatus *message)
 
size_t ciot__ble_status__pack (const Ciot__BleStatus *message, uint8_t *out)
 
size_t ciot__ble_status__pack_to_buffer (const Ciot__BleStatus *message, ProtobufCBuffer *buffer)
 
Ciot__BleStatusciot__ble_status__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_status__free_unpacked (Ciot__BleStatus *message, ProtobufCAllocator *allocator)
 
void ciot__ble_req__init (Ciot__BleReq *message)
 
size_t ciot__ble_req__get_packed_size (const Ciot__BleReq *message)
 
size_t ciot__ble_req__pack (const Ciot__BleReq *message, uint8_t *out)
 
size_t ciot__ble_req__pack_to_buffer (const Ciot__BleReq *message, ProtobufCBuffer *buffer)
 
Ciot__BleReqciot__ble_req__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_req__free_unpacked (Ciot__BleReq *message, ProtobufCAllocator *allocator)
 
void ciot__ble_data__init (Ciot__BleData *message)
 
size_t ciot__ble_data__get_packed_size (const Ciot__BleData *message)
 
size_t ciot__ble_data__pack (const Ciot__BleData *message, uint8_t *out)
 
size_t ciot__ble_data__pack_to_buffer (const Ciot__BleData *message, ProtobufCBuffer *buffer)
 
Ciot__BleDataciot__ble_data__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_data__free_unpacked (Ciot__BleData *message, ProtobufCAllocator *allocator)
 
+ + + + + + + + + + + + + + + +

+Variables

const ProtobufCEnumDescriptor ciot__ble_state__descriptor
 
const ProtobufCEnumDescriptor ciot__ble_req_type__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_cfg__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_info__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_status__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_req__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_data__descriptor
 
+

Macro Definition Documentation

+ +

◆ CIOT__BLE_CFG__INIT

+ +
+
+ + + + +
#define CIOT__BLE_CFG__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ble_cfg__descriptor) \
+
, {0,NULL} }
+
const ProtobufCMessageDescriptor ciot__ble_cfg__descriptor
Definition ble.pb-c.c:258
+
+
+
+ +

◆ CIOT__BLE_DATA__INIT

+ +
+
+ + + + +
#define CIOT__BLE_DATA__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ble_data__descriptor) \
+
, NULL, NULL, NULL }
+
const ProtobufCMessageDescriptor ciot__ble_data__descriptor
Definition ble.pb-c.c:488
+
+
+
+ +

◆ CIOT__BLE_INFO__INIT

+ +
+
+ + + + +
#define CIOT__BLE_INFO__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ble_info__descriptor) \
+
, {0,NULL}, {0,NULL} }
+
const ProtobufCMessageDescriptor ciot__ble_info__descriptor
Definition ble.pb-c.c:309
+
+
+
+ +

◆ CIOT__BLE_REQ__INIT

+ +
+
+ + + + +
#define CIOT__BLE_REQ__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ble_req__descriptor) \
+ +
@ CIOT__BLE_REQ_TYPE__BLE_REQ_TYPE_UNKOWN
Definition ble.pb-c.h:48
+
const ProtobufCMessageDescriptor ciot__ble_req__descriptor
Definition ble.pb-c.c:424
+
+
+
+ +

◆ CIOT__BLE_STATUS__INIT

+ +
+
+ + + + +
#define CIOT__BLE_STATUS__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ble_status__descriptor) \
+ +
@ CIOT__BLE_STATE__BLE_STATE_IDLE
Definition ble.pb-c.h:34
+
const ProtobufCMessageDescriptor ciot__ble_status__descriptor
Definition ble.pb-c.c:373
+
+
+
+

Typedef Documentation

+ +

◆ Ciot__BleCfg

+ +
+
+ + + + +
typedef typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__BleCfg Ciot__BleCfg
+
+ +
+
+ +

◆ Ciot__BleCfg_Closure

+ +
+
+ + + + +
typedef void(* Ciot__BleCfg_Closure) (const Ciot__BleCfg *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__BleData

+ +
+
+ + + + +
typedef struct _Ciot__BleData Ciot__BleData
+
+ +
+
+ +

◆ Ciot__BleData_Closure

+ +
+
+ + + + +
typedef void(* Ciot__BleData_Closure) (const Ciot__BleData *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__BleInfo

+ +
+
+ + + + +
typedef struct _Ciot__BleInfo Ciot__BleInfo
+
+ +
+
+ +

◆ Ciot__BleInfo_Closure

+ +
+
+ + + + +
typedef void(* Ciot__BleInfo_Closure) (const Ciot__BleInfo *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__BleReq

+ +
+
+ + + + +
typedef struct _Ciot__BleReq Ciot__BleReq
+
+ +
+
+ +

◆ Ciot__BleReq_Closure

+ +
+
+ + + + +
typedef void(* Ciot__BleReq_Closure) (const Ciot__BleReq *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__BleReqType

+ +
+
+ + + + +
typedef enum _Ciot__BleReqType Ciot__BleReqType
+
+ +
+
+ +

◆ Ciot__BleState

+ +
+
+ + + + +
typedef enum _Ciot__BleState Ciot__BleState
+
+ +
+
+ +

◆ Ciot__BleStatus

+ +
+
+ + + + +
typedef struct _Ciot__BleStatus Ciot__BleStatus
+
+ +
+
+ +

◆ Ciot__BleStatus_Closure

+ +
+
+ + + + +
typedef void(* Ciot__BleStatus_Closure) (const Ciot__BleStatus *message, void *closure_data)
+
+ +
+
+

Enumeration Type Documentation

+ +

◆ _Ciot__BleReqType

+ +
+
+ + + + +
enum _Ciot__BleReqType
+
+ + + +
Enumerator
CIOT__BLE_REQ_TYPE__BLE_REQ_TYPE_UNKOWN 
CIOT__BLE_REQ_TYPE__BLE_REQ_TYPE_SET_MAC 
+ +
+
+ +

◆ _Ciot__BleState

+ +
+
+ + + + +
enum _Ciot__BleState
+
+ + + +
Enumerator
CIOT__BLE_STATE__BLE_STATE_IDLE 
CIOT__BLE_STATE__BLE_STATE_STARTED 
+ +
+
+

Function Documentation

+ +

◆ ciot__ble_cfg__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_cfg__free_unpacked (Ciot__BleCfg * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_cfg__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_cfg__get_packed_size (const Ciot__BleCfg * message)
+
+ +
+
+ +

◆ ciot__ble_cfg__init()

+ +
+
+ + + + + + + +
void ciot__ble_cfg__init (Ciot__BleCfg * message)
+
+ +
+
+ +

◆ ciot__ble_cfg__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_cfg__pack (const Ciot__BleCfg * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_cfg__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_cfg__pack_to_buffer (const Ciot__BleCfg * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_cfg__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleCfg * ciot__ble_cfg__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_data__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_data__free_unpacked (Ciot__BleData * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_data__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_data__get_packed_size (const Ciot__BleData * message)
+
+ +
+
+ +

◆ ciot__ble_data__init()

+ +
+
+ + + + + + + +
void ciot__ble_data__init (Ciot__BleData * message)
+
+ +
+
+ +

◆ ciot__ble_data__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_data__pack (const Ciot__BleData * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_data__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_data__pack_to_buffer (const Ciot__BleData * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_data__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleData * ciot__ble_data__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_info__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_info__free_unpacked (Ciot__BleInfo * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_info__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_info__get_packed_size (const Ciot__BleInfo * message)
+
+ +
+
+ +

◆ ciot__ble_info__init()

+ +
+
+ + + + + + + +
void ciot__ble_info__init (Ciot__BleInfo * message)
+
+ +
+
+ +

◆ ciot__ble_info__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_info__pack (const Ciot__BleInfo * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_info__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_info__pack_to_buffer (const Ciot__BleInfo * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_info__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleInfo * ciot__ble_info__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_req__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_req__free_unpacked (Ciot__BleReq * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_req__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_req__get_packed_size (const Ciot__BleReq * message)
+
+ +
+
+ +

◆ ciot__ble_req__init()

+ +
+
+ + + + + + + +
void ciot__ble_req__init (Ciot__BleReq * message)
+
+ +
+
+ +

◆ ciot__ble_req__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_req__pack (const Ciot__BleReq * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_req__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_req__pack_to_buffer (const Ciot__BleReq * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_req__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleReq * ciot__ble_req__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_status__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_status__free_unpacked (Ciot__BleStatus * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_status__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_status__get_packed_size (const Ciot__BleStatus * message)
+
+ +
+
+ +

◆ ciot__ble_status__init()

+ +
+
+ + + + + + + +
void ciot__ble_status__init (Ciot__BleStatus * message)
+
+ +
+
+ +

◆ ciot__ble_status__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_status__pack (const Ciot__BleStatus * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_status__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_status__pack_to_buffer (const Ciot__BleStatus * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_status__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleStatus * ciot__ble_status__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+

Variable Documentation

+ +

◆ ciot__ble_cfg__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_cfg__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_data__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_data__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_info__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_info__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_req__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_req__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_req_type__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCEnumDescriptor ciot__ble_req_type__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_state__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCEnumDescriptor ciot__ble_state__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_status__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_status__descriptor
+
+extern
+
+ +
+
+
+
+ + + + diff --git a/docs/ble_8pb-c_8h.js b/docs/ble_8pb-c_8h.js new file mode 100644 index 0000000..af5c68a --- /dev/null +++ b/docs/ble_8pb-c_8h.js @@ -0,0 +1,70 @@ +var ble_8pb_c_8h = +[ + [ "_Ciot__BleCfg", "struct___ciot_____ble_cfg.html", "struct___ciot_____ble_cfg" ], + [ "_Ciot__BleInfo", "struct___ciot_____ble_info.html", "struct___ciot_____ble_info" ], + [ "_Ciot__BleStatus", "struct___ciot_____ble_status.html", "struct___ciot_____ble_status" ], + [ "_Ciot__BleReq", "struct___ciot_____ble_req.html", "struct___ciot_____ble_req" ], + [ "_Ciot__BleData", "struct___ciot_____ble_data.html", "struct___ciot_____ble_data" ], + [ "CIOT__BLE_CFG__INIT", "ble_8pb-c_8h.html#ac156d235e1dca99eeba1aeb9a88e390b", null ], + [ "CIOT__BLE_DATA__INIT", "ble_8pb-c_8h.html#a02e5f2c5f892e269495cfbcafebd6edf", null ], + [ "CIOT__BLE_INFO__INIT", "ble_8pb-c_8h.html#af92f7cc12d25084535a6f725554cb4bc", null ], + [ "CIOT__BLE_REQ__INIT", "ble_8pb-c_8h.html#a10ae7861721d57a42c7e563055f25a40", null ], + [ "CIOT__BLE_STATUS__INIT", "ble_8pb-c_8h.html#afcdb25fc93cea9b211123723f57a3441", null ], + [ "Ciot__BleCfg", "ble_8pb-c_8h.html#ad3ff0e7e50bcf0dceb3f1aae8dfce15a", null ], + [ "Ciot__BleCfg_Closure", "ble_8pb-c_8h.html#aca91fb3b15381ddd760ad5080b77202f", null ], + [ "Ciot__BleData", "ble_8pb-c_8h.html#a235abb79600948cc71f68a3212b44678", null ], + [ "Ciot__BleData_Closure", "ble_8pb-c_8h.html#a84711ea748024984d57ee5f214028c58", null ], + [ "Ciot__BleInfo", "ble_8pb-c_8h.html#ae99341537701e733c2f90d7acb006bf9", null ], + [ "Ciot__BleInfo_Closure", "ble_8pb-c_8h.html#ae941ceb86a27bae418076dc78b12afb8", null ], + [ "Ciot__BleReq", "ble_8pb-c_8h.html#a21913e2eb09d425c5417fb373ec6aec5", null ], + [ "Ciot__BleReq_Closure", "ble_8pb-c_8h.html#af3daf7ae3dd6ef7ee10f1d4c6939cce2", null ], + [ "Ciot__BleReqType", "ble_8pb-c_8h.html#a20638fd16d31fad01f0fb8f38ccbc025", null ], + [ "Ciot__BleState", "ble_8pb-c_8h.html#a947f5ea511996c21a279a89581661c16", null ], + [ "Ciot__BleStatus", "ble_8pb-c_8h.html#ada1c0e09e86fc872fb3c4663abb19a98", null ], + [ "Ciot__BleStatus_Closure", "ble_8pb-c_8h.html#af7b42bef64f10530ff7bc332898f0a3d", null ], + [ "_Ciot__BleReqType", "ble_8pb-c_8h.html#a1fef97d5317ccc786ab8bca57935dda5", [ + [ "CIOT__BLE_REQ_TYPE__BLE_REQ_TYPE_UNKOWN", "ble_8pb-c_8h.html#a1fef97d5317ccc786ab8bca57935dda5a0a2d160b0977e35a7528979f8a38e1b1", null ], + [ "CIOT__BLE_REQ_TYPE__BLE_REQ_TYPE_SET_MAC", "ble_8pb-c_8h.html#a1fef97d5317ccc786ab8bca57935dda5a4b7ce2ae368bc315a389de21e2b82197", null ] + ] ], + [ "_Ciot__BleState", "ble_8pb-c_8h.html#a78fb47a44b08ee649a8326d54850affc", [ + [ "CIOT__BLE_STATE__BLE_STATE_IDLE", "ble_8pb-c_8h.html#a78fb47a44b08ee649a8326d54850affcaf4f08bede902dcb2fa86cc1baae0eb2a", null ], + [ "CIOT__BLE_STATE__BLE_STATE_STARTED", "ble_8pb-c_8h.html#a78fb47a44b08ee649a8326d54850affcaa6706290767ce9ff7238b46ed7d98250", null ] + ] ], + [ "ciot__ble_cfg__free_unpacked", "ble_8pb-c_8h.html#a43c01a83e6cde687df5fd2f4044d08d8", null ], + [ "ciot__ble_cfg__get_packed_size", "ble_8pb-c_8h.html#aa4945c267aff88f3c48076e81270162c", null ], + [ "ciot__ble_cfg__init", "ble_8pb-c_8h.html#ae652a1404934630a402f67c9981f776e", null ], + [ "ciot__ble_cfg__pack", "ble_8pb-c_8h.html#af05ad718cb1194cb59fe98e35af78581", null ], + [ "ciot__ble_cfg__pack_to_buffer", "ble_8pb-c_8h.html#aa51eda609a08965ce951e731f60aba37", null ], + [ "ciot__ble_cfg__unpack", "ble_8pb-c_8h.html#acc16438b61627038b96cd1cb979f0f53", null ], + [ "ciot__ble_data__free_unpacked", "ble_8pb-c_8h.html#aa1a7bb090c2d3d8b281bd1e31fe45953", null ], + [ "ciot__ble_data__get_packed_size", "ble_8pb-c_8h.html#a2d75a4456e6f7ba706946eeadb78e2cc", null ], + [ "ciot__ble_data__init", "ble_8pb-c_8h.html#a199c827914ecede68f2554834ebf737f", null ], + [ "ciot__ble_data__pack", "ble_8pb-c_8h.html#a0a38d8bca6386b17d537357e3d5d5cf0", null ], + [ "ciot__ble_data__pack_to_buffer", "ble_8pb-c_8h.html#afa7a820f1580a86bde7f8abd4a17f6a7", null ], + [ "ciot__ble_data__unpack", "ble_8pb-c_8h.html#aa03b597161f8b51e6235d8dc470f15d9", null ], + [ "ciot__ble_info__free_unpacked", "ble_8pb-c_8h.html#aadc6c3f426cd204955059caec4dc74d8", null ], + [ "ciot__ble_info__get_packed_size", "ble_8pb-c_8h.html#ab40ac4ed96ebe39815386d3b5db6aea0", null ], + [ "ciot__ble_info__init", "ble_8pb-c_8h.html#a0231e42164031be0c7506838e4e796f0", null ], + [ "ciot__ble_info__pack", "ble_8pb-c_8h.html#a036f00264a0edc3a46380047b315e7f9", null ], + [ "ciot__ble_info__pack_to_buffer", "ble_8pb-c_8h.html#ae2618de077c10cf618339407252ffd0d", null ], + [ "ciot__ble_info__unpack", "ble_8pb-c_8h.html#aa3940fc7f6538503e9a737b0ce4b221e", null ], + [ "ciot__ble_req__free_unpacked", "ble_8pb-c_8h.html#a63cc203492d1e17d2d3a85986b58feee", null ], + [ "ciot__ble_req__get_packed_size", "ble_8pb-c_8h.html#a62d97fe17869311195164d8d643e1daf", null ], + [ "ciot__ble_req__init", "ble_8pb-c_8h.html#a6fd067bd06baafd5f5124da2df1e4aa0", null ], + [ "ciot__ble_req__pack", "ble_8pb-c_8h.html#aa6bf0dd1ba2c654172eae44378069656", null ], + [ "ciot__ble_req__pack_to_buffer", "ble_8pb-c_8h.html#a25321b6d8182e815b69e312cfaaeaa8f", null ], + [ "ciot__ble_req__unpack", "ble_8pb-c_8h.html#af2aaa03c243d65b4d858032a8caa0914", null ], + [ "ciot__ble_status__free_unpacked", "ble_8pb-c_8h.html#ab4bbda8e4250de4aaff58a297ee53fbf", null ], + [ "ciot__ble_status__get_packed_size", "ble_8pb-c_8h.html#a2dc6e11220b37c074c2d12e23f795ddc", null ], + [ "ciot__ble_status__init", "ble_8pb-c_8h.html#a3dd6bb6cf0d735c4622fbad6509c9b40", null ], + [ "ciot__ble_status__pack", "ble_8pb-c_8h.html#a8cee799d61b9ef3c812a1cc21278aaf1", null ], + [ "ciot__ble_status__pack_to_buffer", "ble_8pb-c_8h.html#ae8ecaf88f5bb9d0ccee15c54d44635fd", null ], + [ "ciot__ble_status__unpack", "ble_8pb-c_8h.html#affb1760f53057810e5803ddb4d626c7d", null ], + [ "ciot__ble_cfg__descriptor", "ble_8pb-c_8h.html#a2211c5757292246e9a4b13d60aa793ef", null ], + [ "ciot__ble_data__descriptor", "ble_8pb-c_8h.html#a63cdafe74870e5832c34f657bb86b630", null ], + [ "ciot__ble_info__descriptor", "ble_8pb-c_8h.html#a4515ad11d421342f8e33997ba3391eac", null ], + [ "ciot__ble_req__descriptor", "ble_8pb-c_8h.html#aeee8db99da642b820de9f687d5f6bb6e", null ], + [ "ciot__ble_req_type__descriptor", "ble_8pb-c_8h.html#a4003f0612317a9612a303a2fa1b9eb88", null ], + [ "ciot__ble_state__descriptor", "ble_8pb-c_8h.html#a3dc78daa199a36dfed5d732879c38f2d", null ], + [ "ciot__ble_status__descriptor", "ble_8pb-c_8h.html#a95f8746c77afb5f985041d2a280bd03d", null ] +]; \ No newline at end of file diff --git a/docs/ble_8pb-c_8h_source.html b/docs/ble_8pb-c_8h_source.html new file mode 100644 index 0000000..8293bed --- /dev/null +++ b/docs/ble_8pb-c_8h_source.html @@ -0,0 +1,491 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/ble.pb-c.h Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ble.pb-c.h
+
+
+Go to the documentation of this file.
1/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+
2/* Generated from: ciot/proto/v1/ble.proto */
+
3
+
4#ifndef PROTOBUF_C_ciot_2fproto_2fv1_2fble_2eproto__INCLUDED
+
5#define PROTOBUF_C_ciot_2fproto_2fv1_2fble_2eproto__INCLUDED
+
6
+
7#include <protobuf-c/protobuf-c.h>
+
8
+
9PROTOBUF_C__BEGIN_DECLS
+
10
+
11#if PROTOBUF_C_VERSION_NUMBER < 1003000
+
12# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+
13#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
+
14# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+
15#endif
+
16
+
17
+ + + + + +
23
+
24
+
25/* --- enums --- */
+
26
+
27/*
+
28 * Possible ble states
+
29 */
+
+
30typedef enum _Ciot__BleState {
+
31 /*
+
32 * Idle state
+
33 */
+ +
35 /*
+
36 * Bluetooth module started
+
37 */
+ +
39 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(CIOT__BLE_STATE)
+ +
+
41/*
+
42 * Ble request types
+
43 */
+
+
44typedef enum _Ciot__BleReqType {
+
45 /*
+
46 * Unknown request type
+
47 */
+ +
49 /*
+
50 * Assign mac address to bluetooth module
+
51 */
+ +
53 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(CIOT__BLE_REQ_TYPE)
+ +
+
55
+
56/* --- messages --- */
+
57
+
58/*
+
59 * Bluetooth module configuration
+
60 */
+
+ +
62{
+
63 ProtobufCMessage base;
+
64 /*
+
65 * Mac address. If empty, is ignored, and the hardware mac
+
66 */
+
67 ProtobufCBinaryData mac;
+
68};
+
+
+
69#define CIOT__BLE_CFG__INIT \
+
70 { PROTOBUF_C_MESSAGE_INIT (&ciot__ble_cfg__descriptor) \
+
71 , {0,NULL} }
+
+
72
+
73
+
74/*
+
75 * Bluetooth module information
+
76 */
+
+ +
78{
+
79 ProtobufCMessage base;
+
80 /*
+
81 * Hardware mac address
+
82 */
+
83 ProtobufCBinaryData hw_mac;
+
84 /*
+
85 * Software mac address
+
86 */
+
87 ProtobufCBinaryData sw_mac;
+
88};
+
+
+
89#define CIOT__BLE_INFO__INIT \
+
90 { PROTOBUF_C_MESSAGE_INIT (&ciot__ble_info__descriptor) \
+
91 , {0,NULL}, {0,NULL} }
+
+
92
+
93
+
94/*
+
95 * Bluetooth module status
+
96 */
+
+ +
98{
+
99 ProtobufCMessage base;
+
100 /*
+
101 * Current state
+
102 */
+ +
104 /*
+
105 * Current error code
+
106 */
+
107 int32_t err_code;
+
108 /*
+
109 * Bluetooth module information
+
110 */
+ +
112};
+
+
+
113#define CIOT__BLE_STATUS__INIT \
+
114 { PROTOBUF_C_MESSAGE_INIT (&ciot__ble_status__descriptor) \
+
115 , CIOT__BLE_STATE__BLE_STATE_IDLE, 0, NULL }
+
+
116
+
117
+
118/*
+
119 * Bluetooth module request
+
120 */
+
+ +
122{
+
123 ProtobufCMessage base;
+
124 /*
+
125 * Request type
+
126 */
+ +
128 /*
+
129 * Assign mac request
+
130 */
+
131 ProtobufCBinaryData set_mac;
+
132};
+
+
+
133#define CIOT__BLE_REQ__INIT \
+
134 { PROTOBUF_C_MESSAGE_INIT (&ciot__ble_req__descriptor) \
+
135 , CIOT__BLE_REQ_TYPE__BLE_REQ_TYPE_UNKOWN, {0,NULL} }
+
+
136
+
137
+
138/*
+
139 * Bluetooth module data
+
140 */
+
+ +
142{
+
143 ProtobufCMessage base;
+ + + +
147};
+
+
+
148#define CIOT__BLE_DATA__INIT \
+
149 { PROTOBUF_C_MESSAGE_INIT (&ciot__ble_data__descriptor) \
+
150 , NULL, NULL, NULL }
+
+
151
+
152
+
153/* Ciot__BleCfg methods */
+ +
155 (Ciot__BleCfg *message);
+ +
157 (const Ciot__BleCfg *message);
+ +
159 (const Ciot__BleCfg *message,
+
160 uint8_t *out);
+ +
162 (const Ciot__BleCfg *message,
+
163 ProtobufCBuffer *buffer);
+ + +
166 (ProtobufCAllocator *allocator,
+
167 size_t len,
+
168 const uint8_t *data);
+ +
170 (Ciot__BleCfg *message,
+
171 ProtobufCAllocator *allocator);
+
172/* Ciot__BleInfo methods */
+ +
174 (Ciot__BleInfo *message);
+ +
176 (const Ciot__BleInfo *message);
+ +
178 (const Ciot__BleInfo *message,
+
179 uint8_t *out);
+ +
181 (const Ciot__BleInfo *message,
+
182 ProtobufCBuffer *buffer);
+ + +
185 (ProtobufCAllocator *allocator,
+
186 size_t len,
+
187 const uint8_t *data);
+ +
189 (Ciot__BleInfo *message,
+
190 ProtobufCAllocator *allocator);
+
191/* Ciot__BleStatus methods */
+ +
193 (Ciot__BleStatus *message);
+ +
195 (const Ciot__BleStatus *message);
+ +
197 (const Ciot__BleStatus *message,
+
198 uint8_t *out);
+ +
200 (const Ciot__BleStatus *message,
+
201 ProtobufCBuffer *buffer);
+ + +
204 (ProtobufCAllocator *allocator,
+
205 size_t len,
+
206 const uint8_t *data);
+ +
208 (Ciot__BleStatus *message,
+
209 ProtobufCAllocator *allocator);
+
210/* Ciot__BleReq methods */
+ +
212 (Ciot__BleReq *message);
+ +
214 (const Ciot__BleReq *message);
+ +
216 (const Ciot__BleReq *message,
+
217 uint8_t *out);
+ +
219 (const Ciot__BleReq *message,
+
220 ProtobufCBuffer *buffer);
+ + +
223 (ProtobufCAllocator *allocator,
+
224 size_t len,
+
225 const uint8_t *data);
+ +
227 (Ciot__BleReq *message,
+
228 ProtobufCAllocator *allocator);
+
229/* Ciot__BleData methods */
+ +
231 (Ciot__BleData *message);
+ +
233 (const Ciot__BleData *message);
+ +
235 (const Ciot__BleData *message,
+
236 uint8_t *out);
+ +
238 (const Ciot__BleData *message,
+
239 ProtobufCBuffer *buffer);
+ + +
242 (ProtobufCAllocator *allocator,
+
243 size_t len,
+
244 const uint8_t *data);
+ +
246 (Ciot__BleData *message,
+
247 ProtobufCAllocator *allocator);
+
248/* --- per-message closures --- */
+
249
+
250typedef void (*Ciot__BleCfg_Closure)
+
251 (const Ciot__BleCfg *message,
+
252 void *closure_data);
+ +
254 (const Ciot__BleInfo *message,
+
255 void *closure_data);
+ +
257 (const Ciot__BleStatus *message,
+
258 void *closure_data);
+
259typedef void (*Ciot__BleReq_Closure)
+
260 (const Ciot__BleReq *message,
+
261 void *closure_data);
+ +
263 (const Ciot__BleData *message,
+
264 void *closure_data);
+
265
+
266/* --- services --- */
+
267
+
268
+
269/* --- descriptors --- */
+
270
+
271extern const ProtobufCEnumDescriptor ciot__ble_state__descriptor;
+
272extern const ProtobufCEnumDescriptor ciot__ble_req_type__descriptor;
+
273extern const ProtobufCMessageDescriptor ciot__ble_cfg__descriptor;
+
274extern const ProtobufCMessageDescriptor ciot__ble_info__descriptor;
+
275extern const ProtobufCMessageDescriptor ciot__ble_status__descriptor;
+
276extern const ProtobufCMessageDescriptor ciot__ble_req__descriptor;
+
277extern const ProtobufCMessageDescriptor ciot__ble_data__descriptor;
+
278
+
279PROTOBUF_C__END_DECLS
+
280
+
281
+
282#endif /* PROTOBUF_C_ciot_2fproto_2fv1_2fble_2eproto__INCLUDED */
+
void ciot__ble_info__init(Ciot__BleInfo *message)
Definition ble.pb-c.c:56
+
size_t ciot__ble_info__pack(const Ciot__BleInfo *message, uint8_t *out)
Definition ble.pb-c.c:68
+
size_t ciot__ble_data__pack(const Ciot__BleData *message, uint8_t *out)
Definition ble.pb-c.c:203
+
void ciot__ble_data__init(Ciot__BleData *message)
Definition ble.pb-c.c:191
+
_Ciot__BleReqType
Definition ble.pb-c.h:44
+
@ CIOT__BLE_REQ_TYPE__BLE_REQ_TYPE_UNKOWN
Definition ble.pb-c.h:48
+
@ CIOT__BLE_REQ_TYPE__BLE_REQ_TYPE_SET_MAC
Definition ble.pb-c.h:52
+
enum _Ciot__BleReqType Ciot__BleReqType
+
const ProtobufCMessageDescriptor ciot__ble_cfg__descriptor
Definition ble.pb-c.c:258
+
size_t ciot__ble_req__pack_to_buffer(const Ciot__BleReq *message, ProtobufCBuffer *buffer)
Definition ble.pb-c.c:165
+
size_t ciot__ble_data__get_packed_size(const Ciot__BleData *message)
Definition ble.pb-c.c:197
+
size_t ciot__ble_status__get_packed_size(const Ciot__BleStatus *message)
Definition ble.pb-c.c:107
+
const ProtobufCEnumDescriptor ciot__ble_state__descriptor
Definition ble.pb-c.c:516
+
void ciot__ble_status__init(Ciot__BleStatus *message)
Definition ble.pb-c.c:101
+
const ProtobufCEnumDescriptor ciot__ble_req_type__descriptor
Definition ble.pb-c.c:544
+
void ciot__ble_cfg__free_unpacked(Ciot__BleCfg *message, ProtobufCAllocator *allocator)
Definition ble.pb-c.c:47
+
const ProtobufCMessageDescriptor ciot__ble_info__descriptor
Definition ble.pb-c.c:309
+
size_t ciot__ble_req__get_packed_size(const Ciot__BleReq *message)
Definition ble.pb-c.c:152
+
void ciot__ble_req__free_unpacked(Ciot__BleReq *message, ProtobufCAllocator *allocator)
Definition ble.pb-c.c:182
+
const ProtobufCMessageDescriptor ciot__ble_data__descriptor
Definition ble.pb-c.c:488
+
void ciot__ble_req__init(Ciot__BleReq *message)
Definition ble.pb-c.c:146
+
_Ciot__BleState
Definition ble.pb-c.h:30
+
@ CIOT__BLE_STATE__BLE_STATE_STARTED
Definition ble.pb-c.h:38
+
@ CIOT__BLE_STATE__BLE_STATE_IDLE
Definition ble.pb-c.h:34
+
void(* Ciot__BleData_Closure)(const Ciot__BleData *message, void *closure_data)
Definition ble.pb-c.h:263
+
size_t ciot__ble_status__pack(const Ciot__BleStatus *message, uint8_t *out)
Definition ble.pb-c.c:113
+
enum _Ciot__BleState Ciot__BleState
+
const ProtobufCMessageDescriptor ciot__ble_status__descriptor
Definition ble.pb-c.c:373
+
Ciot__BleData * ciot__ble_data__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ble.pb-c.c:218
+
void ciot__ble_data__free_unpacked(Ciot__BleData *message, ProtobufCAllocator *allocator)
Definition ble.pb-c.c:227
+
Ciot__BleInfo * ciot__ble_info__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ble.pb-c.c:83
+
size_t ciot__ble_cfg__get_packed_size(const Ciot__BleCfg *message)
Definition ble.pb-c.c:17
+
size_t ciot__ble_cfg__pack_to_buffer(const Ciot__BleCfg *message, ProtobufCBuffer *buffer)
Definition ble.pb-c.c:30
+
size_t ciot__ble_req__pack(const Ciot__BleReq *message, uint8_t *out)
Definition ble.pb-c.c:158
+
void ciot__ble_info__free_unpacked(Ciot__BleInfo *message, ProtobufCAllocator *allocator)
Definition ble.pb-c.c:92
+
size_t ciot__ble_info__get_packed_size(const Ciot__BleInfo *message)
Definition ble.pb-c.c:62
+
void ciot__ble_status__free_unpacked(Ciot__BleStatus *message, ProtobufCAllocator *allocator)
Definition ble.pb-c.c:137
+
void(* Ciot__BleCfg_Closure)(const Ciot__BleCfg *message, void *closure_data)
Definition ble.pb-c.h:251
+
Ciot__BleCfg * ciot__ble_cfg__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ble.pb-c.c:38
+
typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__BleCfg Ciot__BleCfg
Definition ble.pb-c.h:18
+
size_t ciot__ble_info__pack_to_buffer(const Ciot__BleInfo *message, ProtobufCBuffer *buffer)
Definition ble.pb-c.c:75
+
void ciot__ble_cfg__init(Ciot__BleCfg *message)
Definition ble.pb-c.c:11
+
size_t ciot__ble_status__pack_to_buffer(const Ciot__BleStatus *message, ProtobufCBuffer *buffer)
Definition ble.pb-c.c:120
+
void(* Ciot__BleInfo_Closure)(const Ciot__BleInfo *message, void *closure_data)
Definition ble.pb-c.h:254
+
const ProtobufCMessageDescriptor ciot__ble_req__descriptor
Definition ble.pb-c.c:424
+
size_t ciot__ble_cfg__pack(const Ciot__BleCfg *message, uint8_t *out)
Definition ble.pb-c.c:23
+
Ciot__BleReq * ciot__ble_req__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ble.pb-c.c:173
+
void(* Ciot__BleReq_Closure)(const Ciot__BleReq *message, void *closure_data)
Definition ble.pb-c.h:260
+
void(* Ciot__BleStatus_Closure)(const Ciot__BleStatus *message, void *closure_data)
Definition ble.pb-c.h:257
+
size_t ciot__ble_data__pack_to_buffer(const Ciot__BleData *message, ProtobufCBuffer *buffer)
Definition ble.pb-c.c:210
+
Ciot__BleStatus * ciot__ble_status__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ble.pb-c.c:128
+
Definition ble.pb-c.h:62
+
ProtobufCMessage base
Definition ble.pb-c.h:63
+
ProtobufCBinaryData mac
Definition ble.pb-c.h:67
+
Definition ble.pb-c.h:142
+
Ciot__BleStatus * status
Definition ble.pb-c.h:145
+
Ciot__BleReq * request
Definition ble.pb-c.h:146
+
ProtobufCMessage base
Definition ble.pb-c.h:143
+
Ciot__BleCfg * config
Definition ble.pb-c.h:144
+
Definition ble.pb-c.h:78
+
ProtobufCBinaryData sw_mac
Definition ble.pb-c.h:87
+
ProtobufCBinaryData hw_mac
Definition ble.pb-c.h:83
+
ProtobufCMessage base
Definition ble.pb-c.h:79
+
Definition ble.pb-c.h:122
+
Ciot__BleReqType type
Definition ble.pb-c.h:127
+
ProtobufCMessage base
Definition ble.pb-c.h:123
+
ProtobufCBinaryData set_mac
Definition ble.pb-c.h:131
+
Definition ble.pb-c.h:98
+
Ciot__BleInfo * info
Definition ble.pb-c.h:111
+
Ciot__BleState state
Definition ble.pb-c.h:103
+
ProtobufCMessage base
Definition ble.pb-c.h:99
+
int32_t err_code
Definition ble.pb-c.h:107
+
+
+ + + + diff --git a/docs/ble__scn_8pb-c_8c.html b/docs/ble__scn_8pb-c_8c.html new file mode 100644 index 0000000..954f697 --- /dev/null +++ b/docs/ble__scn_8pb-c_8c.html @@ -0,0 +1,1044 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/ble_scn.pb-c.c File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
ble_scn.pb-c.c File Reference
+
+
+ + + + +

+Macros

#define PROTOBUF_C__NO_DEPRECATED
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void ciot__ble_scn_cfg__init (Ciot__BleScnCfg *message)
 
size_t ciot__ble_scn_cfg__get_packed_size (const Ciot__BleScnCfg *message)
 
size_t ciot__ble_scn_cfg__pack (const Ciot__BleScnCfg *message, uint8_t *out)
 
size_t ciot__ble_scn_cfg__pack_to_buffer (const Ciot__BleScnCfg *message, ProtobufCBuffer *buffer)
 
Ciot__BleScnCfgciot__ble_scn_cfg__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_scn_cfg__free_unpacked (Ciot__BleScnCfg *message, ProtobufCAllocator *allocator)
 
void ciot__ble_scn_adv_info__init (Ciot__BleScnAdvInfo *message)
 
size_t ciot__ble_scn_adv_info__get_packed_size (const Ciot__BleScnAdvInfo *message)
 
size_t ciot__ble_scn_adv_info__pack (const Ciot__BleScnAdvInfo *message, uint8_t *out)
 
size_t ciot__ble_scn_adv_info__pack_to_buffer (const Ciot__BleScnAdvInfo *message, ProtobufCBuffer *buffer)
 
Ciot__BleScnAdvInfociot__ble_scn_adv_info__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_scn_adv_info__free_unpacked (Ciot__BleScnAdvInfo *message, ProtobufCAllocator *allocator)
 
void ciot__ble_scn_status__init (Ciot__BleScnStatus *message)
 
size_t ciot__ble_scn_status__get_packed_size (const Ciot__BleScnStatus *message)
 
size_t ciot__ble_scn_status__pack (const Ciot__BleScnStatus *message, uint8_t *out)
 
size_t ciot__ble_scn_status__pack_to_buffer (const Ciot__BleScnStatus *message, ProtobufCBuffer *buffer)
 
Ciot__BleScnStatusciot__ble_scn_status__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_scn_status__free_unpacked (Ciot__BleScnStatus *message, ProtobufCAllocator *allocator)
 
void ciot__ble_scn_req__init (Ciot__BleScnReq *message)
 
size_t ciot__ble_scn_req__get_packed_size (const Ciot__BleScnReq *message)
 
size_t ciot__ble_scn_req__pack (const Ciot__BleScnReq *message, uint8_t *out)
 
size_t ciot__ble_scn_req__pack_to_buffer (const Ciot__BleScnReq *message, ProtobufCBuffer *buffer)
 
Ciot__BleScnReqciot__ble_scn_req__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_scn_req__free_unpacked (Ciot__BleScnReq *message, ProtobufCAllocator *allocator)
 
void ciot__ble_scn_data__init (Ciot__BleScnData *message)
 
size_t ciot__ble_scn_data__get_packed_size (const Ciot__BleScnData *message)
 
size_t ciot__ble_scn_data__pack (const Ciot__BleScnData *message, uint8_t *out)
 
size_t ciot__ble_scn_data__pack_to_buffer (const Ciot__BleScnData *message, ProtobufCBuffer *buffer)
 
Ciot__BleScnDataciot__ble_scn_data__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_scn_data__free_unpacked (Ciot__BleScnData *message, ProtobufCAllocator *allocator)
 
+ + + + + + + + + + + + + + + +

+Variables

const ProtobufCMessageDescriptor ciot__ble_scn_cfg__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_scn_adv_info__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_scn_status__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_scn_req__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_scn_data__descriptor
 
const ProtobufCEnumDescriptor ciot__ble_scn_state__descriptor
 
const ProtobufCEnumDescriptor ciot__ble_scn_req_type__descriptor
 
+

Macro Definition Documentation

+ +

◆ PROTOBUF_C__NO_DEPRECATED

+ +
+
+ + + + +
#define PROTOBUF_C__NO_DEPRECATED
+
+ +
+
+

Function Documentation

+ +

◆ ciot__ble_scn_adv_info__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_scn_adv_info__free_unpacked (Ciot__BleScnAdvInfo * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_scn_adv_info__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_scn_adv_info__get_packed_size (const Ciot__BleScnAdvInfo * message)
+
+ +
+
+ +

◆ ciot__ble_scn_adv_info__init()

+ +
+
+ + + + + + + +
void ciot__ble_scn_adv_info__init (Ciot__BleScnAdvInfo * message)
+
+ +
+
+ +

◆ ciot__ble_scn_adv_info__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_adv_info__pack (const Ciot__BleScnAdvInfo * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_scn_adv_info__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_adv_info__pack_to_buffer (const Ciot__BleScnAdvInfo * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_scn_adv_info__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleScnAdvInfo * ciot__ble_scn_adv_info__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_scn_cfg__free_unpacked (Ciot__BleScnCfg * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_scn_cfg__get_packed_size (const Ciot__BleScnCfg * message)
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__init()

+ +
+
+ + + + + + + +
void ciot__ble_scn_cfg__init (Ciot__BleScnCfg * message)
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_cfg__pack (const Ciot__BleScnCfg * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_cfg__pack_to_buffer (const Ciot__BleScnCfg * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleScnCfg * ciot__ble_scn_cfg__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_scn_data__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_scn_data__free_unpacked (Ciot__BleScnData * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_scn_data__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_scn_data__get_packed_size (const Ciot__BleScnData * message)
+
+ +
+
+ +

◆ ciot__ble_scn_data__init()

+ +
+
+ + + + + + + +
void ciot__ble_scn_data__init (Ciot__BleScnData * message)
+
+ +
+
+ +

◆ ciot__ble_scn_data__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_data__pack (const Ciot__BleScnData * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_scn_data__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_data__pack_to_buffer (const Ciot__BleScnData * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_scn_data__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleScnData * ciot__ble_scn_data__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_scn_req__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_scn_req__free_unpacked (Ciot__BleScnReq * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_scn_req__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_scn_req__get_packed_size (const Ciot__BleScnReq * message)
+
+ +
+
+ +

◆ ciot__ble_scn_req__init()

+ +
+
+ + + + + + + +
void ciot__ble_scn_req__init (Ciot__BleScnReq * message)
+
+ +
+
+ +

◆ ciot__ble_scn_req__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_req__pack (const Ciot__BleScnReq * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_scn_req__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_req__pack_to_buffer (const Ciot__BleScnReq * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_scn_req__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleScnReq * ciot__ble_scn_req__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_scn_status__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_scn_status__free_unpacked (Ciot__BleScnStatus * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_scn_status__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_scn_status__get_packed_size (const Ciot__BleScnStatus * message)
+
+ +
+
+ +

◆ ciot__ble_scn_status__init()

+ +
+
+ + + + + + + +
void ciot__ble_scn_status__init (Ciot__BleScnStatus * message)
+
+ +
+
+ +

◆ ciot__ble_scn_status__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_status__pack (const Ciot__BleScnStatus * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_scn_status__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_status__pack_to_buffer (const Ciot__BleScnStatus * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_scn_status__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleScnStatus * ciot__ble_scn_status__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+

Variable Documentation

+ +

◆ ciot__ble_scn_adv_info__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_scn_adv_info__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.BleScnAdvInfo",
+
"BleScnAdvInfo",
+
"Ciot__BleScnAdvInfo",
+
"Ciot",
+ +
2,
+
ciot__ble_scn_adv_info__field_descriptors,
+
ciot__ble_scn_adv_info__field_indices_by_name,
+
1, ciot__ble_scn_adv_info__number_ranges,
+
(ProtobufCMessageInit) ciot__ble_scn_adv_info__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ble_scn_adv_info__init(Ciot__BleScnAdvInfo *message)
Definition ble_scn.pb-c.c:56
+
struct _Ciot__BleScnAdvInfo Ciot__BleScnAdvInfo
Definition ble_scn.pb-c.h:19
+
+
+
+ +

◆ ciot__ble_scn_cfg__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_scn_cfg__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.BleScnCfg",
+
"BleScnCfg",
+
"Ciot__BleScnCfg",
+
"Ciot",
+
sizeof(Ciot__BleScnCfg),
+
5,
+
ciot__ble_scn_cfg__field_descriptors,
+
ciot__ble_scn_cfg__field_indices_by_name,
+
1, ciot__ble_scn_cfg__number_ranges,
+
(ProtobufCMessageInit) ciot__ble_scn_cfg__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ble_scn_cfg__init(Ciot__BleScnCfg *message)
Definition ble_scn.pb-c.c:11
+
typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__BleScnCfg Ciot__BleScnCfg
Definition ble_scn.pb-c.h:18
+
+
+
+ +

◆ ciot__ble_scn_data__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_scn_data__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.BleScnData",
+
"BleScnData",
+
"Ciot__BleScnData",
+
"Ciot",
+ +
3,
+
ciot__ble_scn_data__field_descriptors,
+
ciot__ble_scn_data__field_indices_by_name,
+
1, ciot__ble_scn_data__number_ranges,
+
(ProtobufCMessageInit) ciot__ble_scn_data__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ble_scn_data__init(Ciot__BleScnData *message)
Definition ble_scn.pb-c.c:191
+
struct _Ciot__BleScnData Ciot__BleScnData
Definition ble_scn.pb-c.h:22
+
+
+
+ +

◆ ciot__ble_scn_req__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_scn_req__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.BleScnReq",
+
"BleScnReq",
+
"Ciot__BleScnReq",
+
"Ciot",
+
sizeof(Ciot__BleScnReq),
+
1,
+
ciot__ble_scn_req__field_descriptors,
+
ciot__ble_scn_req__field_indices_by_name,
+
1, ciot__ble_scn_req__number_ranges,
+
(ProtobufCMessageInit) ciot__ble_scn_req__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ble_scn_req__init(Ciot__BleScnReq *message)
Definition ble_scn.pb-c.c:146
+
struct _Ciot__BleScnReq Ciot__BleScnReq
Definition ble_scn.pb-c.h:21
+
+
+
+ +

◆ ciot__ble_scn_req_type__descriptor

+ +
+
+ + + + +
const ProtobufCEnumDescriptor ciot__ble_scn_req_type__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+
"Ciot.BleScnReqType",
+
"BleScnReqType",
+
"Ciot__BleScnReqType",
+
"Ciot",
+
1,
+
ciot__ble_scn_req_type__enum_values_by_number,
+
1,
+
ciot__ble_scn_req_type__enum_values_by_name,
+
1,
+
ciot__ble_scn_req_type__value_ranges,
+
NULL,NULL,NULL,NULL
+
}
+
+
+
+ +

◆ ciot__ble_scn_state__descriptor

+ +
+
+ + + + +
const ProtobufCEnumDescriptor ciot__ble_scn_state__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+
"Ciot.BleScnState",
+
"BleScnState",
+
"Ciot__BleScnState",
+
"Ciot",
+
3,
+
ciot__ble_scn_state__enum_values_by_number,
+
3,
+
ciot__ble_scn_state__enum_values_by_name,
+
1,
+
ciot__ble_scn_state__value_ranges,
+
NULL,NULL,NULL,NULL
+
}
+
+
+
+ +

◆ ciot__ble_scn_status__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_scn_status__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.BleScnStatus",
+
"BleScnStatus",
+
"Ciot__BleScnStatus",
+
"Ciot",
+ +
3,
+
ciot__ble_scn_status__field_descriptors,
+
ciot__ble_scn_status__field_indices_by_name,
+
1, ciot__ble_scn_status__number_ranges,
+
(ProtobufCMessageInit) ciot__ble_scn_status__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ble_scn_status__init(Ciot__BleScnStatus *message)
Definition ble_scn.pb-c.c:101
+
struct _Ciot__BleScnStatus Ciot__BleScnStatus
Definition ble_scn.pb-c.h:20
+
+
+
+
+
+ + + + diff --git a/docs/ble__scn_8pb-c_8c.js b/docs/ble__scn_8pb-c_8c.js new file mode 100644 index 0000000..46f2b2a --- /dev/null +++ b/docs/ble__scn_8pb-c_8c.js @@ -0,0 +1,41 @@ +var ble__scn_8pb_c_8c = +[ + [ "PROTOBUF_C__NO_DEPRECATED", "ble__scn_8pb-c_8c.html#ad9480935c25b5155174487b631af52f5", null ], + [ "ciot__ble_scn_adv_info__free_unpacked", "ble__scn_8pb-c_8c.html#adc10db20b40b8c3c63a0850811ab577d", null ], + [ "ciot__ble_scn_adv_info__get_packed_size", "ble__scn_8pb-c_8c.html#a560b1caa3cd5ddaf681cf423a70a4869", null ], + [ "ciot__ble_scn_adv_info__init", "ble__scn_8pb-c_8c.html#a9976025d623d00d270d917a36a9c02e1", null ], + [ "ciot__ble_scn_adv_info__pack", "ble__scn_8pb-c_8c.html#aa4e35846f705ad3f43e71950e7dcdde9", null ], + [ "ciot__ble_scn_adv_info__pack_to_buffer", "ble__scn_8pb-c_8c.html#a5b5ff813958159c51f67b7986a07da21", null ], + [ "ciot__ble_scn_adv_info__unpack", "ble__scn_8pb-c_8c.html#a9257e159c9e9dbc7b23a1a48c34674cf", null ], + [ "ciot__ble_scn_cfg__free_unpacked", "ble__scn_8pb-c_8c.html#a9a8a61ef67c06d77259c019ea01c51a3", null ], + [ "ciot__ble_scn_cfg__get_packed_size", "ble__scn_8pb-c_8c.html#a8138a4a99d10371460b34b717ba9e89d", null ], + [ "ciot__ble_scn_cfg__init", "ble__scn_8pb-c_8c.html#a413501143cf45ac803fac7f595be22e7", null ], + [ "ciot__ble_scn_cfg__pack", "ble__scn_8pb-c_8c.html#aef4ee7a8583a77a49db403ecff9eefd1", null ], + [ "ciot__ble_scn_cfg__pack_to_buffer", "ble__scn_8pb-c_8c.html#a60c3b7c021773348d950c8071f5cdab9", null ], + [ "ciot__ble_scn_cfg__unpack", "ble__scn_8pb-c_8c.html#ab13caea7c81d0cda0a7bee1555a73d8a", null ], + [ "ciot__ble_scn_data__free_unpacked", "ble__scn_8pb-c_8c.html#a94d223345aeb81146b7374fae3ef5bce", null ], + [ "ciot__ble_scn_data__get_packed_size", "ble__scn_8pb-c_8c.html#a74aebbef928d6d31169f144a49fddcea", null ], + [ "ciot__ble_scn_data__init", "ble__scn_8pb-c_8c.html#a79fa0818726dc9d916fd5923f431001a", null ], + [ "ciot__ble_scn_data__pack", "ble__scn_8pb-c_8c.html#a2531831b5dbc44240157ee2c9ff70e7b", null ], + [ "ciot__ble_scn_data__pack_to_buffer", "ble__scn_8pb-c_8c.html#a56a157272c41296b72add24b610259eb", null ], + [ "ciot__ble_scn_data__unpack", "ble__scn_8pb-c_8c.html#aa091780b13a3a1e1c315e5fe8e035c9b", null ], + [ "ciot__ble_scn_req__free_unpacked", "ble__scn_8pb-c_8c.html#ab890569d28e66305507b3a32c65e4bb4", null ], + [ "ciot__ble_scn_req__get_packed_size", "ble__scn_8pb-c_8c.html#a73e8c30c42ca0f865d2fbbaf46cd2692", null ], + [ "ciot__ble_scn_req__init", "ble__scn_8pb-c_8c.html#a11f512a1e40f0349b09a0f66ff006a66", null ], + [ "ciot__ble_scn_req__pack", "ble__scn_8pb-c_8c.html#ac285b283e14c0fd7136b3fd1f14957b2", null ], + [ "ciot__ble_scn_req__pack_to_buffer", "ble__scn_8pb-c_8c.html#ab7f892c6661f3aa13c191572c125aafe", null ], + [ "ciot__ble_scn_req__unpack", "ble__scn_8pb-c_8c.html#a89a9f4ea53326b1cce99a084576550e2", null ], + [ "ciot__ble_scn_status__free_unpacked", "ble__scn_8pb-c_8c.html#a216cdee72e9bfdd6e4d4189b17c42ee9", null ], + [ "ciot__ble_scn_status__get_packed_size", "ble__scn_8pb-c_8c.html#a9721ded02dc0ad6b46292fbed97631df", null ], + [ "ciot__ble_scn_status__init", "ble__scn_8pb-c_8c.html#abf7c776037d6ece6266e698faeae361e", null ], + [ "ciot__ble_scn_status__pack", "ble__scn_8pb-c_8c.html#abc4aeeee4df45b1a605ddfea4e598c31", null ], + [ "ciot__ble_scn_status__pack_to_buffer", "ble__scn_8pb-c_8c.html#a4c4d3f7547d5fc0254e361dd9ec1e76d", null ], + [ "ciot__ble_scn_status__unpack", "ble__scn_8pb-c_8c.html#a46824b36d6875feccbb27ddc05e4dcef", null ], + [ "ciot__ble_scn_adv_info__descriptor", "ble__scn_8pb-c_8c.html#ac29e88e6ed9f5a662c38457c786d9b75", null ], + [ "ciot__ble_scn_cfg__descriptor", "ble__scn_8pb-c_8c.html#a317032453fbc39e149bd1c428426ad47", null ], + [ "ciot__ble_scn_data__descriptor", "ble__scn_8pb-c_8c.html#aa085ef4331927e30ccb04450534c8840", null ], + [ "ciot__ble_scn_req__descriptor", "ble__scn_8pb-c_8c.html#a2c599dc15e4eb5e32c7c374fe890d45b", null ], + [ "ciot__ble_scn_req_type__descriptor", "ble__scn_8pb-c_8c.html#a2e605fc70346069a46420260e42afc36", null ], + [ "ciot__ble_scn_state__descriptor", "ble__scn_8pb-c_8c.html#a21a686b6740e66c36236b2f34f289489", null ], + [ "ciot__ble_scn_status__descriptor", "ble__scn_8pb-c_8c.html#ad201404c8ccff0fcc8dea7764ac7666a", null ] +]; \ No newline at end of file diff --git a/docs/ble__scn_8pb-c_8h.html b/docs/ble__scn_8pb-c_8h.html new file mode 100644 index 0000000..f557a33 --- /dev/null +++ b/docs/ble__scn_8pb-c_8h.html @@ -0,0 +1,1328 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/ble_scn.pb-c.h File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
ble_scn.pb-c.h File Reference
+
+
+
#include <protobuf-c/protobuf-c.h>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + +

+Data Structures

struct  _Ciot__BleScnCfg
 
struct  _Ciot__BleScnAdvInfo
 
struct  _Ciot__BleScnStatus
 
struct  _Ciot__BleScnReq
 
struct  _Ciot__BleScnData
 
+ + + + + + + + + + + +

+Macros

#define CIOT__BLE_SCN_CFG__INIT
 
#define CIOT__BLE_SCN_ADV_INFO__INIT
 
#define CIOT__BLE_SCN_STATUS__INIT
 
#define CIOT__BLE_SCN_REQ__INIT
 
#define CIOT__BLE_SCN_DATA__INIT
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__BleScnCfg Ciot__BleScnCfg
 
typedef struct _Ciot__BleScnAdvInfo Ciot__BleScnAdvInfo
 
typedef struct _Ciot__BleScnStatus Ciot__BleScnStatus
 
typedef struct _Ciot__BleScnReq Ciot__BleScnReq
 
typedef struct _Ciot__BleScnData Ciot__BleScnData
 
typedef enum _Ciot__BleScnState Ciot__BleScnState
 
typedef enum _Ciot__BleScnReqType Ciot__BleScnReqType
 
typedef void(* Ciot__BleScnCfg_Closure) (const Ciot__BleScnCfg *message, void *closure_data)
 
typedef void(* Ciot__BleScnAdvInfo_Closure) (const Ciot__BleScnAdvInfo *message, void *closure_data)
 
typedef void(* Ciot__BleScnStatus_Closure) (const Ciot__BleScnStatus *message, void *closure_data)
 
typedef void(* Ciot__BleScnReq_Closure) (const Ciot__BleScnReq *message, void *closure_data)
 
typedef void(* Ciot__BleScnData_Closure) (const Ciot__BleScnData *message, void *closure_data)
 
+ + + + + +

+Enumerations

enum  _Ciot__BleScnState { CIOT__BLE_SCN_STATE__BLE_SCN_STATE_IDLE = 0 +, CIOT__BLE_SCN_STATE__BLE_SCN_STATE_PASSIVE = 1 +, CIOT__BLE_SCN_STATE__BLE_SCN_STATE_ACTIVE = 2 + }
 
enum  _Ciot__BleScnReqType { CIOT__BLE_SCN_REQ_TYPE__BLE_SCN_REQ_TYPE_UNKOWN = 0 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void ciot__ble_scn_cfg__init (Ciot__BleScnCfg *message)
 
size_t ciot__ble_scn_cfg__get_packed_size (const Ciot__BleScnCfg *message)
 
size_t ciot__ble_scn_cfg__pack (const Ciot__BleScnCfg *message, uint8_t *out)
 
size_t ciot__ble_scn_cfg__pack_to_buffer (const Ciot__BleScnCfg *message, ProtobufCBuffer *buffer)
 
Ciot__BleScnCfgciot__ble_scn_cfg__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_scn_cfg__free_unpacked (Ciot__BleScnCfg *message, ProtobufCAllocator *allocator)
 
void ciot__ble_scn_adv_info__init (Ciot__BleScnAdvInfo *message)
 
size_t ciot__ble_scn_adv_info__get_packed_size (const Ciot__BleScnAdvInfo *message)
 
size_t ciot__ble_scn_adv_info__pack (const Ciot__BleScnAdvInfo *message, uint8_t *out)
 
size_t ciot__ble_scn_adv_info__pack_to_buffer (const Ciot__BleScnAdvInfo *message, ProtobufCBuffer *buffer)
 
Ciot__BleScnAdvInfociot__ble_scn_adv_info__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_scn_adv_info__free_unpacked (Ciot__BleScnAdvInfo *message, ProtobufCAllocator *allocator)
 
void ciot__ble_scn_status__init (Ciot__BleScnStatus *message)
 
size_t ciot__ble_scn_status__get_packed_size (const Ciot__BleScnStatus *message)
 
size_t ciot__ble_scn_status__pack (const Ciot__BleScnStatus *message, uint8_t *out)
 
size_t ciot__ble_scn_status__pack_to_buffer (const Ciot__BleScnStatus *message, ProtobufCBuffer *buffer)
 
Ciot__BleScnStatusciot__ble_scn_status__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_scn_status__free_unpacked (Ciot__BleScnStatus *message, ProtobufCAllocator *allocator)
 
void ciot__ble_scn_req__init (Ciot__BleScnReq *message)
 
size_t ciot__ble_scn_req__get_packed_size (const Ciot__BleScnReq *message)
 
size_t ciot__ble_scn_req__pack (const Ciot__BleScnReq *message, uint8_t *out)
 
size_t ciot__ble_scn_req__pack_to_buffer (const Ciot__BleScnReq *message, ProtobufCBuffer *buffer)
 
Ciot__BleScnReqciot__ble_scn_req__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_scn_req__free_unpacked (Ciot__BleScnReq *message, ProtobufCAllocator *allocator)
 
void ciot__ble_scn_data__init (Ciot__BleScnData *message)
 
size_t ciot__ble_scn_data__get_packed_size (const Ciot__BleScnData *message)
 
size_t ciot__ble_scn_data__pack (const Ciot__BleScnData *message, uint8_t *out)
 
size_t ciot__ble_scn_data__pack_to_buffer (const Ciot__BleScnData *message, ProtobufCBuffer *buffer)
 
Ciot__BleScnDataciot__ble_scn_data__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ble_scn_data__free_unpacked (Ciot__BleScnData *message, ProtobufCAllocator *allocator)
 
+ + + + + + + + + + + + + + + +

+Variables

const ProtobufCEnumDescriptor ciot__ble_scn_state__descriptor
 
const ProtobufCEnumDescriptor ciot__ble_scn_req_type__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_scn_cfg__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_scn_adv_info__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_scn_status__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_scn_req__descriptor
 
const ProtobufCMessageDescriptor ciot__ble_scn_data__descriptor
 
+

Macro Definition Documentation

+ +

◆ CIOT__BLE_SCN_ADV_INFO__INIT

+ +
+
+ + + + +
#define CIOT__BLE_SCN_ADV_INFO__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ble_scn_adv_info__descriptor) \
+
, {0,NULL}, 0 }
+
const ProtobufCMessageDescriptor ciot__ble_scn_adv_info__descriptor
Definition ble_scn.pb-c.c:361
+
+
+
+ +

◆ CIOT__BLE_SCN_CFG__INIT

+ +
+
+ + + + +
#define CIOT__BLE_SCN_CFG__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ble_scn_cfg__descriptor) \
+
, 0, 0, 0, 0, 0 }
+
const ProtobufCMessageDescriptor ciot__ble_scn_cfg__descriptor
Definition ble_scn.pb-c.c:310
+
+
+
+ +

◆ CIOT__BLE_SCN_DATA__INIT

+ +
+
+ + + + +
#define CIOT__BLE_SCN_DATA__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ble_scn_data__descriptor) \
+
, NULL, NULL, NULL }
+
const ProtobufCMessageDescriptor ciot__ble_scn_data__descriptor
Definition ble_scn.pb-c.c:527
+
+
+
+ +

◆ CIOT__BLE_SCN_REQ__INIT

+ +
+
+ + + + +
#define CIOT__BLE_SCN_REQ__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ble_scn_req__descriptor) \
+ +
const ProtobufCMessageDescriptor ciot__ble_scn_req__descriptor
Definition ble_scn.pb-c.c:463
+
@ CIOT__BLE_SCN_REQ_TYPE__BLE_SCN_REQ_TYPE_UNKOWN
Definition ble_scn.pb-c.h:52
+
+
+
+ +

◆ CIOT__BLE_SCN_STATUS__INIT

+ +
+
+ + + + +
#define CIOT__BLE_SCN_STATUS__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ble_scn_status__descriptor) \
+ +
const ProtobufCMessageDescriptor ciot__ble_scn_status__descriptor
Definition ble_scn.pb-c.c:425
+
@ CIOT__BLE_SCN_STATE__BLE_SCN_STATE_IDLE
Definition ble_scn.pb-c.h:34
+
+
+
+

Typedef Documentation

+ +

◆ Ciot__BleScnAdvInfo

+ +
+
+ + + + +
typedef struct _Ciot__BleScnAdvInfo Ciot__BleScnAdvInfo
+
+ +
+
+ +

◆ Ciot__BleScnAdvInfo_Closure

+ +
+
+ + + + +
typedef void(* Ciot__BleScnAdvInfo_Closure) (const Ciot__BleScnAdvInfo *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__BleScnCfg

+ +
+
+ + + + +
typedef typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__BleScnCfg Ciot__BleScnCfg
+
+ +
+
+ +

◆ Ciot__BleScnCfg_Closure

+ +
+
+ + + + +
typedef void(* Ciot__BleScnCfg_Closure) (const Ciot__BleScnCfg *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__BleScnData

+ +
+
+ + + + +
typedef struct _Ciot__BleScnData Ciot__BleScnData
+
+ +
+
+ +

◆ Ciot__BleScnData_Closure

+ +
+
+ + + + +
typedef void(* Ciot__BleScnData_Closure) (const Ciot__BleScnData *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__BleScnReq

+ +
+
+ + + + +
typedef struct _Ciot__BleScnReq Ciot__BleScnReq
+
+ +
+
+ +

◆ Ciot__BleScnReq_Closure

+ +
+
+ + + + +
typedef void(* Ciot__BleScnReq_Closure) (const Ciot__BleScnReq *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__BleScnReqType

+ +
+
+ + + + +
typedef enum _Ciot__BleScnReqType Ciot__BleScnReqType
+
+ +
+
+ +

◆ Ciot__BleScnState

+ +
+
+ + + + +
typedef enum _Ciot__BleScnState Ciot__BleScnState
+
+ +
+
+ +

◆ Ciot__BleScnStatus

+ +
+
+ + + + +
typedef struct _Ciot__BleScnStatus Ciot__BleScnStatus
+
+ +
+
+ +

◆ Ciot__BleScnStatus_Closure

+ +
+
+ + + + +
typedef void(* Ciot__BleScnStatus_Closure) (const Ciot__BleScnStatus *message, void *closure_data)
+
+ +
+
+

Enumeration Type Documentation

+ +

◆ _Ciot__BleScnReqType

+ +
+
+ + + + +
enum _Ciot__BleScnReqType
+
+ + +
Enumerator
CIOT__BLE_SCN_REQ_TYPE__BLE_SCN_REQ_TYPE_UNKOWN 
+ +
+
+ +

◆ _Ciot__BleScnState

+ +
+
+ + + + +
enum _Ciot__BleScnState
+
+ + + + +
Enumerator
CIOT__BLE_SCN_STATE__BLE_SCN_STATE_IDLE 
CIOT__BLE_SCN_STATE__BLE_SCN_STATE_PASSIVE 
CIOT__BLE_SCN_STATE__BLE_SCN_STATE_ACTIVE 
+ +
+
+

Function Documentation

+ +

◆ ciot__ble_scn_adv_info__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_scn_adv_info__free_unpacked (Ciot__BleScnAdvInfo * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_scn_adv_info__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_scn_adv_info__get_packed_size (const Ciot__BleScnAdvInfo * message)
+
+ +
+
+ +

◆ ciot__ble_scn_adv_info__init()

+ +
+
+ + + + + + + +
void ciot__ble_scn_adv_info__init (Ciot__BleScnAdvInfo * message)
+
+ +
+
+ +

◆ ciot__ble_scn_adv_info__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_adv_info__pack (const Ciot__BleScnAdvInfo * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_scn_adv_info__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_adv_info__pack_to_buffer (const Ciot__BleScnAdvInfo * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_scn_adv_info__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleScnAdvInfo * ciot__ble_scn_adv_info__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_scn_cfg__free_unpacked (Ciot__BleScnCfg * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_scn_cfg__get_packed_size (const Ciot__BleScnCfg * message)
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__init()

+ +
+
+ + + + + + + +
void ciot__ble_scn_cfg__init (Ciot__BleScnCfg * message)
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_cfg__pack (const Ciot__BleScnCfg * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_cfg__pack_to_buffer (const Ciot__BleScnCfg * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleScnCfg * ciot__ble_scn_cfg__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_scn_data__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_scn_data__free_unpacked (Ciot__BleScnData * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_scn_data__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_scn_data__get_packed_size (const Ciot__BleScnData * message)
+
+ +
+
+ +

◆ ciot__ble_scn_data__init()

+ +
+
+ + + + + + + +
void ciot__ble_scn_data__init (Ciot__BleScnData * message)
+
+ +
+
+ +

◆ ciot__ble_scn_data__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_data__pack (const Ciot__BleScnData * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_scn_data__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_data__pack_to_buffer (const Ciot__BleScnData * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_scn_data__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleScnData * ciot__ble_scn_data__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_scn_req__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_scn_req__free_unpacked (Ciot__BleScnReq * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_scn_req__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_scn_req__get_packed_size (const Ciot__BleScnReq * message)
+
+ +
+
+ +

◆ ciot__ble_scn_req__init()

+ +
+
+ + + + + + + +
void ciot__ble_scn_req__init (Ciot__BleScnReq * message)
+
+ +
+
+ +

◆ ciot__ble_scn_req__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_req__pack (const Ciot__BleScnReq * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_scn_req__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_req__pack_to_buffer (const Ciot__BleScnReq * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_scn_req__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleScnReq * ciot__ble_scn_req__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ble_scn_status__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ble_scn_status__free_unpacked (Ciot__BleScnStatus * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ble_scn_status__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ble_scn_status__get_packed_size (const Ciot__BleScnStatus * message)
+
+ +
+
+ +

◆ ciot__ble_scn_status__init()

+ +
+
+ + + + + + + +
void ciot__ble_scn_status__init (Ciot__BleScnStatus * message)
+
+ +
+
+ +

◆ ciot__ble_scn_status__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_status__pack (const Ciot__BleScnStatus * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ble_scn_status__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ble_scn_status__pack_to_buffer (const Ciot__BleScnStatus * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ble_scn_status__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__BleScnStatus * ciot__ble_scn_status__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+

Variable Documentation

+ +

◆ ciot__ble_scn_adv_info__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_scn_adv_info__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_scn_cfg__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_scn_cfg__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_scn_data__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_scn_data__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_scn_req__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_scn_req__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_scn_req_type__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCEnumDescriptor ciot__ble_scn_req_type__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_scn_state__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCEnumDescriptor ciot__ble_scn_state__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ble_scn_status__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ble_scn_status__descriptor
+
+extern
+
+ +
+
+
+
+ + + + diff --git a/docs/ble__scn_8pb-c_8h.js b/docs/ble__scn_8pb-c_8h.js new file mode 100644 index 0000000..eed4a2e --- /dev/null +++ b/docs/ble__scn_8pb-c_8h.js @@ -0,0 +1,70 @@ +var ble__scn_8pb_c_8h = +[ + [ "_Ciot__BleScnCfg", "struct___ciot_____ble_scn_cfg.html", "struct___ciot_____ble_scn_cfg" ], + [ "_Ciot__BleScnAdvInfo", "struct___ciot_____ble_scn_adv_info.html", "struct___ciot_____ble_scn_adv_info" ], + [ "_Ciot__BleScnStatus", "struct___ciot_____ble_scn_status.html", "struct___ciot_____ble_scn_status" ], + [ "_Ciot__BleScnReq", "struct___ciot_____ble_scn_req.html", "struct___ciot_____ble_scn_req" ], + [ "_Ciot__BleScnData", "struct___ciot_____ble_scn_data.html", "struct___ciot_____ble_scn_data" ], + [ "CIOT__BLE_SCN_ADV_INFO__INIT", "ble__scn_8pb-c_8h.html#afdf9d9d637b2f1e663b7923ac356b561", null ], + [ "CIOT__BLE_SCN_CFG__INIT", "ble__scn_8pb-c_8h.html#a8cd00c418627c21b9389faa58d35aef2", null ], + [ "CIOT__BLE_SCN_DATA__INIT", "ble__scn_8pb-c_8h.html#aee496fe54d108b615dc32552718ed815", null ], + [ "CIOT__BLE_SCN_REQ__INIT", "ble__scn_8pb-c_8h.html#aab247ca59ca64f1782d665e43f2ce6b7", null ], + [ "CIOT__BLE_SCN_STATUS__INIT", "ble__scn_8pb-c_8h.html#aac19fc553458cccf4ded112523fa8d22", null ], + [ "Ciot__BleScnAdvInfo", "ble__scn_8pb-c_8h.html#a42a5dcbc7f436cfcc7ea6f8a1e30cab8", null ], + [ "Ciot__BleScnAdvInfo_Closure", "ble__scn_8pb-c_8h.html#a1cff4f6defba8b5c178f89c2d2ab577d", null ], + [ "Ciot__BleScnCfg", "ble__scn_8pb-c_8h.html#a8e37cfbfc07ed92594b0e68de0ed5546", null ], + [ "Ciot__BleScnCfg_Closure", "ble__scn_8pb-c_8h.html#a3673fb14a475e3f09b46bfe25762ecf7", null ], + [ "Ciot__BleScnData", "ble__scn_8pb-c_8h.html#a5ca5d21f2dfe2af3413ca9be1a3bafaa", null ], + [ "Ciot__BleScnData_Closure", "ble__scn_8pb-c_8h.html#a2bc7fe6a2eaa56688c6e4f606b041caf", null ], + [ "Ciot__BleScnReq", "ble__scn_8pb-c_8h.html#a118fbee9e78f7ef2fb7ade1864b82757", null ], + [ "Ciot__BleScnReq_Closure", "ble__scn_8pb-c_8h.html#a1729e78bee649d29b5e40f32855f7333", null ], + [ "Ciot__BleScnReqType", "ble__scn_8pb-c_8h.html#aa2be30c945b1de4504165ddceae934eb", null ], + [ "Ciot__BleScnState", "ble__scn_8pb-c_8h.html#a9684cbc88525d7375bc94835d3580791", null ], + [ "Ciot__BleScnStatus", "ble__scn_8pb-c_8h.html#aa5fbcb38f1cbec5842f30937d88c411b", null ], + [ "Ciot__BleScnStatus_Closure", "ble__scn_8pb-c_8h.html#a7e35b68b2ff81c0d2175b9152a653658", null ], + [ "_Ciot__BleScnReqType", "ble__scn_8pb-c_8h.html#ada5fd1c30aa92ed1fddc59f79880c1e5", [ + [ "CIOT__BLE_SCN_REQ_TYPE__BLE_SCN_REQ_TYPE_UNKOWN", "ble__scn_8pb-c_8h.html#ada5fd1c30aa92ed1fddc59f79880c1e5aaa9523768da917fa7d583d32e5e3f0b3", null ] + ] ], + [ "_Ciot__BleScnState", "ble__scn_8pb-c_8h.html#ad45fe024c3fdff1d676ebc03f9768af0", [ + [ "CIOT__BLE_SCN_STATE__BLE_SCN_STATE_IDLE", "ble__scn_8pb-c_8h.html#ad45fe024c3fdff1d676ebc03f9768af0a7fda73a206f50e869b287e364d85f862", null ], + [ "CIOT__BLE_SCN_STATE__BLE_SCN_STATE_PASSIVE", "ble__scn_8pb-c_8h.html#ad45fe024c3fdff1d676ebc03f9768af0a212d8ee3eeb4c8e004a1e05813a1750f", null ], + [ "CIOT__BLE_SCN_STATE__BLE_SCN_STATE_ACTIVE", "ble__scn_8pb-c_8h.html#ad45fe024c3fdff1d676ebc03f9768af0a94bb88c67073849b9695170239763b4a", null ] + ] ], + [ "ciot__ble_scn_adv_info__free_unpacked", "ble__scn_8pb-c_8h.html#adc10db20b40b8c3c63a0850811ab577d", null ], + [ "ciot__ble_scn_adv_info__get_packed_size", "ble__scn_8pb-c_8h.html#a560b1caa3cd5ddaf681cf423a70a4869", null ], + [ "ciot__ble_scn_adv_info__init", "ble__scn_8pb-c_8h.html#a9976025d623d00d270d917a36a9c02e1", null ], + [ "ciot__ble_scn_adv_info__pack", "ble__scn_8pb-c_8h.html#aa4e35846f705ad3f43e71950e7dcdde9", null ], + [ "ciot__ble_scn_adv_info__pack_to_buffer", "ble__scn_8pb-c_8h.html#a5b5ff813958159c51f67b7986a07da21", null ], + [ "ciot__ble_scn_adv_info__unpack", "ble__scn_8pb-c_8h.html#a9257e159c9e9dbc7b23a1a48c34674cf", null ], + [ "ciot__ble_scn_cfg__free_unpacked", "ble__scn_8pb-c_8h.html#a9a8a61ef67c06d77259c019ea01c51a3", null ], + [ "ciot__ble_scn_cfg__get_packed_size", "ble__scn_8pb-c_8h.html#a8138a4a99d10371460b34b717ba9e89d", null ], + [ "ciot__ble_scn_cfg__init", "ble__scn_8pb-c_8h.html#a413501143cf45ac803fac7f595be22e7", null ], + [ "ciot__ble_scn_cfg__pack", "ble__scn_8pb-c_8h.html#aef4ee7a8583a77a49db403ecff9eefd1", null ], + [ "ciot__ble_scn_cfg__pack_to_buffer", "ble__scn_8pb-c_8h.html#a60c3b7c021773348d950c8071f5cdab9", null ], + [ "ciot__ble_scn_cfg__unpack", "ble__scn_8pb-c_8h.html#ab13caea7c81d0cda0a7bee1555a73d8a", null ], + [ "ciot__ble_scn_data__free_unpacked", "ble__scn_8pb-c_8h.html#a94d223345aeb81146b7374fae3ef5bce", null ], + [ "ciot__ble_scn_data__get_packed_size", "ble__scn_8pb-c_8h.html#a74aebbef928d6d31169f144a49fddcea", null ], + [ "ciot__ble_scn_data__init", "ble__scn_8pb-c_8h.html#a79fa0818726dc9d916fd5923f431001a", null ], + [ "ciot__ble_scn_data__pack", "ble__scn_8pb-c_8h.html#a2531831b5dbc44240157ee2c9ff70e7b", null ], + [ "ciot__ble_scn_data__pack_to_buffer", "ble__scn_8pb-c_8h.html#a56a157272c41296b72add24b610259eb", null ], + [ "ciot__ble_scn_data__unpack", "ble__scn_8pb-c_8h.html#aa091780b13a3a1e1c315e5fe8e035c9b", null ], + [ "ciot__ble_scn_req__free_unpacked", "ble__scn_8pb-c_8h.html#ab890569d28e66305507b3a32c65e4bb4", null ], + [ "ciot__ble_scn_req__get_packed_size", "ble__scn_8pb-c_8h.html#a73e8c30c42ca0f865d2fbbaf46cd2692", null ], + [ "ciot__ble_scn_req__init", "ble__scn_8pb-c_8h.html#a11f512a1e40f0349b09a0f66ff006a66", null ], + [ "ciot__ble_scn_req__pack", "ble__scn_8pb-c_8h.html#ac285b283e14c0fd7136b3fd1f14957b2", null ], + [ "ciot__ble_scn_req__pack_to_buffer", "ble__scn_8pb-c_8h.html#ab7f892c6661f3aa13c191572c125aafe", null ], + [ "ciot__ble_scn_req__unpack", "ble__scn_8pb-c_8h.html#a89a9f4ea53326b1cce99a084576550e2", null ], + [ "ciot__ble_scn_status__free_unpacked", "ble__scn_8pb-c_8h.html#a216cdee72e9bfdd6e4d4189b17c42ee9", null ], + [ "ciot__ble_scn_status__get_packed_size", "ble__scn_8pb-c_8h.html#a9721ded02dc0ad6b46292fbed97631df", null ], + [ "ciot__ble_scn_status__init", "ble__scn_8pb-c_8h.html#abf7c776037d6ece6266e698faeae361e", null ], + [ "ciot__ble_scn_status__pack", "ble__scn_8pb-c_8h.html#abc4aeeee4df45b1a605ddfea4e598c31", null ], + [ "ciot__ble_scn_status__pack_to_buffer", "ble__scn_8pb-c_8h.html#a4c4d3f7547d5fc0254e361dd9ec1e76d", null ], + [ "ciot__ble_scn_status__unpack", "ble__scn_8pb-c_8h.html#a46824b36d6875feccbb27ddc05e4dcef", null ], + [ "ciot__ble_scn_adv_info__descriptor", "ble__scn_8pb-c_8h.html#ac29e88e6ed9f5a662c38457c786d9b75", null ], + [ "ciot__ble_scn_cfg__descriptor", "ble__scn_8pb-c_8h.html#a317032453fbc39e149bd1c428426ad47", null ], + [ "ciot__ble_scn_data__descriptor", "ble__scn_8pb-c_8h.html#aa085ef4331927e30ccb04450534c8840", null ], + [ "ciot__ble_scn_req__descriptor", "ble__scn_8pb-c_8h.html#a2c599dc15e4eb5e32c7c374fe890d45b", null ], + [ "ciot__ble_scn_req_type__descriptor", "ble__scn_8pb-c_8h.html#a2e605fc70346069a46420260e42afc36", null ], + [ "ciot__ble_scn_state__descriptor", "ble__scn_8pb-c_8h.html#a21a686b6740e66c36236b2f34f289489", null ], + [ "ciot__ble_scn_status__descriptor", "ble__scn_8pb-c_8h.html#ad201404c8ccff0fcc8dea7764ac7666a", null ] +]; \ No newline at end of file diff --git a/docs/ble__scn_8pb-c_8h_source.html b/docs/ble__scn_8pb-c_8h_source.html new file mode 100644 index 0000000..3feb351 --- /dev/null +++ b/docs/ble__scn_8pb-c_8h_source.html @@ -0,0 +1,517 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/ble_scn.pb-c.h Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ble_scn.pb-c.h
+
+
+Go to the documentation of this file.
1/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+
2/* Generated from: ciot/proto/v1/ble_scn.proto */
+
3
+
4#ifndef PROTOBUF_C_ciot_2fproto_2fv1_2fble_5fscn_2eproto__INCLUDED
+
5#define PROTOBUF_C_ciot_2fproto_2fv1_2fble_5fscn_2eproto__INCLUDED
+
6
+
7#include <protobuf-c/protobuf-c.h>
+
8
+
9PROTOBUF_C__BEGIN_DECLS
+
10
+
11#if PROTOBUF_C_VERSION_NUMBER < 1003000
+
12# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+
13#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
+
14# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+
15#endif
+
16
+
17
+ + + + + +
23
+
24
+
25/* --- enums --- */
+
26
+
27/*
+
28 * Possible ble scanner states
+
29 */
+
+
30typedef enum _Ciot__BleScnState {
+
31 /*
+
32 * Idle state
+
33 */
+ +
35 /*
+
36 * Passive scan enabled
+
37 */
+ +
39 /*
+
40 * Active scan enabled
+
41 */
+ +
43 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(CIOT__BLE_SCN_STATE)
+ +
+
45/*
+
46 * Ble scanner request types
+
47 */
+
+ +
49 /*
+
50 * Unknown request type
+
51 */
+ +
53 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(CIOT__BLE_SCN_REQ_TYPE)
+ +
+
55
+
56/* --- messages --- */
+
57
+
58/*
+
59 * Ble scanner configuration
+
60 */
+
+ +
62{
+
63 ProtobufCMessage base;
+
64 /*
+
65 * Scanner interval
+
66 */
+
67 uint32_t interval;
+
68 /*
+
69 * Scanner window
+
70 */
+
71 uint32_t window;
+
72 /*
+
73 * Scanner timeout
+
74 */
+
75 uint32_t timeout;
+
76 /*
+
77 * Enable/disable active scan mode
+
78 */
+
79 protobuf_c_boolean active;
+
80 /*
+
81 * Enable/disable bridge. On bridge mode ciot lib dosen't interpret adv
+
82 * messages as an CioT requests and send all of them to the main application
+
83 * as an data message.
+
84 */
+
85 protobuf_c_boolean bridge_mode;
+
86};
+
+
+
87#define CIOT__BLE_SCN_CFG__INIT \
+
88 { PROTOBUF_C_MESSAGE_INIT (&ciot__ble_scn_cfg__descriptor) \
+
89 , 0, 0, 0, 0, 0 }
+
+
90
+
91
+
92/*
+
93 * Ble scanner advertisement information
+
94 */
+
+ +
96{
+
97 ProtobufCMessage base;
+
98 /*
+
99 * Device mac
+
100 */
+
101 ProtobufCBinaryData mac;
+
102 /*
+
103 * Signal strenght
+
104 */
+
105 int32_t rssi;
+
106};
+
+
+
107#define CIOT__BLE_SCN_ADV_INFO__INIT \
+
108 { PROTOBUF_C_MESSAGE_INIT (&ciot__ble_scn_adv_info__descriptor) \
+
109 , {0,NULL}, 0 }
+
+
110
+
111
+
112/*
+
113 * Ble scanner status
+
114 */
+
+ +
116{
+
117 ProtobufCMessage base;
+
118 /*
+
119 * Current state
+
120 */
+ +
122 /*
+
123 * Last advertisement information
+
124 */
+ +
126 /*
+
127 * Current error code
+
128 */
+
129 int32_t err_code;
+
130};
+
+
+
131#define CIOT__BLE_SCN_STATUS__INIT \
+
132 { PROTOBUF_C_MESSAGE_INIT (&ciot__ble_scn_status__descriptor) \
+
133 , CIOT__BLE_SCN_STATE__BLE_SCN_STATE_IDLE, NULL, 0 }
+
+
134
+
135
+
136/*
+
137 * Ble scanner request
+
138 */
+
+ +
140{
+
141 ProtobufCMessage base;
+
142 /*
+
143 * Request type
+
144 */
+ +
146};
+
+
+
147#define CIOT__BLE_SCN_REQ__INIT \
+
148 { PROTOBUF_C_MESSAGE_INIT (&ciot__ble_scn_req__descriptor) \
+
149 , CIOT__BLE_SCN_REQ_TYPE__BLE_SCN_REQ_TYPE_UNKOWN }
+
+
150
+
151
+
152/*
+
153 * Ble scanner data
+
154 */
+
+ +
156{
+
157 ProtobufCMessage base;
+
158 /*
+
159 * Configuration
+
160 */
+ +
162 /*
+
163 * Status
+
164 */
+ +
166 /*
+
167 * Request
+
168 */
+ +
170};
+
+
+
171#define CIOT__BLE_SCN_DATA__INIT \
+
172 { PROTOBUF_C_MESSAGE_INIT (&ciot__ble_scn_data__descriptor) \
+
173 , NULL, NULL, NULL }
+
+
174
+
175
+
176/* Ciot__BleScnCfg methods */
+ +
178 (Ciot__BleScnCfg *message);
+ +
180 (const Ciot__BleScnCfg *message);
+ +
182 (const Ciot__BleScnCfg *message,
+
183 uint8_t *out);
+ +
185 (const Ciot__BleScnCfg *message,
+
186 ProtobufCBuffer *buffer);
+ + +
189 (ProtobufCAllocator *allocator,
+
190 size_t len,
+
191 const uint8_t *data);
+ +
193 (Ciot__BleScnCfg *message,
+
194 ProtobufCAllocator *allocator);
+
195/* Ciot__BleScnAdvInfo methods */
+ +
197 (Ciot__BleScnAdvInfo *message);
+ +
199 (const Ciot__BleScnAdvInfo *message);
+ +
201 (const Ciot__BleScnAdvInfo *message,
+
202 uint8_t *out);
+ +
204 (const Ciot__BleScnAdvInfo *message,
+
205 ProtobufCBuffer *buffer);
+ + +
208 (ProtobufCAllocator *allocator,
+
209 size_t len,
+
210 const uint8_t *data);
+ +
212 (Ciot__BleScnAdvInfo *message,
+
213 ProtobufCAllocator *allocator);
+
214/* Ciot__BleScnStatus methods */
+ +
216 (Ciot__BleScnStatus *message);
+ +
218 (const Ciot__BleScnStatus *message);
+ +
220 (const Ciot__BleScnStatus *message,
+
221 uint8_t *out);
+ +
223 (const Ciot__BleScnStatus *message,
+
224 ProtobufCBuffer *buffer);
+ + +
227 (ProtobufCAllocator *allocator,
+
228 size_t len,
+
229 const uint8_t *data);
+ +
231 (Ciot__BleScnStatus *message,
+
232 ProtobufCAllocator *allocator);
+
233/* Ciot__BleScnReq methods */
+ +
235 (Ciot__BleScnReq *message);
+ +
237 (const Ciot__BleScnReq *message);
+ +
239 (const Ciot__BleScnReq *message,
+
240 uint8_t *out);
+ +
242 (const Ciot__BleScnReq *message,
+
243 ProtobufCBuffer *buffer);
+ + +
246 (ProtobufCAllocator *allocator,
+
247 size_t len,
+
248 const uint8_t *data);
+ +
250 (Ciot__BleScnReq *message,
+
251 ProtobufCAllocator *allocator);
+
252/* Ciot__BleScnData methods */
+ +
254 (Ciot__BleScnData *message);
+ +
256 (const Ciot__BleScnData *message);
+ +
258 (const Ciot__BleScnData *message,
+
259 uint8_t *out);
+ +
261 (const Ciot__BleScnData *message,
+
262 ProtobufCBuffer *buffer);
+ + +
265 (ProtobufCAllocator *allocator,
+
266 size_t len,
+
267 const uint8_t *data);
+ +
269 (Ciot__BleScnData *message,
+
270 ProtobufCAllocator *allocator);
+
271/* --- per-message closures --- */
+
272
+ +
274 (const Ciot__BleScnCfg *message,
+
275 void *closure_data);
+ +
277 (const Ciot__BleScnAdvInfo *message,
+
278 void *closure_data);
+ +
280 (const Ciot__BleScnStatus *message,
+
281 void *closure_data);
+ +
283 (const Ciot__BleScnReq *message,
+
284 void *closure_data);
+ +
286 (const Ciot__BleScnData *message,
+
287 void *closure_data);
+
288
+
289/* --- services --- */
+
290
+
291
+
292/* --- descriptors --- */
+
293
+
294extern const ProtobufCEnumDescriptor ciot__ble_scn_state__descriptor;
+
295extern const ProtobufCEnumDescriptor ciot__ble_scn_req_type__descriptor;
+
296extern const ProtobufCMessageDescriptor ciot__ble_scn_cfg__descriptor;
+
297extern const ProtobufCMessageDescriptor ciot__ble_scn_adv_info__descriptor;
+
298extern const ProtobufCMessageDescriptor ciot__ble_scn_status__descriptor;
+
299extern const ProtobufCMessageDescriptor ciot__ble_scn_req__descriptor;
+
300extern const ProtobufCMessageDescriptor ciot__ble_scn_data__descriptor;
+
301
+
302PROTOBUF_C__END_DECLS
+
303
+
304
+
305#endif /* PROTOBUF_C_ciot_2fproto_2fv1_2fble_5fscn_2eproto__INCLUDED */
+
void ciot__ble_scn_req__init(Ciot__BleScnReq *message)
Definition ble_scn.pb-c.c:146
+
void(* Ciot__BleScnReq_Closure)(const Ciot__BleScnReq *message, void *closure_data)
Definition ble_scn.pb-c.h:283
+
void(* Ciot__BleScnAdvInfo_Closure)(const Ciot__BleScnAdvInfo *message, void *closure_data)
Definition ble_scn.pb-c.h:277
+
void ciot__ble_scn_status__free_unpacked(Ciot__BleScnStatus *message, ProtobufCAllocator *allocator)
Definition ble_scn.pb-c.c:137
+
const ProtobufCEnumDescriptor ciot__ble_scn_state__descriptor
Definition ble_scn.pb-c.c:557
+
size_t ciot__ble_scn_data__pack(const Ciot__BleScnData *message, uint8_t *out)
Definition ble_scn.pb-c.c:203
+
void(* Ciot__BleScnData_Closure)(const Ciot__BleScnData *message, void *closure_data)
Definition ble_scn.pb-c.h:286
+
const ProtobufCMessageDescriptor ciot__ble_scn_req__descriptor
Definition ble_scn.pb-c.c:463
+
const ProtobufCEnumDescriptor ciot__ble_scn_req_type__descriptor
Definition ble_scn.pb-c.c:583
+
const ProtobufCMessageDescriptor ciot__ble_scn_cfg__descriptor
Definition ble_scn.pb-c.c:310
+
void(* Ciot__BleScnCfg_Closure)(const Ciot__BleScnCfg *message, void *closure_data)
Definition ble_scn.pb-c.h:274
+
void ciot__ble_scn_cfg__init(Ciot__BleScnCfg *message)
Definition ble_scn.pb-c.c:11
+
Ciot__BleScnStatus * ciot__ble_scn_status__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ble_scn.pb-c.c:128
+
size_t ciot__ble_scn_status__pack_to_buffer(const Ciot__BleScnStatus *message, ProtobufCBuffer *buffer)
Definition ble_scn.pb-c.c:120
+
size_t ciot__ble_scn_adv_info__get_packed_size(const Ciot__BleScnAdvInfo *message)
Definition ble_scn.pb-c.c:62
+
size_t ciot__ble_scn_data__pack_to_buffer(const Ciot__BleScnData *message, ProtobufCBuffer *buffer)
Definition ble_scn.pb-c.c:210
+
size_t ciot__ble_scn_adv_info__pack_to_buffer(const Ciot__BleScnAdvInfo *message, ProtobufCBuffer *buffer)
Definition ble_scn.pb-c.c:75
+
size_t ciot__ble_scn_cfg__pack_to_buffer(const Ciot__BleScnCfg *message, ProtobufCBuffer *buffer)
Definition ble_scn.pb-c.c:30
+
size_t ciot__ble_scn_req__get_packed_size(const Ciot__BleScnReq *message)
Definition ble_scn.pb-c.c:152
+
size_t ciot__ble_scn_data__get_packed_size(const Ciot__BleScnData *message)
Definition ble_scn.pb-c.c:197
+
void ciot__ble_scn_data__init(Ciot__BleScnData *message)
Definition ble_scn.pb-c.c:191
+
void(* Ciot__BleScnStatus_Closure)(const Ciot__BleScnStatus *message, void *closure_data)
Definition ble_scn.pb-c.h:280
+
size_t ciot__ble_scn_cfg__get_packed_size(const Ciot__BleScnCfg *message)
Definition ble_scn.pb-c.c:17
+
Ciot__BleScnReq * ciot__ble_scn_req__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ble_scn.pb-c.c:173
+
typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__BleScnCfg Ciot__BleScnCfg
Definition ble_scn.pb-c.h:18
+
Ciot__BleScnAdvInfo * ciot__ble_scn_adv_info__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ble_scn.pb-c.c:83
+
void ciot__ble_scn_data__free_unpacked(Ciot__BleScnData *message, ProtobufCAllocator *allocator)
Definition ble_scn.pb-c.c:227
+
enum _Ciot__BleScnState Ciot__BleScnState
+
size_t ciot__ble_scn_status__get_packed_size(const Ciot__BleScnStatus *message)
Definition ble_scn.pb-c.c:107
+
void ciot__ble_scn_adv_info__init(Ciot__BleScnAdvInfo *message)
Definition ble_scn.pb-c.c:56
+
void ciot__ble_scn_cfg__free_unpacked(Ciot__BleScnCfg *message, ProtobufCAllocator *allocator)
Definition ble_scn.pb-c.c:47
+
const ProtobufCMessageDescriptor ciot__ble_scn_data__descriptor
Definition ble_scn.pb-c.c:527
+
Ciot__BleScnData * ciot__ble_scn_data__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ble_scn.pb-c.c:218
+
enum _Ciot__BleScnReqType Ciot__BleScnReqType
+
size_t ciot__ble_scn_adv_info__pack(const Ciot__BleScnAdvInfo *message, uint8_t *out)
Definition ble_scn.pb-c.c:68
+
Ciot__BleScnCfg * ciot__ble_scn_cfg__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ble_scn.pb-c.c:38
+
size_t ciot__ble_scn_req__pack_to_buffer(const Ciot__BleScnReq *message, ProtobufCBuffer *buffer)
Definition ble_scn.pb-c.c:165
+
void ciot__ble_scn_req__free_unpacked(Ciot__BleScnReq *message, ProtobufCAllocator *allocator)
Definition ble_scn.pb-c.c:182
+
size_t ciot__ble_scn_status__pack(const Ciot__BleScnStatus *message, uint8_t *out)
Definition ble_scn.pb-c.c:113
+
void ciot__ble_scn_status__init(Ciot__BleScnStatus *message)
Definition ble_scn.pb-c.c:101
+
size_t ciot__ble_scn_req__pack(const Ciot__BleScnReq *message, uint8_t *out)
Definition ble_scn.pb-c.c:158
+
const ProtobufCMessageDescriptor ciot__ble_scn_adv_info__descriptor
Definition ble_scn.pb-c.c:361
+
const ProtobufCMessageDescriptor ciot__ble_scn_status__descriptor
Definition ble_scn.pb-c.c:425
+
_Ciot__BleScnState
Definition ble_scn.pb-c.h:30
+
@ CIOT__BLE_SCN_STATE__BLE_SCN_STATE_PASSIVE
Definition ble_scn.pb-c.h:38
+
@ CIOT__BLE_SCN_STATE__BLE_SCN_STATE_IDLE
Definition ble_scn.pb-c.h:34
+
@ CIOT__BLE_SCN_STATE__BLE_SCN_STATE_ACTIVE
Definition ble_scn.pb-c.h:42
+
_Ciot__BleScnReqType
Definition ble_scn.pb-c.h:48
+
@ CIOT__BLE_SCN_REQ_TYPE__BLE_SCN_REQ_TYPE_UNKOWN
Definition ble_scn.pb-c.h:52
+
void ciot__ble_scn_adv_info__free_unpacked(Ciot__BleScnAdvInfo *message, ProtobufCAllocator *allocator)
Definition ble_scn.pb-c.c:92
+
size_t ciot__ble_scn_cfg__pack(const Ciot__BleScnCfg *message, uint8_t *out)
Definition ble_scn.pb-c.c:23
+
Definition ble_scn.pb-c.h:96
+
int32_t rssi
Definition ble_scn.pb-c.h:105
+
ProtobufCMessage base
Definition ble_scn.pb-c.h:97
+
ProtobufCBinaryData mac
Definition ble_scn.pb-c.h:101
+
Definition ble_scn.pb-c.h:62
+
ProtobufCMessage base
Definition ble_scn.pb-c.h:63
+
uint32_t window
Definition ble_scn.pb-c.h:71
+
protobuf_c_boolean bridge_mode
Definition ble_scn.pb-c.h:85
+
protobuf_c_boolean active
Definition ble_scn.pb-c.h:79
+
uint32_t timeout
Definition ble_scn.pb-c.h:75
+
uint32_t interval
Definition ble_scn.pb-c.h:67
+
Definition ble_scn.pb-c.h:156
+
Ciot__BleScnCfg * config
Definition ble_scn.pb-c.h:161
+
Ciot__BleScnReq * request
Definition ble_scn.pb-c.h:169
+
ProtobufCMessage base
Definition ble_scn.pb-c.h:157
+
Ciot__BleScnStatus * status
Definition ble_scn.pb-c.h:165
+
Definition ble_scn.pb-c.h:140
+
Ciot__BleScnReqType type
Definition ble_scn.pb-c.h:145
+
ProtobufCMessage base
Definition ble_scn.pb-c.h:141
+
Definition ble_scn.pb-c.h:116
+
Ciot__BleScnState state
Definition ble_scn.pb-c.h:121
+
ProtobufCMessage base
Definition ble_scn.pb-c.h:117
+
Ciot__BleScnAdvInfo * adv_info
Definition ble_scn.pb-c.h:125
+
int32_t err_code
Definition ble_scn.pb-c.h:129
+
+
+ + + + diff --git a/docs/ciot_8h.html b/docs/ciot_8h.html index c99af54..8ea7654 100644 --- a/docs/ciot_8h.html +++ b/docs/ciot_8h.html @@ -97,9 +97,12 @@ Macros | Typedefs | Functions -
ciot.h File Reference
+
ciot.h File Reference
+ +

Header file for the CIOT core instance. +More...

#include "ciot_err.h"
#include "ciot_iface.h"
#include "ciot_storage.h"
@@ -116,6 +119,7 @@

Macros

#define CIOT_IFACE_CFG_FILENAME   "cfg%d.dat" + Default iface config filename. d will be replaced by iface id.
  #define CIOT_HANDLE   NULL   @@ -156,7 +160,14 @@  Perform the CIOT network task.
  -

Macro Definition Documentation

+

Detailed Description

+

Header file for the CIOT core instance.

+

An CIoT instance can be used to manager other interfaces. All interfaces added to an CIoT instance can interact with each other. The CIoT instance is responsible for intercept the requests messages sended by an sender interface, and redirect it to another target interface. In addition, the requests results are also intercepted and sent as a response to the interface that sent the request.

+
Version
0.1
+
Date
2023-10-10
+
Author
Your Name
+ +

Macro Definition Documentation

◆ CIOT_HANDLE

@@ -183,6 +194,8 @@

+

Default iface config filename. d will be replaced by iface id.

+

Typedef Documentation

diff --git a/docs/ciot_8h_source.html b/docs/ciot_8h_source.html index 69683c8..1a0f842 100644 --- a/docs/ciot_8h_source.html +++ b/docs/ciot_8h_source.html @@ -101,80 +101,80 @@
Go to the documentation of this file.
1
-
11#ifndef __CIOT__H__
-
12#define __CIOT__H__
-
13
-
14#ifdef __cplusplus
-
15extern "C" {
-
16#endif
-
17
-
18#include "ciot_err.h"
-
19#include "ciot_iface.h"
-
20#include "ciot_storage.h"
-
21#include "ciot_bridge.h"
+
16#ifndef __CIOT__H__
+
17#define __CIOT__H__
+
18
+
19#ifdef __cplusplus
+
20extern "C" {
+
21#endif
22
-
23#define CIOT_IFACE_CFG_FILENAME "cfg%d.dat"
-
24
-
25#ifdef CIOT_TARGET_MONGOOSE
-
26
-
27extern struct mg_mgr mg;
-
28
-
29#define CIOT_HANDLE &mg
-
30
-
31#else
-
32
-
33#define CIOT_HANDLE NULL
-
34
-
35#endif
-
36
-
37#ifdef CIOT_TARGET_NRF
-
38
-
39#define app_main main
-
40
-
41#endif
-
42
-
43#ifdef CIOT_TARGET_ARDUINO
-
44
-
45#define app_main setup
-
46
-
47#endif //CIOT_TARGET_ARDUINO
-
48
-
49typedef struct ciot *ciot_t;
-
50
-
-
55typedef struct ciot_cfg
-
56{
- -
58 void **cfgs;
-
59 uint8_t count;
- +
23#include "ciot_err.h"
+
24#include "ciot_iface.h"
+
25#include "ciot_storage.h"
+
26#include "ciot_bridge.h"
+
27
+
28#define CIOT_IFACE_CFG_FILENAME "cfg%d.dat"
+
29
+
30#ifdef CIOT_TARGET_MONGOOSE
+
31
+
32extern struct mg_mgr mg;
+
33
+
34#define CIOT_HANDLE &mg
+
35
+
36#else
+
37
+
38#define CIOT_HANDLE NULL
+
39
+
40#endif
+
41
+
42#ifdef CIOT_TARGET_NRF
+
43
+
44#define app_main main
+
45
+
46#endif
+
47
+
48#ifdef CIOT_TARGET_ARDUINO
+
49
+
50#define app_main setup
+
51
+
52#endif //CIOT_TARGET_ARDUINO
+
53
+
54typedef struct ciot *ciot_t;
+
55
+
+
60typedef struct ciot_cfg
+
61{
+ +
63 void **cfgs;
+
64 uint8_t count;
+
-
61
- -
68
- -
77
- -
86
-
95ciot_err_t ciot_register_event(ciot_t self, ciot_iface_event_handler_t event_handler, void *event_args);
-
96
- -
108
-
116ciot_err_t ciot_save_iface_cfg(ciot_t self, uint8_t iface_id);
-
117
- -
126
- -
134
-
135#ifdef __cplusplus
-
136}
-
137#endif
-
138
-
139#endif
+
66
+ +
73
+ +
82
+ +
91
+ +
101
+ +
113
+
121ciot_err_t ciot_save_iface_cfg(ciot_t self, uint8_t iface_id);
+
122
+ +
131
+ +
139
+
140#ifdef __cplusplus
+
141}
+
142#endif
+
143
+
144#endif
ciot_err_t ciot_task(ciot_t self)
Perform the CIOT network task.
ciot_err_t ciot_delete_iface_cfg(ciot_t self, uint8_t iface_id)
Delete the configuration of a specific interface in CIOT network.
ciot_err_t ciot_register_event(ciot_t self, ciot_iface_event_handler_t event_handler, void *event_args)
Register an event handler for CIOT network events.
-
struct ciot * ciot_t
CIOT network handle.
Definition ciot.h:49
+
struct ciot * ciot_t
CIOT network handle.
Definition ciot.h:54
ciot_err_t ciot_start(ciot_t self, ciot_cfg_t *cfg)
Start the CIOT network module.
ciot_err_t ciot_save_iface_cfg(ciot_t self, uint8_t iface_id)
Save the configuration of a specific interface in CIOT network.
ciot_err_t ciot_set_storage(ciot_t self, ciot_storage_t storage)
Set the storage for CIOT network data.
@@ -188,13 +188,13 @@
ciot_err_t ciot_iface_event_handler_t(ciot_iface_t *sender, ciot_iface_event_t *event, void *args)
Function pointer for handling interface events.
Definition ciot_iface.h:126
Header file for CIOT Storage module.
struct ciot_storage * ciot_storage_t
CIOT Storage instance pointer.
Definition ciot_storage.h:25
-
CIOT configuration structure.
Definition ciot.h:56
-
uint8_t count
Number of interfaces.
Definition ciot.h:59
-
void ** cfgs
Array of configurations for the interfaces.
Definition ciot.h:58
-
ciot_iface_t ** ifaces
Array of CIOT interfaces.
Definition ciot.h:57
+
CIOT configuration structure.
Definition ciot.h:61
+
uint8_t count
Number of interfaces.
Definition ciot.h:64
+
void ** cfgs
Array of configurations for the interfaces.
Definition ciot.h:63
+
ciot_iface_t ** ifaces
Array of CIOT interfaces.
Definition ciot.h:62
Structure representing a CIOT interface.
Definition ciot_iface.h:131
Structure for CIOT message interface information.
Definition ciot_msg_types.h:89
-
Structure for CIOT message.
Definition ciot_msg_types.h:142
+
Structure for CIOT message.
Definition ciot_msg_types.h:143
diff --git a/docs/ciot_8pb-c_8c.html b/docs/ciot_8pb-c_8c.html new file mode 100644 index 0000000..1538987 --- /dev/null +++ b/docs/ciot_8pb-c_8c.html @@ -0,0 +1,1294 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/ciot.pb-c.c File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
ciot.pb-c.c File Reference
+
+
+ + + + + + + + + + +

+Macros

#define PROTOBUF_C__NO_DEPRECATED
 
#define ciot__ciot_cfg__field_descriptors   NULL
 
#define ciot__ciot_cfg__field_indices_by_name   NULL
 
#define ciot__ciot_cfg__number_ranges   NULL
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void ciot__ciot_cfg__init (Ciot__CiotCfg *message)
 
size_t ciot__ciot_cfg__get_packed_size (const Ciot__CiotCfg *message)
 
size_t ciot__ciot_cfg__pack (const Ciot__CiotCfg *message, uint8_t *out)
 
size_t ciot__ciot_cfg__pack_to_buffer (const Ciot__CiotCfg *message, ProtobufCBuffer *buffer)
 
Ciot__CiotCfgciot__ciot_cfg__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_cfg__free_unpacked (Ciot__CiotCfg *message, ProtobufCAllocator *allocator)
 
void ciot__ciot_info__init (Ciot__CiotInfo *message)
 
size_t ciot__ciot_info__get_packed_size (const Ciot__CiotInfo *message)
 
size_t ciot__ciot_info__pack (const Ciot__CiotInfo *message, uint8_t *out)
 
size_t ciot__ciot_info__pack_to_buffer (const Ciot__CiotInfo *message, ProtobufCBuffer *buffer)
 
Ciot__CiotInfociot__ciot_info__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_info__free_unpacked (Ciot__CiotInfo *message, ProtobufCAllocator *allocator)
 
void ciot__ciot_status__init (Ciot__CiotStatus *message)
 
size_t ciot__ciot_status__get_packed_size (const Ciot__CiotStatus *message)
 
size_t ciot__ciot_status__pack (const Ciot__CiotStatus *message, uint8_t *out)
 
size_t ciot__ciot_status__pack_to_buffer (const Ciot__CiotStatus *message, ProtobufCBuffer *buffer)
 
Ciot__CiotStatusciot__ciot_status__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_status__free_unpacked (Ciot__CiotStatus *message, ProtobufCAllocator *allocator)
 
void ciot__ciot_req_data__init (Ciot__CiotReqData *message)
 
size_t ciot__ciot_req_data__get_packed_size (const Ciot__CiotReqData *message)
 
size_t ciot__ciot_req_data__pack (const Ciot__CiotReqData *message, uint8_t *out)
 
size_t ciot__ciot_req_data__pack_to_buffer (const Ciot__CiotReqData *message, ProtobufCBuffer *buffer)
 
Ciot__CiotReqDataciot__ciot_req_data__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_req_data__free_unpacked (Ciot__CiotReqData *message, ProtobufCAllocator *allocator)
 
void ciot__ciot_req__init (Ciot__CiotReq *message)
 
size_t ciot__ciot_req__get_packed_size (const Ciot__CiotReq *message)
 
size_t ciot__ciot_req__pack (const Ciot__CiotReq *message, uint8_t *out)
 
size_t ciot__ciot_req__pack_to_buffer (const Ciot__CiotReq *message, ProtobufCBuffer *buffer)
 
Ciot__CiotReqciot__ciot_req__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_req__free_unpacked (Ciot__CiotReq *message, ProtobufCAllocator *allocator)
 
void ciot__ciot_data__init (Ciot__CiotData *message)
 
size_t ciot__ciot_data__get_packed_size (const Ciot__CiotData *message)
 
size_t ciot__ciot_data__pack (const Ciot__CiotData *message, uint8_t *out)
 
size_t ciot__ciot_data__pack_to_buffer (const Ciot__CiotData *message, ProtobufCBuffer *buffer)
 
Ciot__CiotDataciot__ciot_data__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_data__free_unpacked (Ciot__CiotData *message, ProtobufCAllocator *allocator)
 
+ + + + + + + + + + + + + + + + + + + +

+Variables

const ProtobufCMessageDescriptor ciot__ciot_cfg__descriptor
 
const ProtobufCMessageDescriptor ciot__ciot_info__descriptor
 
const ProtobufCMessageDescriptor ciot__ciot_status__descriptor
 
const ProtobufCMessageDescriptor ciot__ciot_req_data__descriptor
 
const ProtobufCMessageDescriptor ciot__ciot_req__descriptor
 
const ProtobufCMessageDescriptor ciot__ciot_data__descriptor
 
const ProtobufCEnumDescriptor ciot__ciot_state__descriptor
 
const ProtobufCEnumDescriptor ciot__ciot_req_type__descriptor
 
const ProtobufCEnumDescriptor ciot__ciot_serialization_type__descriptor
 
+

Macro Definition Documentation

+ +

◆ ciot__ciot_cfg__field_descriptors

+ +
+
+ + + + +
#define ciot__ciot_cfg__field_descriptors   NULL
+
+ +
+
+ +

◆ ciot__ciot_cfg__field_indices_by_name

+ +
+
+ + + + +
#define ciot__ciot_cfg__field_indices_by_name   NULL
+
+ +
+
+ +

◆ ciot__ciot_cfg__number_ranges

+ +
+
+ + + + +
#define ciot__ciot_cfg__number_ranges   NULL
+
+ +
+
+ +

◆ PROTOBUF_C__NO_DEPRECATED

+ +
+
+ + + + +
#define PROTOBUF_C__NO_DEPRECATED
+
+ +
+
+

Function Documentation

+ +

◆ ciot__ciot_cfg__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_cfg__free_unpacked (Ciot__CiotCfg * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_cfg__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_cfg__get_packed_size (const Ciot__CiotCfg * message)
+
+ +
+
+ +

◆ ciot__ciot_cfg__init()

+ +
+
+ + + + + + + +
void ciot__ciot_cfg__init (Ciot__CiotCfg * message)
+
+ +
+
+ +

◆ ciot__ciot_cfg__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_cfg__pack (const Ciot__CiotCfg * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_cfg__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_cfg__pack_to_buffer (const Ciot__CiotCfg * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_cfg__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotCfg * ciot__ciot_cfg__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ciot_data__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_data__free_unpacked (Ciot__CiotData * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_data__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_data__get_packed_size (const Ciot__CiotData * message)
+
+ +
+
+ +

◆ ciot__ciot_data__init()

+ +
+
+ + + + + + + +
void ciot__ciot_data__init (Ciot__CiotData * message)
+
+ +
+
+ +

◆ ciot__ciot_data__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_data__pack (const Ciot__CiotData * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_data__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_data__pack_to_buffer (const Ciot__CiotData * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_data__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotData * ciot__ciot_data__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ciot_info__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_info__free_unpacked (Ciot__CiotInfo * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_info__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_info__get_packed_size (const Ciot__CiotInfo * message)
+
+ +
+
+ +

◆ ciot__ciot_info__init()

+ +
+
+ + + + + + + +
void ciot__ciot_info__init (Ciot__CiotInfo * message)
+
+ +
+
+ +

◆ ciot__ciot_info__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_info__pack (const Ciot__CiotInfo * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_info__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_info__pack_to_buffer (const Ciot__CiotInfo * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_info__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotInfo * ciot__ciot_info__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ciot_req__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_req__free_unpacked (Ciot__CiotReq * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_req__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_req__get_packed_size (const Ciot__CiotReq * message)
+
+ +
+
+ +

◆ ciot__ciot_req__init()

+ +
+
+ + + + + + + +
void ciot__ciot_req__init (Ciot__CiotReq * message)
+
+ +
+
+ +

◆ ciot__ciot_req__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_req__pack (const Ciot__CiotReq * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_req__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_req__pack_to_buffer (const Ciot__CiotReq * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_req__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotReq * ciot__ciot_req__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ciot_req_data__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_req_data__free_unpacked (Ciot__CiotReqData * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_req_data__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_req_data__get_packed_size (const Ciot__CiotReqData * message)
+
+ +
+
+ +

◆ ciot__ciot_req_data__init()

+ +
+
+ + + + + + + +
void ciot__ciot_req_data__init (Ciot__CiotReqData * message)
+
+ +
+
+ +

◆ ciot__ciot_req_data__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_req_data__pack (const Ciot__CiotReqData * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_req_data__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_req_data__pack_to_buffer (const Ciot__CiotReqData * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_req_data__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotReqData * ciot__ciot_req_data__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ciot_status__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_status__free_unpacked (Ciot__CiotStatus * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_status__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_status__get_packed_size (const Ciot__CiotStatus * message)
+
+ +
+
+ +

◆ ciot__ciot_status__init()

+ +
+
+ + + + + + + +
void ciot__ciot_status__init (Ciot__CiotStatus * message)
+
+ +
+
+ +

◆ ciot__ciot_status__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_status__pack (const Ciot__CiotStatus * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_status__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_status__pack_to_buffer (const Ciot__CiotStatus * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_status__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotStatus * ciot__ciot_status__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+

Variable Documentation

+ +

◆ ciot__ciot_cfg__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_cfg__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.CiotCfg",
+
"CiotCfg",
+
"Ciot__CiotCfg",
+
"Ciot",
+
sizeof(Ciot__CiotCfg),
+
0,
+ + + +
(ProtobufCMessageInit) ciot__ciot_cfg__init,
+
NULL,NULL,NULL
+
}
+
#define ciot__ciot_cfg__field_indices_by_name
Definition ciot.pb-c.c:281
+
void ciot__ciot_cfg__init(Ciot__CiotCfg *message)
Definition ciot.pb-c.c:11
+
#define ciot__ciot_cfg__number_ranges
Definition ciot.pb-c.c:282
+
#define ciot__ciot_cfg__field_descriptors
Definition ciot.pb-c.c:280
+
typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__CiotCfg Ciot__CiotCfg
Definition ciot.pb-c.h:18
+
+
+
+ +

◆ ciot__ciot_data__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_data__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.CiotData",
+
"CiotData",
+
"Ciot__CiotData",
+
"Ciot",
+
sizeof(Ciot__CiotData),
+
3,
+
ciot__ciot_data__field_descriptors,
+
ciot__ciot_data__field_indices_by_name,
+
1, ciot__ciot_data__number_ranges,
+
(ProtobufCMessageInit) ciot__ciot_data__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ciot_data__init(Ciot__CiotData *message)
Definition ciot.pb-c.c:236
+
struct _Ciot__CiotData Ciot__CiotData
Definition ciot.pb-c.h:23
+
+
+
+ +

◆ ciot__ciot_info__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_info__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.CiotInfo",
+
"CiotInfo",
+
"Ciot__CiotInfo",
+
"Ciot",
+
sizeof(Ciot__CiotInfo),
+
1,
+
ciot__ciot_info__field_descriptors,
+
ciot__ciot_info__field_indices_by_name,
+
1, ciot__ciot_info__number_ranges,
+
(ProtobufCMessageInit) ciot__ciot_info__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ciot_info__init(Ciot__CiotInfo *message)
Definition ciot.pb-c.c:56
+
struct _Ciot__CiotInfo Ciot__CiotInfo
Definition ciot.pb-c.h:19
+
+
+
+ +

◆ ciot__ciot_req__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_req__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.CiotReq",
+
"CiotReq",
+
"Ciot__CiotReq",
+
"Ciot",
+
sizeof(Ciot__CiotReq),
+
2,
+
ciot__ciot_req__field_descriptors,
+
ciot__ciot_req__field_indices_by_name,
+
1, ciot__ciot_req__number_ranges,
+
(ProtobufCMessageInit) ciot__ciot_req__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ciot_req__init(Ciot__CiotReq *message)
Definition ciot.pb-c.c:191
+
struct _Ciot__CiotReq Ciot__CiotReq
Definition ciot.pb-c.h:22
+
+
+
+ +

◆ ciot__ciot_req_data__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_req_data__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.CiotReqData",
+
"CiotReqData",
+
"Ciot__CiotReqData",
+
"Ciot",
+ +
2,
+
ciot__ciot_req_data__field_descriptors,
+
ciot__ciot_req_data__field_indices_by_name,
+
1, ciot__ciot_req_data__number_ranges,
+
(ProtobufCMessageInit) ciot__ciot_req_data__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ciot_req_data__init(Ciot__CiotReqData *message)
Definition ciot.pb-c.c:146
+
struct _Ciot__CiotReqData Ciot__CiotReqData
Definition ciot.pb-c.h:21
+
+
+
+ +

◆ ciot__ciot_req_type__descriptor

+ +
+
+ + + + +
const ProtobufCEnumDescriptor ciot__ciot_req_type__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+
"Ciot.CiotReqType",
+
"CiotReqType",
+
"Ciot__CiotReqType",
+
"Ciot",
+
4,
+
ciot__ciot_req_type__enum_values_by_number,
+
4,
+
ciot__ciot_req_type__enum_values_by_name,
+
1,
+
ciot__ciot_req_type__value_ranges,
+
NULL,NULL,NULL,NULL
+
}
+
+
+
+ +

◆ ciot__ciot_serialization_type__descriptor

+ +
+
+ + + + +
const ProtobufCEnumDescriptor ciot__ciot_serialization_type__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+
"Ciot.CiotSerializationType",
+
"CiotSerializationType",
+
"Ciot__CiotSerializationType",
+
"Ciot",
+
2,
+
ciot__ciot_serialization_type__enum_values_by_number,
+
2,
+
ciot__ciot_serialization_type__enum_values_by_name,
+
1,
+
ciot__ciot_serialization_type__value_ranges,
+
NULL,NULL,NULL,NULL
+
}
+
+
+
+ +

◆ ciot__ciot_state__descriptor

+ +
+
+ + + + +
const ProtobufCEnumDescriptor ciot__ciot_state__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+
"Ciot.CiotState",
+
"CiotState",
+
"Ciot__CiotState",
+
"Ciot",
+
3,
+
ciot__ciot_state__enum_values_by_number,
+
3,
+
ciot__ciot_state__enum_values_by_name,
+
1,
+
ciot__ciot_state__value_ranges,
+
NULL,NULL,NULL,NULL
+
}
+
+
+
+ +

◆ ciot__ciot_status__descriptor

+ +
+
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_status__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+
"Ciot.CiotStatus",
+
"CiotStatus",
+
"Ciot__CiotStatus",
+
"Ciot",
+ +
2,
+
ciot__ciot_status__field_descriptors,
+
ciot__ciot_status__field_indices_by_name,
+
2, ciot__ciot_status__number_ranges,
+
(ProtobufCMessageInit) ciot__ciot_status__init,
+
NULL,NULL,NULL
+
}
+
void ciot__ciot_status__init(Ciot__CiotStatus *message)
Definition ciot.pb-c.c:101
+
struct _Ciot__CiotStatus Ciot__CiotStatus
Definition ciot.pb-c.h:20
+
+
+
+
+
+ + + + diff --git a/docs/ciot_8pb-c_8c.js b/docs/ciot_8pb-c_8c.js new file mode 100644 index 0000000..a0d20ca --- /dev/null +++ b/docs/ciot_8pb-c_8c.js @@ -0,0 +1,52 @@ +var ciot_8pb_c_8c = +[ + [ "ciot__ciot_cfg__field_descriptors", "ciot_8pb-c_8c.html#aeb2763aa10da51b17d7ae6fddd79fac8", null ], + [ "ciot__ciot_cfg__field_indices_by_name", "ciot_8pb-c_8c.html#a0eefab2ba092c44b4a6dfddbc81483d0", null ], + [ "ciot__ciot_cfg__number_ranges", "ciot_8pb-c_8c.html#addd9dd2efb6174c1ccb0cc952d7c2f77", null ], + [ "PROTOBUF_C__NO_DEPRECATED", "ciot_8pb-c_8c.html#ad9480935c25b5155174487b631af52f5", null ], + [ "ciot__ciot_cfg__free_unpacked", "ciot_8pb-c_8c.html#aa91e767436676a6e235368d29f58f118", null ], + [ "ciot__ciot_cfg__get_packed_size", "ciot_8pb-c_8c.html#aeb222d9dc5e3f8f8c499be2b893cb3b6", null ], + [ "ciot__ciot_cfg__init", "ciot_8pb-c_8c.html#a74cc2a6afce468ba06619c2e7924b9bc", null ], + [ "ciot__ciot_cfg__pack", "ciot_8pb-c_8c.html#a0c203738e428e99ed269fd7001551a0c", null ], + [ "ciot__ciot_cfg__pack_to_buffer", "ciot_8pb-c_8c.html#afc51a04ccabb5532629f5decae447b38", null ], + [ "ciot__ciot_cfg__unpack", "ciot_8pb-c_8c.html#a579abfe6d345c0721b4f6b5507b7e79a", null ], + [ "ciot__ciot_data__free_unpacked", "ciot_8pb-c_8c.html#aa9741e94ede8d55be3bbea4d2f0f5505", null ], + [ "ciot__ciot_data__get_packed_size", "ciot_8pb-c_8c.html#a5e86bd0ffa13db8b124b812530a8d30f", null ], + [ "ciot__ciot_data__init", "ciot_8pb-c_8c.html#a17d94701ed361ac19343477bd78ccb59", null ], + [ "ciot__ciot_data__pack", "ciot_8pb-c_8c.html#a6e18550b3e86ef256acb42983dcd5b5f", null ], + [ "ciot__ciot_data__pack_to_buffer", "ciot_8pb-c_8c.html#ae4fccc04f2865c94833ee208ad074730", null ], + [ "ciot__ciot_data__unpack", "ciot_8pb-c_8c.html#a6724f4a74b9cd124459a7b9a7799c1c2", null ], + [ "ciot__ciot_info__free_unpacked", "ciot_8pb-c_8c.html#a43b73d0fc7261a24f0967ecf12b43be2", null ], + [ "ciot__ciot_info__get_packed_size", "ciot_8pb-c_8c.html#af8997d04247f9599e383ae1b5301491f", null ], + [ "ciot__ciot_info__init", "ciot_8pb-c_8c.html#a86e23386ca97c3dfbfc8664dac70512c", null ], + [ "ciot__ciot_info__pack", "ciot_8pb-c_8c.html#a82d08ecd899b14526c51d456d58b2109", null ], + [ "ciot__ciot_info__pack_to_buffer", "ciot_8pb-c_8c.html#abef5d879e02751ae7a732edc17d598c1", null ], + [ "ciot__ciot_info__unpack", "ciot_8pb-c_8c.html#a6e25a567571aaefc5ca579b9c659c338", null ], + [ "ciot__ciot_req__free_unpacked", "ciot_8pb-c_8c.html#a6fc75332cc0133eef61472238522ebde", null ], + [ "ciot__ciot_req__get_packed_size", "ciot_8pb-c_8c.html#a403c76ddd99ce7d881c357e490c43528", null ], + [ "ciot__ciot_req__init", "ciot_8pb-c_8c.html#a113897c0a0c926e44fb0c37b8963f6e3", null ], + [ "ciot__ciot_req__pack", "ciot_8pb-c_8c.html#ac4c47e524bff4b34970a185b8efbaf15", null ], + [ "ciot__ciot_req__pack_to_buffer", "ciot_8pb-c_8c.html#ac7d075f8c5092304d1e89bc12f066dab", null ], + [ "ciot__ciot_req__unpack", "ciot_8pb-c_8c.html#ab96a83daf5aad32070839c5c1e11bd80", null ], + [ "ciot__ciot_req_data__free_unpacked", "ciot_8pb-c_8c.html#ad21013767e8e6b8514b5ec7bac626540", null ], + [ "ciot__ciot_req_data__get_packed_size", "ciot_8pb-c_8c.html#a395d1b6d9263bb8c6910c49fa5c1a8e1", null ], + [ "ciot__ciot_req_data__init", "ciot_8pb-c_8c.html#aae3ba626ea9eb80f742f33181dad5cfc", null ], + [ "ciot__ciot_req_data__pack", "ciot_8pb-c_8c.html#a9c100ef7f9c31693757e6e2209a6b22f", null ], + [ "ciot__ciot_req_data__pack_to_buffer", "ciot_8pb-c_8c.html#a649dee19b978502aed42ebe1219b097e", null ], + [ "ciot__ciot_req_data__unpack", "ciot_8pb-c_8c.html#a31dd9c750c0895dcfcee01cb7d0c1de0", null ], + [ "ciot__ciot_status__free_unpacked", "ciot_8pb-c_8c.html#a518e985261fb3972a1606ea6f2f0efc5", null ], + [ "ciot__ciot_status__get_packed_size", "ciot_8pb-c_8c.html#a475280697ad971beec6408c636ccda6a", null ], + [ "ciot__ciot_status__init", "ciot_8pb-c_8c.html#a8f38873202ab934a57ea63387a3ac32f", null ], + [ "ciot__ciot_status__pack", "ciot_8pb-c_8c.html#a552dfac7bbae1d294277819b5f3da5a3", null ], + [ "ciot__ciot_status__pack_to_buffer", "ciot_8pb-c_8c.html#a126aa4d1b6641c1ad9d1f68932a75892", null ], + [ "ciot__ciot_status__unpack", "ciot_8pb-c_8c.html#af15d3111cba36b4f79cfebadad45e9aa", null ], + [ "ciot__ciot_cfg__descriptor", "ciot_8pb-c_8c.html#a61f155ed2edded7aad43007872e3b57c", null ], + [ "ciot__ciot_data__descriptor", "ciot_8pb-c_8c.html#a383650c0dcafb6f68044a36af1c12d7c", null ], + [ "ciot__ciot_info__descriptor", "ciot_8pb-c_8c.html#a3d1225adcc94c7ffce5bed934f063e11", null ], + [ "ciot__ciot_req__descriptor", "ciot_8pb-c_8c.html#aa3c885658c43bbc8f841540e5dbdb7c8", null ], + [ "ciot__ciot_req_data__descriptor", "ciot_8pb-c_8c.html#ae646c3eb4543357d23bdae7218bc5c1e", null ], + [ "ciot__ciot_req_type__descriptor", "ciot_8pb-c_8c.html#a99ff8b8417be1bffc6400eef3f65244c", null ], + [ "ciot__ciot_serialization_type__descriptor", "ciot_8pb-c_8c.html#ade3a5c298d5c94d00016bb188e7cc3ab", null ], + [ "ciot__ciot_state__descriptor", "ciot_8pb-c_8c.html#af251d5ef91d25949e013676aac789b41", null ], + [ "ciot__ciot_status__descriptor", "ciot_8pb-c_8c.html#a0d7e8aba5d02147bee8d616eac7e1a0f", null ] +]; \ No newline at end of file diff --git a/docs/ciot_8pb-c_8h.html b/docs/ciot_8pb-c_8h.html new file mode 100644 index 0000000..fe41081 --- /dev/null +++ b/docs/ciot_8pb-c_8h.html @@ -0,0 +1,1608 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/ciot.pb-c.h File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
ciot.pb-c.h File Reference
+
+
+
#include <protobuf-c/protobuf-c.h>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Data Structures

struct  _Ciot__CiotCfg
 
struct  _Ciot__CiotInfo
 
struct  _Ciot__CiotStatus
 
struct  _Ciot__CiotReqData
 
struct  _Ciot__CiotReq
 
struct  _Ciot__CiotData
 
+ + + + + + + + + + + + + +

+Macros

#define CIOT__CIOT_CFG__INIT
 
#define CIOT__CIOT_INFO__INIT
 
#define CIOT__CIOT_STATUS__INIT
 
#define CIOT__CIOT_REQ_DATA__INIT
 
#define CIOT__CIOT_REQ__INIT
 
#define CIOT__CIOT_DATA__INIT
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__CiotCfg Ciot__CiotCfg
 
typedef struct _Ciot__CiotInfo Ciot__CiotInfo
 
typedef struct _Ciot__CiotStatus Ciot__CiotStatus
 
typedef struct _Ciot__CiotReqData Ciot__CiotReqData
 
typedef struct _Ciot__CiotReq Ciot__CiotReq
 
typedef struct _Ciot__CiotData Ciot__CiotData
 
typedef enum _Ciot__CiotState Ciot__CiotState
 
typedef enum _Ciot__CiotReqType Ciot__CiotReqType
 
typedef enum _Ciot__CiotSerializationType Ciot__CiotSerializationType
 
typedef void(* Ciot__CiotCfg_Closure) (const Ciot__CiotCfg *message, void *closure_data)
 
typedef void(* Ciot__CiotInfo_Closure) (const Ciot__CiotInfo *message, void *closure_data)
 
typedef void(* Ciot__CiotStatus_Closure) (const Ciot__CiotStatus *message, void *closure_data)
 
typedef void(* Ciot__CiotReqData_Closure) (const Ciot__CiotReqData *message, void *closure_data)
 
typedef void(* Ciot__CiotReq_Closure) (const Ciot__CiotReq *message, void *closure_data)
 
typedef void(* Ciot__CiotData_Closure) (const Ciot__CiotData *message, void *closure_data)
 
+ + + + + + + +

+Enumerations

enum  _Ciot__CiotState { CIOT__CIOT_STATE__CIOT_STATE_IDLE = 0 +, CIOT__CIOT_STATE__CIOT_STATE_BUSY = 1 +, CIOT__CIOT_STATE__CIOT_STATE_ERROR = -1 + }
 
enum  _Ciot__CiotReqType { CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_UNKOWN = 0 +, CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_SAVE_IFACE_CFG = 1 +, CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_DELETE_IFACE_CFG = 2 +, CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_PROXY_MSG = 3 + }
 
enum  _Ciot__CiotSerializationType { CIOT__CIOT_SERIALIZATION_TYPE__CIOT_SERIALIZATION_NONE = 0 +, CIOT__CIOT_SERIALIZATION_TYPE__CIOT_SERIALIZATION_PROTOBUF = 1 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void ciot__ciot_cfg__init (Ciot__CiotCfg *message)
 
size_t ciot__ciot_cfg__get_packed_size (const Ciot__CiotCfg *message)
 
size_t ciot__ciot_cfg__pack (const Ciot__CiotCfg *message, uint8_t *out)
 
size_t ciot__ciot_cfg__pack_to_buffer (const Ciot__CiotCfg *message, ProtobufCBuffer *buffer)
 
Ciot__CiotCfgciot__ciot_cfg__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_cfg__free_unpacked (Ciot__CiotCfg *message, ProtobufCAllocator *allocator)
 
void ciot__ciot_info__init (Ciot__CiotInfo *message)
 
size_t ciot__ciot_info__get_packed_size (const Ciot__CiotInfo *message)
 
size_t ciot__ciot_info__pack (const Ciot__CiotInfo *message, uint8_t *out)
 
size_t ciot__ciot_info__pack_to_buffer (const Ciot__CiotInfo *message, ProtobufCBuffer *buffer)
 
Ciot__CiotInfociot__ciot_info__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_info__free_unpacked (Ciot__CiotInfo *message, ProtobufCAllocator *allocator)
 
void ciot__ciot_status__init (Ciot__CiotStatus *message)
 
size_t ciot__ciot_status__get_packed_size (const Ciot__CiotStatus *message)
 
size_t ciot__ciot_status__pack (const Ciot__CiotStatus *message, uint8_t *out)
 
size_t ciot__ciot_status__pack_to_buffer (const Ciot__CiotStatus *message, ProtobufCBuffer *buffer)
 
Ciot__CiotStatusciot__ciot_status__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_status__free_unpacked (Ciot__CiotStatus *message, ProtobufCAllocator *allocator)
 
void ciot__ciot_req_data__init (Ciot__CiotReqData *message)
 
size_t ciot__ciot_req_data__get_packed_size (const Ciot__CiotReqData *message)
 
size_t ciot__ciot_req_data__pack (const Ciot__CiotReqData *message, uint8_t *out)
 
size_t ciot__ciot_req_data__pack_to_buffer (const Ciot__CiotReqData *message, ProtobufCBuffer *buffer)
 
Ciot__CiotReqDataciot__ciot_req_data__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_req_data__free_unpacked (Ciot__CiotReqData *message, ProtobufCAllocator *allocator)
 
void ciot__ciot_req__init (Ciot__CiotReq *message)
 
size_t ciot__ciot_req__get_packed_size (const Ciot__CiotReq *message)
 
size_t ciot__ciot_req__pack (const Ciot__CiotReq *message, uint8_t *out)
 
size_t ciot__ciot_req__pack_to_buffer (const Ciot__CiotReq *message, ProtobufCBuffer *buffer)
 
Ciot__CiotReqciot__ciot_req__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_req__free_unpacked (Ciot__CiotReq *message, ProtobufCAllocator *allocator)
 
void ciot__ciot_data__init (Ciot__CiotData *message)
 
size_t ciot__ciot_data__get_packed_size (const Ciot__CiotData *message)
 
size_t ciot__ciot_data__pack (const Ciot__CiotData *message, uint8_t *out)
 
size_t ciot__ciot_data__pack_to_buffer (const Ciot__CiotData *message, ProtobufCBuffer *buffer)
 
Ciot__CiotDataciot__ciot_data__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
 
void ciot__ciot_data__free_unpacked (Ciot__CiotData *message, ProtobufCAllocator *allocator)
 
+ + + + + + + + + + + + + + + + + + + +

+Variables

const ProtobufCEnumDescriptor ciot__ciot_state__descriptor
 
const ProtobufCEnumDescriptor ciot__ciot_req_type__descriptor
 
const ProtobufCEnumDescriptor ciot__ciot_serialization_type__descriptor
 
const ProtobufCMessageDescriptor ciot__ciot_cfg__descriptor
 
const ProtobufCMessageDescriptor ciot__ciot_info__descriptor
 
const ProtobufCMessageDescriptor ciot__ciot_status__descriptor
 
const ProtobufCMessageDescriptor ciot__ciot_req_data__descriptor
 
const ProtobufCMessageDescriptor ciot__ciot_req__descriptor
 
const ProtobufCMessageDescriptor ciot__ciot_data__descriptor
 
+

Macro Definition Documentation

+ +

◆ CIOT__CIOT_CFG__INIT

+ +
+
+ + + + +
#define CIOT__CIOT_CFG__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_cfg__descriptor) \
+
}
+
const ProtobufCMessageDescriptor ciot__ciot_cfg__descriptor
Definition ciot.pb-c.c:283
+
+
+
+ +

◆ CIOT__CIOT_DATA__INIT

+ +
+
+ + + + +
#define CIOT__CIOT_DATA__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_data__descriptor) \
+
, NULL, NULL, NULL }
+
const ProtobufCMessageDescriptor ciot__ciot_data__descriptor
Definition ciot.pb-c.c:539
+
+
+
+ +

◆ CIOT__CIOT_INFO__INIT

+ +
+
+ + + + +
#define CIOT__CIOT_INFO__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_info__descriptor) \
+
, {0,NULL} }
+
const ProtobufCMessageDescriptor ciot__ciot_info__descriptor
Definition ciot.pb-c.c:321
+
+
+
+ +

◆ CIOT__CIOT_REQ__INIT

+ +
+
+ + + + +
#define CIOT__CIOT_REQ__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_req__descriptor) \
+ +
@ CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_UNKOWN
Definition ciot.pb-c.h:53
+
const ProtobufCMessageDescriptor ciot__ciot_req__descriptor
Definition ciot.pb-c.c:475
+
+
+
+ +

◆ CIOT__CIOT_REQ_DATA__INIT

+ +
+
+ + + + +
#define CIOT__CIOT_REQ_DATA__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_req_data__descriptor) \
+
, 0, {0,NULL} }
+
const ProtobufCMessageDescriptor ciot__ciot_req_data__descriptor
Definition ciot.pb-c.c:424
+
+
+
+ +

◆ CIOT__CIOT_STATUS__INIT

+ +
+
+ + + + +
#define CIOT__CIOT_STATUS__INIT
+
+Value:
{ PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_status__descriptor) \
+ +
const ProtobufCMessageDescriptor ciot__ciot_status__descriptor
Definition ciot.pb-c.c:373
+
@ CIOT__CIOT_STATE__CIOT_STATE_IDLE
Definition ciot.pb-c.h:35
+
+
+
+

Typedef Documentation

+ +

◆ Ciot__CiotCfg

+ +
+
+ + + + +
typedef typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__CiotCfg Ciot__CiotCfg
+
+ +
+
+ +

◆ Ciot__CiotCfg_Closure

+ +
+
+ + + + +
typedef void(* Ciot__CiotCfg_Closure) (const Ciot__CiotCfg *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__CiotData

+ +
+
+ + + + +
typedef struct _Ciot__CiotData Ciot__CiotData
+
+ +
+
+ +

◆ Ciot__CiotData_Closure

+ +
+
+ + + + +
typedef void(* Ciot__CiotData_Closure) (const Ciot__CiotData *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__CiotInfo

+ +
+
+ + + + +
typedef struct _Ciot__CiotInfo Ciot__CiotInfo
+
+ +
+
+ +

◆ Ciot__CiotInfo_Closure

+ +
+
+ + + + +
typedef void(* Ciot__CiotInfo_Closure) (const Ciot__CiotInfo *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__CiotReq

+ +
+
+ + + + +
typedef struct _Ciot__CiotReq Ciot__CiotReq
+
+ +
+
+ +

◆ Ciot__CiotReq_Closure

+ +
+
+ + + + +
typedef void(* Ciot__CiotReq_Closure) (const Ciot__CiotReq *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__CiotReqData

+ +
+
+ + + + +
typedef struct _Ciot__CiotReqData Ciot__CiotReqData
+
+ +
+
+ +

◆ Ciot__CiotReqData_Closure

+ +
+
+ + + + +
typedef void(* Ciot__CiotReqData_Closure) (const Ciot__CiotReqData *message, void *closure_data)
+
+ +
+
+ +

◆ Ciot__CiotReqType

+ +
+
+ + + + +
typedef enum _Ciot__CiotReqType Ciot__CiotReqType
+
+ +
+
+ +

◆ Ciot__CiotSerializationType

+ + + +

◆ Ciot__CiotState

+ +
+
+ + + + +
typedef enum _Ciot__CiotState Ciot__CiotState
+
+ +
+
+ +

◆ Ciot__CiotStatus

+ +
+
+ + + + +
typedef struct _Ciot__CiotStatus Ciot__CiotStatus
+
+ +
+
+ +

◆ Ciot__CiotStatus_Closure

+ +
+
+ + + + +
typedef void(* Ciot__CiotStatus_Closure) (const Ciot__CiotStatus *message, void *closure_data)
+
+ +
+
+

Enumeration Type Documentation

+ +

◆ _Ciot__CiotReqType

+ +
+
+ + + + +
enum _Ciot__CiotReqType
+
+ + + + + +
Enumerator
CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_UNKOWN 
CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_SAVE_IFACE_CFG 
CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_DELETE_IFACE_CFG 
CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_PROXY_MSG 
+ +
+
+ +

◆ _Ciot__CiotSerializationType

+ +
+
+ + + +
Enumerator
CIOT__CIOT_SERIALIZATION_TYPE__CIOT_SERIALIZATION_NONE 
CIOT__CIOT_SERIALIZATION_TYPE__CIOT_SERIALIZATION_PROTOBUF 
+ +
+
+ +

◆ _Ciot__CiotState

+ +
+
+ + + + +
enum _Ciot__CiotState
+
+ + + + +
Enumerator
CIOT__CIOT_STATE__CIOT_STATE_IDLE 
CIOT__CIOT_STATE__CIOT_STATE_BUSY 
CIOT__CIOT_STATE__CIOT_STATE_ERROR 
+ +
+
+

Function Documentation

+ +

◆ ciot__ciot_cfg__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_cfg__free_unpacked (Ciot__CiotCfg * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_cfg__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_cfg__get_packed_size (const Ciot__CiotCfg * message)
+
+ +
+
+ +

◆ ciot__ciot_cfg__init()

+ +
+
+ + + + + + + +
void ciot__ciot_cfg__init (Ciot__CiotCfg * message)
+
+ +
+
+ +

◆ ciot__ciot_cfg__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_cfg__pack (const Ciot__CiotCfg * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_cfg__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_cfg__pack_to_buffer (const Ciot__CiotCfg * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_cfg__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotCfg * ciot__ciot_cfg__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ciot_data__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_data__free_unpacked (Ciot__CiotData * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_data__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_data__get_packed_size (const Ciot__CiotData * message)
+
+ +
+
+ +

◆ ciot__ciot_data__init()

+ +
+
+ + + + + + + +
void ciot__ciot_data__init (Ciot__CiotData * message)
+
+ +
+
+ +

◆ ciot__ciot_data__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_data__pack (const Ciot__CiotData * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_data__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_data__pack_to_buffer (const Ciot__CiotData * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_data__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotData * ciot__ciot_data__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ciot_info__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_info__free_unpacked (Ciot__CiotInfo * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_info__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_info__get_packed_size (const Ciot__CiotInfo * message)
+
+ +
+
+ +

◆ ciot__ciot_info__init()

+ +
+
+ + + + + + + +
void ciot__ciot_info__init (Ciot__CiotInfo * message)
+
+ +
+
+ +

◆ ciot__ciot_info__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_info__pack (const Ciot__CiotInfo * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_info__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_info__pack_to_buffer (const Ciot__CiotInfo * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_info__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotInfo * ciot__ciot_info__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ciot_req__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_req__free_unpacked (Ciot__CiotReq * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_req__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_req__get_packed_size (const Ciot__CiotReq * message)
+
+ +
+
+ +

◆ ciot__ciot_req__init()

+ +
+
+ + + + + + + +
void ciot__ciot_req__init (Ciot__CiotReq * message)
+
+ +
+
+ +

◆ ciot__ciot_req__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_req__pack (const Ciot__CiotReq * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_req__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_req__pack_to_buffer (const Ciot__CiotReq * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_req__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotReq * ciot__ciot_req__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ciot_req_data__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_req_data__free_unpacked (Ciot__CiotReqData * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_req_data__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_req_data__get_packed_size (const Ciot__CiotReqData * message)
+
+ +
+
+ +

◆ ciot__ciot_req_data__init()

+ +
+
+ + + + + + + +
void ciot__ciot_req_data__init (Ciot__CiotReqData * message)
+
+ +
+
+ +

◆ ciot__ciot_req_data__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_req_data__pack (const Ciot__CiotReqData * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_req_data__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_req_data__pack_to_buffer (const Ciot__CiotReqData * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_req_data__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotReqData * ciot__ciot_req_data__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+ +

◆ ciot__ciot_status__free_unpacked()

+ +
+
+ + + + + + + + + + + +
void ciot__ciot_status__free_unpacked (Ciot__CiotStatus * message,
ProtobufCAllocator * allocator )
+
+ +
+
+ +

◆ ciot__ciot_status__get_packed_size()

+ +
+
+ + + + + + + +
size_t ciot__ciot_status__get_packed_size (const Ciot__CiotStatus * message)
+
+ +
+
+ +

◆ ciot__ciot_status__init()

+ +
+
+ + + + + + + +
void ciot__ciot_status__init (Ciot__CiotStatus * message)
+
+ +
+
+ +

◆ ciot__ciot_status__pack()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_status__pack (const Ciot__CiotStatus * message,
uint8_t * out )
+
+ +
+
+ +

◆ ciot__ciot_status__pack_to_buffer()

+ +
+
+ + + + + + + + + + + +
size_t ciot__ciot_status__pack_to_buffer (const Ciot__CiotStatus * message,
ProtobufCBuffer * buffer )
+
+ +
+
+ +

◆ ciot__ciot_status__unpack()

+ +
+
+ + + + + + + + + + + + + + + + +
Ciot__CiotStatus * ciot__ciot_status__unpack (ProtobufCAllocator * allocator,
size_t len,
const uint8_t * data )
+
+ +
+
+

Variable Documentation

+ +

◆ ciot__ciot_cfg__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_cfg__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ciot_data__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_data__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ciot_info__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_info__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ciot_req__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_req__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ciot_req_data__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_req_data__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ciot_req_type__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCEnumDescriptor ciot__ciot_req_type__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ciot_serialization_type__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCEnumDescriptor ciot__ciot_serialization_type__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ciot_state__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCEnumDescriptor ciot__ciot_state__descriptor
+
+extern
+
+ +
+
+ +

◆ ciot__ciot_status__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCMessageDescriptor ciot__ciot_status__descriptor
+
+extern
+
+ +
+
+
+
+ + + + diff --git a/docs/ciot_8pb-c_8h.js b/docs/ciot_8pb-c_8h.js new file mode 100644 index 0000000..9991c3f --- /dev/null +++ b/docs/ciot_8pb-c_8h.js @@ -0,0 +1,90 @@ +var ciot_8pb_c_8h = +[ + [ "_Ciot__CiotCfg", "struct___ciot_____ciot_cfg.html", "struct___ciot_____ciot_cfg" ], + [ "_Ciot__CiotInfo", "struct___ciot_____ciot_info.html", "struct___ciot_____ciot_info" ], + [ "_Ciot__CiotStatus", "struct___ciot_____ciot_status.html", "struct___ciot_____ciot_status" ], + [ "_Ciot__CiotReqData", "struct___ciot_____ciot_req_data.html", "struct___ciot_____ciot_req_data" ], + [ "_Ciot__CiotReq", "struct___ciot_____ciot_req.html", "struct___ciot_____ciot_req" ], + [ "_Ciot__CiotData", "struct___ciot_____ciot_data.html", "struct___ciot_____ciot_data" ], + [ "CIOT__CIOT_CFG__INIT", "ciot_8pb-c_8h.html#af08bde610db3661ec9c688c351eef83a", null ], + [ "CIOT__CIOT_DATA__INIT", "ciot_8pb-c_8h.html#ac321b6d2b885389e1930b5599408ff14", null ], + [ "CIOT__CIOT_INFO__INIT", "ciot_8pb-c_8h.html#afb4d5c67c7bd3cea2e25386ecb06dd6f", null ], + [ "CIOT__CIOT_REQ__INIT", "ciot_8pb-c_8h.html#ac35c98699802ce56bfdaac5226b11cb7", null ], + [ "CIOT__CIOT_REQ_DATA__INIT", "ciot_8pb-c_8h.html#a7b5dd835b08d146fc023592ba6613568", null ], + [ "CIOT__CIOT_STATUS__INIT", "ciot_8pb-c_8h.html#ac822ffc9a52d25b768e695ab714671ce", null ], + [ "Ciot__CiotCfg", "ciot_8pb-c_8h.html#ae05a8a948e1e03bac9ac8090a1bf6743", null ], + [ "Ciot__CiotCfg_Closure", "ciot_8pb-c_8h.html#a60744676ef767ab953f86c06db2ef1be", null ], + [ "Ciot__CiotData", "ciot_8pb-c_8h.html#a4e1bfa4b7813be32e9588b07cc1884a4", null ], + [ "Ciot__CiotData_Closure", "ciot_8pb-c_8h.html#af1a1f61ca47fa382741fe674c474d0c2", null ], + [ "Ciot__CiotInfo", "ciot_8pb-c_8h.html#a656c3a78914240fb555e7eafe26eced1", null ], + [ "Ciot__CiotInfo_Closure", "ciot_8pb-c_8h.html#ac78766deb3b4655a9c8720d3298f707a", null ], + [ "Ciot__CiotReq", "ciot_8pb-c_8h.html#a82226aeee1a424f371c5ca299d0fd585", null ], + [ "Ciot__CiotReq_Closure", "ciot_8pb-c_8h.html#a43d6f82dfcfdfe32e7afa64ad3014a94", null ], + [ "Ciot__CiotReqData", "ciot_8pb-c_8h.html#aced35794af53ae8b567b9846081fb259", null ], + [ "Ciot__CiotReqData_Closure", "ciot_8pb-c_8h.html#adf8e2729ef1abc3e843dece81c95e0e8", null ], + [ "Ciot__CiotReqType", "ciot_8pb-c_8h.html#adf7827adef1440e4d162cdd2c04ba102", null ], + [ "Ciot__CiotSerializationType", "ciot_8pb-c_8h.html#aa7555d60f3364994f9328056912f7b12", null ], + [ "Ciot__CiotState", "ciot_8pb-c_8h.html#abf35051386caec475d3968fab720a970", null ], + [ "Ciot__CiotStatus", "ciot_8pb-c_8h.html#a06059afb7163bd5cb71dae6e8f93bc6a", null ], + [ "Ciot__CiotStatus_Closure", "ciot_8pb-c_8h.html#a7de52ad362b43010da169ccd95db6f32", null ], + [ "_Ciot__CiotReqType", "ciot_8pb-c_8h.html#a45f9942fab7f3c1f7d148ed212a025c9", [ + [ "CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_UNKOWN", "ciot_8pb-c_8h.html#a45f9942fab7f3c1f7d148ed212a025c9a276ed778f78ce5bb221aac81ae5427c8", null ], + [ "CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_SAVE_IFACE_CFG", "ciot_8pb-c_8h.html#a45f9942fab7f3c1f7d148ed212a025c9afadcdbc26271135db3093d43d49bb9f0", null ], + [ "CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_DELETE_IFACE_CFG", "ciot_8pb-c_8h.html#a45f9942fab7f3c1f7d148ed212a025c9a68e721dec601f02ecdf134704631e409", null ], + [ "CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_PROXY_MSG", "ciot_8pb-c_8h.html#a45f9942fab7f3c1f7d148ed212a025c9ac05b1feeffd18e32ef940e7ad306bf30", null ] + ] ], + [ "_Ciot__CiotSerializationType", "ciot_8pb-c_8h.html#adb8216c236f05c45ff7356d93db4b855", [ + [ "CIOT__CIOT_SERIALIZATION_TYPE__CIOT_SERIALIZATION_NONE", "ciot_8pb-c_8h.html#adb8216c236f05c45ff7356d93db4b855a428c0445ede3406550207a7313d53c93", null ], + [ "CIOT__CIOT_SERIALIZATION_TYPE__CIOT_SERIALIZATION_PROTOBUF", "ciot_8pb-c_8h.html#adb8216c236f05c45ff7356d93db4b855a8b21e8efd20fe3a97dca7a1ab67f5b33", null ] + ] ], + [ "_Ciot__CiotState", "ciot_8pb-c_8h.html#a2c2b5d3c9f053e1166fe7855cee8bd5e", [ + [ "CIOT__CIOT_STATE__CIOT_STATE_IDLE", "ciot_8pb-c_8h.html#a2c2b5d3c9f053e1166fe7855cee8bd5eae59aa13053bb85bb6596d84a7e5928a5", null ], + [ "CIOT__CIOT_STATE__CIOT_STATE_BUSY", "ciot_8pb-c_8h.html#a2c2b5d3c9f053e1166fe7855cee8bd5ea3181f94526fe485f936fa87ef34e9b27", null ], + [ "CIOT__CIOT_STATE__CIOT_STATE_ERROR", "ciot_8pb-c_8h.html#a2c2b5d3c9f053e1166fe7855cee8bd5eae2956db8f60015755ba77d9eacaf5ee2", null ] + ] ], + [ "ciot__ciot_cfg__free_unpacked", "ciot_8pb-c_8h.html#aa91e767436676a6e235368d29f58f118", null ], + [ "ciot__ciot_cfg__get_packed_size", "ciot_8pb-c_8h.html#aeb222d9dc5e3f8f8c499be2b893cb3b6", null ], + [ "ciot__ciot_cfg__init", "ciot_8pb-c_8h.html#a74cc2a6afce468ba06619c2e7924b9bc", null ], + [ "ciot__ciot_cfg__pack", "ciot_8pb-c_8h.html#a0c203738e428e99ed269fd7001551a0c", null ], + [ "ciot__ciot_cfg__pack_to_buffer", "ciot_8pb-c_8h.html#afc51a04ccabb5532629f5decae447b38", null ], + [ "ciot__ciot_cfg__unpack", "ciot_8pb-c_8h.html#a579abfe6d345c0721b4f6b5507b7e79a", null ], + [ "ciot__ciot_data__free_unpacked", "ciot_8pb-c_8h.html#aa9741e94ede8d55be3bbea4d2f0f5505", null ], + [ "ciot__ciot_data__get_packed_size", "ciot_8pb-c_8h.html#a5e86bd0ffa13db8b124b812530a8d30f", null ], + [ "ciot__ciot_data__init", "ciot_8pb-c_8h.html#a17d94701ed361ac19343477bd78ccb59", null ], + [ "ciot__ciot_data__pack", "ciot_8pb-c_8h.html#a6e18550b3e86ef256acb42983dcd5b5f", null ], + [ "ciot__ciot_data__pack_to_buffer", "ciot_8pb-c_8h.html#ae4fccc04f2865c94833ee208ad074730", null ], + [ "ciot__ciot_data__unpack", "ciot_8pb-c_8h.html#a6724f4a74b9cd124459a7b9a7799c1c2", null ], + [ "ciot__ciot_info__free_unpacked", "ciot_8pb-c_8h.html#a43b73d0fc7261a24f0967ecf12b43be2", null ], + [ "ciot__ciot_info__get_packed_size", "ciot_8pb-c_8h.html#af8997d04247f9599e383ae1b5301491f", null ], + [ "ciot__ciot_info__init", "ciot_8pb-c_8h.html#a86e23386ca97c3dfbfc8664dac70512c", null ], + [ "ciot__ciot_info__pack", "ciot_8pb-c_8h.html#a82d08ecd899b14526c51d456d58b2109", null ], + [ "ciot__ciot_info__pack_to_buffer", "ciot_8pb-c_8h.html#abef5d879e02751ae7a732edc17d598c1", null ], + [ "ciot__ciot_info__unpack", "ciot_8pb-c_8h.html#a6e25a567571aaefc5ca579b9c659c338", null ], + [ "ciot__ciot_req__free_unpacked", "ciot_8pb-c_8h.html#a6fc75332cc0133eef61472238522ebde", null ], + [ "ciot__ciot_req__get_packed_size", "ciot_8pb-c_8h.html#a403c76ddd99ce7d881c357e490c43528", null ], + [ "ciot__ciot_req__init", "ciot_8pb-c_8h.html#a113897c0a0c926e44fb0c37b8963f6e3", null ], + [ "ciot__ciot_req__pack", "ciot_8pb-c_8h.html#ac4c47e524bff4b34970a185b8efbaf15", null ], + [ "ciot__ciot_req__pack_to_buffer", "ciot_8pb-c_8h.html#ac7d075f8c5092304d1e89bc12f066dab", null ], + [ "ciot__ciot_req__unpack", "ciot_8pb-c_8h.html#ab96a83daf5aad32070839c5c1e11bd80", null ], + [ "ciot__ciot_req_data__free_unpacked", "ciot_8pb-c_8h.html#ad21013767e8e6b8514b5ec7bac626540", null ], + [ "ciot__ciot_req_data__get_packed_size", "ciot_8pb-c_8h.html#a395d1b6d9263bb8c6910c49fa5c1a8e1", null ], + [ "ciot__ciot_req_data__init", "ciot_8pb-c_8h.html#aae3ba626ea9eb80f742f33181dad5cfc", null ], + [ "ciot__ciot_req_data__pack", "ciot_8pb-c_8h.html#a9c100ef7f9c31693757e6e2209a6b22f", null ], + [ "ciot__ciot_req_data__pack_to_buffer", "ciot_8pb-c_8h.html#a649dee19b978502aed42ebe1219b097e", null ], + [ "ciot__ciot_req_data__unpack", "ciot_8pb-c_8h.html#a31dd9c750c0895dcfcee01cb7d0c1de0", null ], + [ "ciot__ciot_status__free_unpacked", "ciot_8pb-c_8h.html#a518e985261fb3972a1606ea6f2f0efc5", null ], + [ "ciot__ciot_status__get_packed_size", "ciot_8pb-c_8h.html#a475280697ad971beec6408c636ccda6a", null ], + [ "ciot__ciot_status__init", "ciot_8pb-c_8h.html#a8f38873202ab934a57ea63387a3ac32f", null ], + [ "ciot__ciot_status__pack", "ciot_8pb-c_8h.html#a552dfac7bbae1d294277819b5f3da5a3", null ], + [ "ciot__ciot_status__pack_to_buffer", "ciot_8pb-c_8h.html#a126aa4d1b6641c1ad9d1f68932a75892", null ], + [ "ciot__ciot_status__unpack", "ciot_8pb-c_8h.html#af15d3111cba36b4f79cfebadad45e9aa", null ], + [ "ciot__ciot_cfg__descriptor", "ciot_8pb-c_8h.html#a61f155ed2edded7aad43007872e3b57c", null ], + [ "ciot__ciot_data__descriptor", "ciot_8pb-c_8h.html#a383650c0dcafb6f68044a36af1c12d7c", null ], + [ "ciot__ciot_info__descriptor", "ciot_8pb-c_8h.html#a3d1225adcc94c7ffce5bed934f063e11", null ], + [ "ciot__ciot_req__descriptor", "ciot_8pb-c_8h.html#aa3c885658c43bbc8f841540e5dbdb7c8", null ], + [ "ciot__ciot_req_data__descriptor", "ciot_8pb-c_8h.html#ae646c3eb4543357d23bdae7218bc5c1e", null ], + [ "ciot__ciot_req_type__descriptor", "ciot_8pb-c_8h.html#a99ff8b8417be1bffc6400eef3f65244c", null ], + [ "ciot__ciot_serialization_type__descriptor", "ciot_8pb-c_8h.html#ade3a5c298d5c94d00016bb188e7cc3ab", null ], + [ "ciot__ciot_state__descriptor", "ciot_8pb-c_8h.html#af251d5ef91d25949e013676aac789b41", null ], + [ "ciot__ciot_status__descriptor", "ciot_8pb-c_8h.html#a0d7e8aba5d02147bee8d616eac7e1a0f", null ] +]; \ No newline at end of file diff --git a/docs/ciot_8pb-c_8h_source.html b/docs/ciot_8pb-c_8h_source.html new file mode 100644 index 0000000..e4c5964 --- /dev/null +++ b/docs/ciot_8pb-c_8h_source.html @@ -0,0 +1,582 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/ciot.pb-c.h Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ciot.pb-c.h
+
+
+Go to the documentation of this file.
1/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+
2/* Generated from: ciot/proto/v1/ciot.proto */
+
3
+
4#ifndef PROTOBUF_C_ciot_2fproto_2fv1_2fciot_2eproto__INCLUDED
+
5#define PROTOBUF_C_ciot_2fproto_2fv1_2fciot_2eproto__INCLUDED
+
6
+
7#include <protobuf-c/protobuf-c.h>
+
8
+
9PROTOBUF_C__BEGIN_DECLS
+
10
+
11#if PROTOBUF_C_VERSION_NUMBER < 1003000
+
12# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+
13#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
+
14# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+
15#endif
+
16
+
17
+ + + + + + +
24
+
25
+
26/* --- enums --- */
+
27
+
28/*
+
29 * Enum representing the state of CIOT.
+
30 */
+
+
31typedef enum _Ciot__CiotState {
+
32 /*
+
33 * Device is in an idle state.
+
34 */
+ +
36 /*
+
37 * Device is busy.
+
38 */
+ +
40 /*
+
41 * Device encountered an error.
+
42 */
+ +
44 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(CIOT__CIOT_STATE)
+ +
+
46/*
+
47 * Enum representing different types of CIOT requests.
+
48 */
+
+
49typedef enum _Ciot__CiotReqType {
+
50 /*
+
51 * Unknown request type.
+
52 */
+ +
54 /*
+
55 * Request to save interface configuration.
+
56 */
+ +
58 /*
+
59 * Request to delete interface configuration.
+
60 */
+ +
62 /*
+
63 * Request to proxy a message.
+
64 */
+ +
66 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(CIOT__CIOT_REQ_TYPE)
+ +
+
68/*
+
69 * Enum representing different serialization types for CIOT.
+
70 */
+
+ +
72 /*
+
73 * No serialization type specified.
+
74 */
+ +
76 /*
+
77 * Protocol Buffers serialization type.
+
78 */
+ +
80 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(CIOT__CIOT_SERIALIZATION_TYPE)
+ +
+
82
+
83/* --- messages --- */
+
84
+
85/*
+
86 * Message representing CIOT configuration.
+
87 */
+
+ +
89{
+
90 ProtobufCMessage base;
+
91};
+
+
+
92#define CIOT__CIOT_CFG__INIT \
+
93 { PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_cfg__descriptor) \
+
94 }
+
+
95
+
96
+
97/*
+
98 * Message representing CIOT information.
+
99 */
+
+ +
101{
+
102 ProtobufCMessage base;
+
103 /*
+
104 * CIOT library version
+
105 */
+
106 ProtobufCBinaryData version;
+
107};
+
+
+
108#define CIOT__CIOT_INFO__INIT \
+
109 { PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_info__descriptor) \
+
110 , {0,NULL} }
+
+
111
+
112
+
113/*
+
114 * Message representing CIOT status.
+
115 */
+
+ +
117{
+
118 ProtobufCMessage base;
+
119 /*
+
120 * State of the CIOT device.
+
121 */
+ +
123 /*
+
124 * Additional information about the CIOT device.
+
125 */
+ +
127};
+
+
+
128#define CIOT__CIOT_STATUS__INIT \
+
129 { PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_status__descriptor) \
+
130 , CIOT__CIOT_STATE__CIOT_STATE_IDLE, NULL }
+
+
131
+
132
+
133/*
+
134 * Message representing data for a CIOT request.
+
135 */
+
+ +
137{
+
138 ProtobufCMessage base;
+
139 /*
+
140 * Interface ID for the request.
+
141 */
+
142 uint32_t iface_id;
+
143 /*
+
144 * Payload data for the request.
+
145 */
+
146 ProtobufCBinaryData payload;
+
147};
+
+
+
148#define CIOT__CIOT_REQ_DATA__INIT \
+
149 { PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_req_data__descriptor) \
+
150 , 0, {0,NULL} }
+
+
151
+
152
+
153/*
+
154 * Message representing a CIOT request.
+
155 */
+
+ +
157{
+
158 ProtobufCMessage base;
+
159 /*
+
160 * Type of the CIOT request.
+
161 */
+ +
163 /*
+
164 * Data associated with the request.
+
165 */
+ +
167};
+
+
+
168#define CIOT__CIOT_REQ__INIT \
+
169 { PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_req__descriptor) \
+
170 , CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_UNKOWN, NULL }
+
+
171
+
172
+
173/*
+
174 * Message representing CIOT data.
+
175 */
+
+ +
177{
+
178 ProtobufCMessage base;
+
179 /*
+
180 * Configuration data.
+
181 */
+ +
183 /*
+
184 * Status of the CIOT device.
+
185 */
+ +
187 /*
+
188 * CIOT request data.
+
189 */
+ +
191};
+
+
+
192#define CIOT__CIOT_DATA__INIT \
+
193 { PROTOBUF_C_MESSAGE_INIT (&ciot__ciot_data__descriptor) \
+
194 , NULL, NULL, NULL }
+
+
195
+
196
+
197/* Ciot__CiotCfg methods */
+ +
199 (Ciot__CiotCfg *message);
+ +
201 (const Ciot__CiotCfg *message);
+ +
203 (const Ciot__CiotCfg *message,
+
204 uint8_t *out);
+ +
206 (const Ciot__CiotCfg *message,
+
207 ProtobufCBuffer *buffer);
+ + +
210 (ProtobufCAllocator *allocator,
+
211 size_t len,
+
212 const uint8_t *data);
+ +
214 (Ciot__CiotCfg *message,
+
215 ProtobufCAllocator *allocator);
+
216/* Ciot__CiotInfo methods */
+ +
218 (Ciot__CiotInfo *message);
+ +
220 (const Ciot__CiotInfo *message);
+ +
222 (const Ciot__CiotInfo *message,
+
223 uint8_t *out);
+ +
225 (const Ciot__CiotInfo *message,
+
226 ProtobufCBuffer *buffer);
+ + +
229 (ProtobufCAllocator *allocator,
+
230 size_t len,
+
231 const uint8_t *data);
+ +
233 (Ciot__CiotInfo *message,
+
234 ProtobufCAllocator *allocator);
+
235/* Ciot__CiotStatus methods */
+ +
237 (Ciot__CiotStatus *message);
+ +
239 (const Ciot__CiotStatus *message);
+ +
241 (const Ciot__CiotStatus *message,
+
242 uint8_t *out);
+ +
244 (const Ciot__CiotStatus *message,
+
245 ProtobufCBuffer *buffer);
+ + +
248 (ProtobufCAllocator *allocator,
+
249 size_t len,
+
250 const uint8_t *data);
+ +
252 (Ciot__CiotStatus *message,
+
253 ProtobufCAllocator *allocator);
+
254/* Ciot__CiotReqData methods */
+ +
256 (Ciot__CiotReqData *message);
+ +
258 (const Ciot__CiotReqData *message);
+ +
260 (const Ciot__CiotReqData *message,
+
261 uint8_t *out);
+ +
263 (const Ciot__CiotReqData *message,
+
264 ProtobufCBuffer *buffer);
+ + +
267 (ProtobufCAllocator *allocator,
+
268 size_t len,
+
269 const uint8_t *data);
+ +
271 (Ciot__CiotReqData *message,
+
272 ProtobufCAllocator *allocator);
+
273/* Ciot__CiotReq methods */
+ +
275 (Ciot__CiotReq *message);
+ +
277 (const Ciot__CiotReq *message);
+ +
279 (const Ciot__CiotReq *message,
+
280 uint8_t *out);
+ +
282 (const Ciot__CiotReq *message,
+
283 ProtobufCBuffer *buffer);
+ + +
286 (ProtobufCAllocator *allocator,
+
287 size_t len,
+
288 const uint8_t *data);
+ +
290 (Ciot__CiotReq *message,
+
291 ProtobufCAllocator *allocator);
+
292/* Ciot__CiotData methods */
+ +
294 (Ciot__CiotData *message);
+ +
296 (const Ciot__CiotData *message);
+ +
298 (const Ciot__CiotData *message,
+
299 uint8_t *out);
+ +
301 (const Ciot__CiotData *message,
+
302 ProtobufCBuffer *buffer);
+ + +
305 (ProtobufCAllocator *allocator,
+
306 size_t len,
+
307 const uint8_t *data);
+ +
309 (Ciot__CiotData *message,
+
310 ProtobufCAllocator *allocator);
+
311/* --- per-message closures --- */
+
312
+ +
314 (const Ciot__CiotCfg *message,
+
315 void *closure_data);
+ +
317 (const Ciot__CiotInfo *message,
+
318 void *closure_data);
+ +
320 (const Ciot__CiotStatus *message,
+
321 void *closure_data);
+ +
323 (const Ciot__CiotReqData *message,
+
324 void *closure_data);
+ +
326 (const Ciot__CiotReq *message,
+
327 void *closure_data);
+ +
329 (const Ciot__CiotData *message,
+
330 void *closure_data);
+
331
+
332/* --- services --- */
+
333
+
334
+
335/* --- descriptors --- */
+
336
+
337extern const ProtobufCEnumDescriptor ciot__ciot_state__descriptor;
+
338extern const ProtobufCEnumDescriptor ciot__ciot_req_type__descriptor;
+
339extern const ProtobufCEnumDescriptor ciot__ciot_serialization_type__descriptor;
+
340extern const ProtobufCMessageDescriptor ciot__ciot_cfg__descriptor;
+
341extern const ProtobufCMessageDescriptor ciot__ciot_info__descriptor;
+
342extern const ProtobufCMessageDescriptor ciot__ciot_status__descriptor;
+
343extern const ProtobufCMessageDescriptor ciot__ciot_req_data__descriptor;
+
344extern const ProtobufCMessageDescriptor ciot__ciot_req__descriptor;
+
345extern const ProtobufCMessageDescriptor ciot__ciot_data__descriptor;
+
346
+
347PROTOBUF_C__END_DECLS
+
348
+
349
+
350#endif /* PROTOBUF_C_ciot_2fproto_2fv1_2fciot_2eproto__INCLUDED */
+
size_t ciot__ciot_cfg__pack(const Ciot__CiotCfg *message, uint8_t *out)
Definition ciot.pb-c.c:23
+
const ProtobufCMessageDescriptor ciot__ciot_status__descriptor
Definition ciot.pb-c.c:373
+
void ciot__ciot_req__init(Ciot__CiotReq *message)
Definition ciot.pb-c.c:191
+
size_t ciot__ciot_status__pack_to_buffer(const Ciot__CiotStatus *message, ProtobufCBuffer *buffer)
Definition ciot.pb-c.c:120
+
void ciot__ciot_data__init(Ciot__CiotData *message)
Definition ciot.pb-c.c:236
+
_Ciot__CiotState
Definition ciot.pb-c.h:31
+
@ CIOT__CIOT_STATE__CIOT_STATE_BUSY
Definition ciot.pb-c.h:39
+
@ CIOT__CIOT_STATE__CIOT_STATE_ERROR
Definition ciot.pb-c.h:43
+
@ CIOT__CIOT_STATE__CIOT_STATE_IDLE
Definition ciot.pb-c.h:35
+
Ciot__CiotReqData * ciot__ciot_req_data__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ciot.pb-c.c:173
+
const ProtobufCMessageDescriptor ciot__ciot_data__descriptor
Definition ciot.pb-c.c:539
+
size_t ciot__ciot_req_data__get_packed_size(const Ciot__CiotReqData *message)
Definition ciot.pb-c.c:152
+
const ProtobufCMessageDescriptor ciot__ciot_info__descriptor
Definition ciot.pb-c.c:321
+
size_t ciot__ciot_req__get_packed_size(const Ciot__CiotReq *message)
Definition ciot.pb-c.c:197
+
void ciot__ciot_info__free_unpacked(Ciot__CiotInfo *message, ProtobufCAllocator *allocator)
Definition ciot.pb-c.c:92
+
void(* Ciot__CiotReq_Closure)(const Ciot__CiotReq *message, void *closure_data)
Definition ciot.pb-c.h:326
+
_Ciot__CiotReqType
Definition ciot.pb-c.h:49
+
@ CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_UNKOWN
Definition ciot.pb-c.h:53
+
@ CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_DELETE_IFACE_CFG
Definition ciot.pb-c.h:61
+
@ CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_PROXY_MSG
Definition ciot.pb-c.h:65
+
@ CIOT__CIOT_REQ_TYPE__CIOT_REQ_TYPE_SAVE_IFACE_CFG
Definition ciot.pb-c.h:57
+
size_t ciot__ciot_status__get_packed_size(const Ciot__CiotStatus *message)
Definition ciot.pb-c.c:107
+
void ciot__ciot_status__free_unpacked(Ciot__CiotStatus *message, ProtobufCAllocator *allocator)
Definition ciot.pb-c.c:137
+
size_t ciot__ciot_status__pack(const Ciot__CiotStatus *message, uint8_t *out)
Definition ciot.pb-c.c:113
+
Ciot__CiotCfg * ciot__ciot_cfg__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ciot.pb-c.c:38
+
size_t ciot__ciot_data__get_packed_size(const Ciot__CiotData *message)
Definition ciot.pb-c.c:242
+
void(* Ciot__CiotCfg_Closure)(const Ciot__CiotCfg *message, void *closure_data)
Definition ciot.pb-c.h:314
+
const ProtobufCMessageDescriptor ciot__ciot_cfg__descriptor
Definition ciot.pb-c.c:283
+
size_t ciot__ciot_req_data__pack_to_buffer(const Ciot__CiotReqData *message, ProtobufCBuffer *buffer)
Definition ciot.pb-c.c:165
+
Ciot__CiotData * ciot__ciot_data__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ciot.pb-c.c:263
+
size_t ciot__ciot_data__pack(const Ciot__CiotData *message, uint8_t *out)
Definition ciot.pb-c.c:248
+
Ciot__CiotInfo * ciot__ciot_info__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ciot.pb-c.c:83
+
void ciot__ciot_req__free_unpacked(Ciot__CiotReq *message, ProtobufCAllocator *allocator)
Definition ciot.pb-c.c:227
+
void ciot__ciot_cfg__init(Ciot__CiotCfg *message)
Definition ciot.pb-c.c:11
+
void(* Ciot__CiotStatus_Closure)(const Ciot__CiotStatus *message, void *closure_data)
Definition ciot.pb-c.h:320
+
size_t ciot__ciot_info__pack(const Ciot__CiotInfo *message, uint8_t *out)
Definition ciot.pb-c.c:68
+
void ciot__ciot_info__init(Ciot__CiotInfo *message)
Definition ciot.pb-c.c:56
+
void ciot__ciot_status__init(Ciot__CiotStatus *message)
Definition ciot.pb-c.c:101
+
const ProtobufCEnumDescriptor ciot__ciot_req_type__descriptor
Definition ciot.pb-c.c:601
+
size_t ciot__ciot_req_data__pack(const Ciot__CiotReqData *message, uint8_t *out)
Definition ciot.pb-c.c:158
+
const ProtobufCMessageDescriptor ciot__ciot_req__descriptor
Definition ciot.pb-c.c:475
+
enum _Ciot__CiotSerializationType Ciot__CiotSerializationType
+
void ciot__ciot_cfg__free_unpacked(Ciot__CiotCfg *message, ProtobufCAllocator *allocator)
Definition ciot.pb-c.c:47
+
void ciot__ciot_data__free_unpacked(Ciot__CiotData *message, ProtobufCAllocator *allocator)
Definition ciot.pb-c.c:272
+
void ciot__ciot_req_data__init(Ciot__CiotReqData *message)
Definition ciot.pb-c.c:146
+
Ciot__CiotReq * ciot__ciot_req__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ciot.pb-c.c:218
+
size_t ciot__ciot_info__pack_to_buffer(const Ciot__CiotInfo *message, ProtobufCBuffer *buffer)
Definition ciot.pb-c.c:75
+
enum _Ciot__CiotState Ciot__CiotState
+
size_t ciot__ciot_req__pack(const Ciot__CiotReq *message, uint8_t *out)
Definition ciot.pb-c.c:203
+
void(* Ciot__CiotInfo_Closure)(const Ciot__CiotInfo *message, void *closure_data)
Definition ciot.pb-c.h:317
+
size_t ciot__ciot_req__pack_to_buffer(const Ciot__CiotReq *message, ProtobufCBuffer *buffer)
Definition ciot.pb-c.c:210
+
void ciot__ciot_req_data__free_unpacked(Ciot__CiotReqData *message, ProtobufCAllocator *allocator)
Definition ciot.pb-c.c:182
+
_Ciot__CiotSerializationType
Definition ciot.pb-c.h:71
+
@ CIOT__CIOT_SERIALIZATION_TYPE__CIOT_SERIALIZATION_NONE
Definition ciot.pb-c.h:75
+
@ CIOT__CIOT_SERIALIZATION_TYPE__CIOT_SERIALIZATION_PROTOBUF
Definition ciot.pb-c.h:79
+
const ProtobufCEnumDescriptor ciot__ciot_serialization_type__descriptor
Definition ciot.pb-c.c:629
+
enum _Ciot__CiotReqType Ciot__CiotReqType
+
void(* Ciot__CiotReqData_Closure)(const Ciot__CiotReqData *message, void *closure_data)
Definition ciot.pb-c.h:323
+
typedefPROTOBUF_C__BEGIN_DECLS struct _Ciot__CiotCfg Ciot__CiotCfg
Definition ciot.pb-c.h:18
+
size_t ciot__ciot_data__pack_to_buffer(const Ciot__CiotData *message, ProtobufCBuffer *buffer)
Definition ciot.pb-c.c:255
+
const ProtobufCMessageDescriptor ciot__ciot_req_data__descriptor
Definition ciot.pb-c.c:424
+
size_t ciot__ciot_cfg__get_packed_size(const Ciot__CiotCfg *message)
Definition ciot.pb-c.c:17
+
Ciot__CiotStatus * ciot__ciot_status__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition ciot.pb-c.c:128
+
void(* Ciot__CiotData_Closure)(const Ciot__CiotData *message, void *closure_data)
Definition ciot.pb-c.h:329
+
const ProtobufCEnumDescriptor ciot__ciot_state__descriptor
Definition ciot.pb-c.c:569
+
size_t ciot__ciot_info__get_packed_size(const Ciot__CiotInfo *message)
Definition ciot.pb-c.c:62
+
size_t ciot__ciot_cfg__pack_to_buffer(const Ciot__CiotCfg *message, ProtobufCBuffer *buffer)
Definition ciot.pb-c.c:30
+
Definition ciot.pb-c.h:89
+
ProtobufCMessage base
Definition ciot.pb-c.h:90
+
Definition ciot.pb-c.h:177
+
Ciot__CiotStatus * status
Definition ciot.pb-c.h:186
+
Ciot__CiotCfg * config
Definition ciot.pb-c.h:182
+
ProtobufCMessage base
Definition ciot.pb-c.h:178
+
Ciot__CiotReq * request
Definition ciot.pb-c.h:190
+
Definition ciot.pb-c.h:101
+
ProtobufCMessage base
Definition ciot.pb-c.h:102
+
ProtobufCBinaryData version
Definition ciot.pb-c.h:106
+
Definition ciot.pb-c.h:137
+
ProtobufCMessage base
Definition ciot.pb-c.h:138
+
ProtobufCBinaryData payload
Definition ciot.pb-c.h:146
+
uint32_t iface_id
Definition ciot.pb-c.h:142
+
Definition ciot.pb-c.h:157
+
Ciot__CiotReqType type
Definition ciot.pb-c.h:162
+
ProtobufCMessage base
Definition ciot.pb-c.h:158
+
Ciot__CiotReqData * data
Definition ciot.pb-c.h:166
+
Definition ciot.pb-c.h:117
+
Ciot__CiotState state
Definition ciot.pb-c.h:122
+
Ciot__CiotInfo * info
Definition ciot.pb-c.h:126
+
ProtobufCMessage base
Definition ciot.pb-c.h:118
+
+
+ + + + diff --git a/docs/ciot__ble_8h.html b/docs/ciot__ble_8h.html index 22be9b9..152f05f 100644 --- a/docs/ciot__ble_8h.html +++ b/docs/ciot__ble_8h.html @@ -97,7 +97,7 @@ Typedefs | Enumerations | Functions -
ciot_ble.h File Reference
+
ciot_ble.h File Reference
diff --git a/docs/ciot__ble_8h_source.html b/docs/ciot__ble_8h_source.html index 523017e..36e074e 100644 --- a/docs/ciot__ble_8h_source.html +++ b/docs/ciot__ble_8h_source.html @@ -195,7 +195,7 @@
ciot_msg_header_t header
Definition ciot_ble.h:44
ciot_ble_status_t status
Definition ciot_ble.h:45
Structure for CIOT BLE status.
Definition ciot_ble_types.h:59
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
diff --git a/docs/ciot__ble__scn_8h.html b/docs/ciot__ble__scn_8h.html index a9e3b95..51aa255 100644 --- a/docs/ciot__ble__scn_8h.html +++ b/docs/ciot__ble__scn_8h.html @@ -96,7 +96,7 @@ Data Structures | Typedefs | Functions -
ciot_ble_scn.h File Reference
+
ciot_ble_scn.h File Reference
diff --git a/docs/ciot__ble__scn_8h_source.html b/docs/ciot__ble__scn_8h_source.html index 78294cd..b6758a2 100644 --- a/docs/ciot__ble__scn_8h_source.html +++ b/docs/ciot__ble__scn_8h_source.html @@ -159,7 +159,7 @@
ciot_ble_scn_status_t status
Definition ciot_ble_scn.h:29
ciot_msg_header_t header
Definition ciot_ble_scn.h:28
Structure for CIOT BLE SCN status.
Definition ciot_ble_scn_types.h:64
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
diff --git a/docs/ciot__ble__scn__types_8h.html b/docs/ciot__ble__scn__types_8h.html index 37800a2..a19d891 100644 --- a/docs/ciot__ble__scn__types_8h.html +++ b/docs/ciot__ble__scn__types_8h.html @@ -95,7 +95,7 @@
Data Structures | Enumerations
-
ciot_ble_scn_types.h File Reference
+
ciot_ble_scn_types.h File Reference
diff --git a/docs/ciot__ble__types_8h.html b/docs/ciot__ble__types_8h.html index f1c27e6..a0f41e1 100644 --- a/docs/ciot__ble__types_8h.html +++ b/docs/ciot__ble__types_8h.html @@ -95,7 +95,7 @@
Data Structures | Enumerations
-
ciot_ble_types.h File Reference
+
ciot_ble_types.h File Reference
diff --git a/docs/ciot__bridge_8h.html b/docs/ciot__bridge_8h.html index db7f688..d36f8f0 100644 --- a/docs/ciot__bridge_8h.html +++ b/docs/ciot__bridge_8h.html @@ -97,7 +97,7 @@ Macros | Typedefs | Functions
-
ciot_bridge.h File Reference
+
ciot_bridge.h File Reference
diff --git a/docs/ciot__bridge_8h_source.html b/docs/ciot__bridge_8h_source.html index 4d3e1d6..6576462 100644 --- a/docs/ciot__bridge_8h_source.html +++ b/docs/ciot__bridge_8h_source.html @@ -156,7 +156,7 @@
ciot_bridge_status_t status
Definition ciot_bridge.h:31
ciot_msg_header_t header
Definition ciot_bridge.h:30
Structure for CIOT bridge status.
Definition ciot_bridge_types.h:50
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
diff --git a/docs/ciot__bridge__types_8h.html b/docs/ciot__bridge__types_8h.html index 682fd07..7aef910 100644 --- a/docs/ciot__bridge__types_8h.html +++ b/docs/ciot__bridge__types_8h.html @@ -95,7 +95,7 @@
Data Structures | Enumerations
-
ciot_bridge_types.h File Reference
+
ciot_bridge_types.h File Reference
diff --git a/docs/ciot__dfu_8h.html b/docs/ciot__dfu_8h.html index 88042ac..4b279cd 100644 --- a/docs/ciot__dfu_8h.html +++ b/docs/ciot__dfu_8h.html @@ -97,7 +97,7 @@ Typedefs | Enumerations | Functions
-
ciot_dfu.h File Reference
+
ciot_dfu.h File Reference
diff --git a/docs/ciot__dfu_8h_source.html b/docs/ciot__dfu_8h_source.html index 029166b..b39d064 100644 --- a/docs/ciot__dfu_8h_source.html +++ b/docs/ciot__dfu_8h_source.html @@ -164,7 +164,7 @@
ciot_dfu_status_t status
Definition ciot_dfu.h:36
ciot_msg_header_t header
Definition ciot_dfu.h:35
Structure for CIOT DFU status.
Definition ciot_dfu_types.h:63
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
diff --git a/docs/ciot__dfu__types_8h.html b/docs/ciot__dfu__types_8h.html index 5d7904c..b4935b3 100644 --- a/docs/ciot__dfu__types_8h.html +++ b/docs/ciot__dfu__types_8h.html @@ -95,7 +95,7 @@
Data Structures | Enumerations
-
ciot_dfu_types.h File Reference
+
ciot_dfu_types.h File Reference
diff --git a/docs/ciot__eth_8h.html b/docs/ciot__eth_8h.html index 1295c11..fc9140d 100644 --- a/docs/ciot__eth_8h.html +++ b/docs/ciot__eth_8h.html @@ -97,7 +97,7 @@ Typedefs | Enumerations | Functions
-
ciot_eth.h File Reference
+
ciot_eth.h File Reference
diff --git a/docs/ciot__eth_8h_source.html b/docs/ciot__eth_8h_source.html index 57da50e..41c6469 100644 --- a/docs/ciot__eth_8h_source.html +++ b/docs/ciot__eth_8h_source.html @@ -164,7 +164,7 @@
Structure representing the CIOT Ethernet status message.
Definition ciot_eth.h:40
ciot_tcp_status_t status
Definition ciot_eth.h:42
ciot_msg_header_t header
Definition ciot_eth.h:41
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
Structure for CIOT TCP configuration.
Definition ciot_tcp_types.h:65
Structure for CIOT TCP request.
Definition ciot_tcp_types.h:114
Structure for CIOT TCP status.
Definition ciot_tcp_types.h:95
diff --git a/docs/ciot__gpio_8h.html b/docs/ciot__gpio_8h.html index 940feba..eb69d03 100644 --- a/docs/ciot__gpio_8h.html +++ b/docs/ciot__gpio_8h.html @@ -96,7 +96,7 @@ Data Structures | Typedefs | Functions
-
ciot_gpio.h File Reference
+
ciot_gpio.h File Reference
diff --git a/docs/ciot__gpio_8h_source.html b/docs/ciot__gpio_8h_source.html index 9dad6f9..b83da5e 100644 --- a/docs/ciot__gpio_8h_source.html +++ b/docs/ciot__gpio_8h_source.html @@ -159,7 +159,7 @@
ciot_msg_header_t header
Definition ciot_gpio.h:31
ciot_gpio_status_t status
Definition ciot_gpio.h:32
Structure for CIOT GPIO status.
Definition ciot_gpio_types.h:75
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
diff --git a/docs/ciot__gpio__types_8h.html b/docs/ciot__gpio__types_8h.html index 3355efe..0811bb5 100644 --- a/docs/ciot__gpio__types_8h.html +++ b/docs/ciot__gpio__types_8h.html @@ -95,7 +95,7 @@
Data Structures | Enumerations
-
ciot_gpio_types.h File Reference
+
ciot_gpio_types.h File Reference
diff --git a/docs/ciot__httpc_8h_source.html b/docs/ciot__httpc_8h_source.html index 77d2682..2693ffe 100644 --- a/docs/ciot__httpc_8h_source.html +++ b/docs/ciot__httpc_8h_source.html @@ -164,7 +164,7 @@
ciot_httpc_status_t status
Definition ciot_httpc.h:39
ciot_msg_header_t header
Definition ciot_httpc.h:38
Structure for CIOT HTTP client status.
Definition ciot_httpc_types.h:108
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
diff --git a/docs/ciot__httpc__types_8h.html b/docs/ciot__httpc__types_8h.html index 9226c30..ddc718f 100644 --- a/docs/ciot__httpc__types_8h.html +++ b/docs/ciot__httpc__types_8h.html @@ -97,7 +97,7 @@ Macros | Typedefs | Enumerations -
ciot_httpc_types.h File Reference
+
ciot_httpc_types.h File Reference
diff --git a/docs/ciot__https_8h.html b/docs/ciot__https_8h.html index f981ee5..c03f0db 100644 --- a/docs/ciot__https_8h.html +++ b/docs/ciot__https_8h.html @@ -97,7 +97,7 @@ Typedefs | Enumerations | Functions
-
ciot_https.h File Reference
+
ciot_https.h File Reference
diff --git a/docs/ciot__https_8h_source.html b/docs/ciot__https_8h_source.html index 0a0e4c7..eedaff0 100644 --- a/docs/ciot__https_8h_source.html +++ b/docs/ciot__https_8h_source.html @@ -162,7 +162,7 @@
ciot_msg_header_t header
Definition ciot_https.h:38
ciot_https_status_t status
Definition ciot_https.h:39
Structure for CIOT HTTP server status.
Definition ciot_https_types.h:61
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
diff --git a/docs/ciot__https__types_8h.html b/docs/ciot__https__types_8h.html index 5dc081e..e358b37 100644 --- a/docs/ciot__https__types_8h.html +++ b/docs/ciot__https__types_8h.html @@ -97,7 +97,7 @@ Macros | Typedefs | Enumerations -
ciot_https_types.h File Reference
+
ciot_https_types.h File Reference
diff --git a/docs/ciot__iface_8h_source.html b/docs/ciot__iface_8h_source.html index 912992a..c94b2fa 100644 --- a/docs/ciot__iface_8h_source.html +++ b/docs/ciot__iface_8h_source.html @@ -324,7 +324,7 @@
ciot_iface_base_t base
Definition ciot_iface.h:132
ciot_serializer_t serializer
Definition ciot_iface.h:135
Structure for CIOT message interface information.
Definition ciot_msg_types.h:89
-
Structure for CIOT message.
Definition ciot_msg_types.h:142
+
Structure for CIOT message.
Definition ciot_msg_types.h:143
CIOT Serializer structure.
Definition ciot_serializer.h:59
Union for CIOT interface event data.
Definition ciot_iface.h:51
ciot_msg_t msg
Definition ciot_iface.h:52
diff --git a/docs/ciot__ifaces_8h_source.html b/docs/ciot__ifaces_8h_source.html index c92264c..bf21f83 100644 --- a/docs/ciot__ifaces_8h_source.html +++ b/docs/ciot__ifaces_8h_source.html @@ -167,8 +167,8 @@
76
77#endif
-
ciot.h
-
ciot_t
struct ciot * ciot_t
CIOT network handle.
Definition ciot.h:49
+
ciot.h
Header file for the CIOT core instance.
+
ciot_t
struct ciot * ciot_t
CIOT network handle.
Definition ciot.h:54
ciot_ble.h
Defines functions and types for CIOT Bluetooth Low Energy (BLE) module.
ciot_ble_t
struct ciot_ble * ciot_ble_t
Pointer to a CIOT BLE object.
Definition ciot_ble.h:23
ciot_ble_scn.h
Defines functions and types for CIOT Bluetooth Low Energy (BLE) scanner.
diff --git a/docs/ciot__lib_8h_source.html b/docs/ciot__lib_8h_source.html index 5115370..96662b4 100644 --- a/docs/ciot__lib_8h_source.html +++ b/docs/ciot__lib_8h_source.html @@ -156,8 +156,10 @@
88#include "ciot_timer.h"
89#include "ciot_utils.h"
90
-
91#endif
-
ciot.h
+
95#include "ciot_serializer_pb.h
+
96
+
97#endif
+
ciot.h
Header file for the CIOT core instance.
ciot_ble.h
Defines functions and types for CIOT Bluetooth Low Energy (BLE) module.
ciot_ble_scn.h
Defines functions and types for CIOT Bluetooth Low Energy (BLE) scanner.
ciot_ble_scn_types.h
Defines data types and structures for CIOT BLE SCN.
diff --git a/docs/ciot__mqttc_8h.html b/docs/ciot__mqttc_8h.html index 2fe4a3f..3cb8494 100644 --- a/docs/ciot__mqttc_8h.html +++ b/docs/ciot__mqttc_8h.html @@ -97,7 +97,7 @@ Typedefs | Enumerations | Functions -
ciot_mqttc.h File Reference
+
ciot_mqttc.h File Reference
@@ -159,6 +159,18 @@ ciot_err_t ciot_mqttc_reset_data_rate (ciot_mqttc_t self)  Resets the data rate for the MQTT client.
  +ciot_err_t ciot_mqttc_get_topics (ciot_mqttc_t self, ciot_mqttc_topics_cfg_t *topics) + Get the configured MQTT topics.
+  +ciot_err_t ciot_mqttc_set_topics (ciot_mqttc_t self, ciot_mqttc_topics_cfg_t *topics) + Set the MQTT topics configuration.
+  +ciot_err_t ciot_mqttc_set_d2b_topic (ciot_mqttc_t self, char *topic) + Set the device-to-backend MQTT topic.
+  +ciot_err_t ciot_mqttc_set_b2d_topic (ciot_mqttc_t self, char *topic) + Set the backend-to-device MQTT topic.

Detailed Description

Header file for CIOT MQTT client functionality.

@@ -225,6 +237,37 @@

Function Documentation

+ +

◆ ciot_mqttc_get_topics()

+ +
+
+ + + + + + + + + + + +
ciot_err_t ciot_mqttc_get_topics (ciot_mqttc_t self,
ciot_mqttc_topics_cfg_t * topics )
+
+ +

Get the configured MQTT topics.

+
Parameters
+ + + +
selfPointer to the CIOT MQTT client instance.
topicsPointer to the topics configuration structure.
+
+
+
Returns
Error code indicating success or failure.
+ +
+

◆ ciot_mqttc_new()

@@ -392,6 +435,99 @@

Returns
An error code indicating the status of the operation.
+

+
+ +

◆ ciot_mqttc_set_b2d_topic()

+ +
+
+ + + + + + + + + + + +
ciot_err_t ciot_mqttc_set_b2d_topic (ciot_mqttc_t self,
char * topic )
+
+ +

Set the backend-to-device MQTT topic.

+
Parameters
+ + + +
selfPointer to the CIOT MQTT client instance.
topicTopic for backend-to-device communication.
+
+
+
Returns
Error code indicating success or failure.
+ +
+
+ +

◆ ciot_mqttc_set_d2b_topic()

+ +
+
+ + + + + + + + + + + +
ciot_err_t ciot_mqttc_set_d2b_topic (ciot_mqttc_t self,
char * topic )
+
+ +

Set the device-to-backend MQTT topic.

+
Parameters
+ + + +
selfPointer to the CIOT MQTT client instance.
topicTopic for device-to-backend communication.
+
+
+
Returns
Error code indicating success or failure.
+ +
+
+ +

◆ ciot_mqttc_set_topics()

+ +
+
+ + + + + + + + + + + +
ciot_err_t ciot_mqttc_set_topics (ciot_mqttc_t self,
ciot_mqttc_topics_cfg_t * topics )
+
+ +

Set the MQTT topics configuration.

+
Parameters
+ + + +
selfPointer to the CIOT MQTT client instance.
topicsPointer to the topics configuration structure.
+
+
+
Returns
Error code indicating success or failure.
+
diff --git a/docs/ciot__mqttc_8h.js b/docs/ciot__mqttc_8h.js index ac9267c..94b32b7 100644 --- a/docs/ciot__mqttc_8h.js +++ b/docs/ciot__mqttc_8h.js @@ -8,11 +8,15 @@ var ciot__mqttc_8h = [ "CIOT_MQTT_EVENT_SUBSCRIBED", "ciot__mqttc_8h.html#afc1eb0a89e9bcff163827db2fb32b898aa028c2dfe1e1b2a3a3efb1cc698a6b68", null ], [ "CIOT_MQTT_EVENT_UNSUBSCRIBED", "ciot__mqttc_8h.html#afc1eb0a89e9bcff163827db2fb32b898a6cefc05e924cb723d9f72f2e674e5ef7", null ] ] ], + [ "ciot_mqttc_get_topics", "ciot__mqttc_8h.html#a0a9952914402dd68998f7be738773630", null ], [ "ciot_mqttc_new", "ciot__mqttc_8h.html#aa6ac15e5f6cfb3346cff3247dd25c279", null ], [ "ciot_mqttc_process_req", "ciot__mqttc_8h.html#aba9394c6a08cb0c2087ffdc537f75125", null ], [ "ciot_mqttc_publish", "ciot__mqttc_8h.html#a55aab38479c4242b37397c51e15dad37", null ], [ "ciot_mqttc_reset_data_rate", "ciot__mqttc_8h.html#ad7bcb714dbb489d3b8508cb7acf72b27", null ], [ "ciot_mqttc_send_data", "ciot__mqttc_8h.html#aa04b6f015e9bbc8ab614027c460f899d", null ], + [ "ciot_mqttc_set_b2d_topic", "ciot__mqttc_8h.html#a78de770a07e4e1bc792ca9834ddeed2b", null ], + [ "ciot_mqttc_set_d2b_topic", "ciot__mqttc_8h.html#a81f0700b01cf7e7f49970768a8757a27", null ], + [ "ciot_mqttc_set_topics", "ciot__mqttc_8h.html#a903b3f4cfb5564dff5e3dabed0d948ff", null ], [ "ciot_mqttc_start", "ciot__mqttc_8h.html#a19c183447b4f862cb53f6ae127a80db0", null ], [ "ciot_mqttc_stop", "ciot__mqttc_8h.html#af81da24c4d251706f5f901e810752597", null ], [ "ciot_mqttc_subscribe", "ciot__mqttc_8h.html#aee005c5cae5b325548b381df58613742", null ] diff --git a/docs/ciot__mqttc_8h_source.html b/docs/ciot__mqttc_8h_source.html index cb33f87..b43dd27 100644 --- a/docs/ciot__mqttc_8h_source.html +++ b/docs/ciot__mqttc_8h_source.html @@ -147,19 +147,31 @@
104
110ciot_err_t ciot_mqttc_reset_data_rate(ciot_mqttc_t self);
111
-
112#ifdef __cplusplus
-
113}
-
114#endif
-
115
-
116#endif
+
119ciot_err_t ciot_mqttc_get_topics(ciot_mqttc_t self, ciot_mqttc_topics_cfg_t *topics);
+
120
+
128ciot_err_t ciot_mqttc_set_topics(ciot_mqttc_t self, ciot_mqttc_topics_cfg_t *topics);
+
129
+
137ciot_err_t ciot_mqttc_set_d2b_topic(ciot_mqttc_t self, char *topic);
+
138
+
146ciot_err_t ciot_mqttc_set_b2d_topic(ciot_mqttc_t self, char *topic);
+
147
+
148#ifdef __cplusplus
+
149}
+
150#endif
+
151
+
152#endif
ciot_err.h
Header file for CIOT error handling.
ciot_err_t
ciot_err_t
Enumeration of CIOT error codes.
Definition ciot_err.h:71
ciot_iface.h
Header file for the CIOT interface.
CIOT_IFACE_EVENT_CUSTOM
@ CIOT_IFACE_EVENT_CUSTOM
Definition ciot_iface.h:45
+
ciot_mqttc_get_topics
ciot_err_t ciot_mqttc_get_topics(ciot_mqttc_t self, ciot_mqttc_topics_cfg_t *topics)
Get the configured MQTT topics.
ciot_mqttc_t
struct ciot_mqttc * ciot_mqttc_t
Structure representing a CIOT MQTT client instance.
Definition ciot_mqttc.h:25
ciot_mqttc_start
ciot_err_t ciot_mqttc_start(ciot_mqttc_t self, ciot_mqttc_cfg_t *cfg)
Starts the CIOT MQTT client.
ciot_mqttc_event_id_t
enum ciot_mqttc_event_id ciot_mqttc_event_id_t
Enumeration for CIOT MQTT client event IDs.
ciot_mqttc_publish
ciot_err_t ciot_mqttc_publish(ciot_mqttc_t self, char *topic, uint8_t *data, int size, uint8_t qos)
Publishes a message using the MQTT client.
+
ciot_mqttc_set_b2d_topic
ciot_err_t ciot_mqttc_set_b2d_topic(ciot_mqttc_t self, char *topic)
Set the backend-to-device MQTT topic.
+
ciot_mqttc_set_d2b_topic
ciot_err_t ciot_mqttc_set_d2b_topic(ciot_mqttc_t self, char *topic)
Set the device-to-backend MQTT topic.
+
ciot_mqttc_set_topics
ciot_err_t ciot_mqttc_set_topics(ciot_mqttc_t self, ciot_mqttc_topics_cfg_t *topics)
Set the MQTT topics configuration.
ciot_mqttc_send_data
ciot_err_t ciot_mqttc_send_data(ciot_mqttc_t self, uint8_t *data, int size)
Sends data using the MQTT client.
ciot_mqttc_new
ciot_mqttc_t ciot_mqttc_new(void *handle)
Creates a new CIOT MQTT client instance.
ciot_mqttc_process_req
ciot_err_t ciot_mqttc_process_req(ciot_mqttc_t self, ciot_mqttc_req_t *req)
Processes MQTT client requests.
@@ -177,7 +189,8 @@
ciot_mqttc_status_msg_t::status
ciot_mqttc_status_t status
Definition ciot_mqttc.h:43
ciot_mqttc_status_msg_t::header
ciot_msg_header_t header
Definition ciot_mqttc.h:42
ciot_mqttc_status_t
Structure for CIOT MQTT client status.
Definition ciot_mqttc_types.h:123
-
ciot_msg_header_t
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
ciot_mqttc_topics_cfg_t
Structure for CIOT MQTT client topics configuration.
Definition ciot_mqttc_types.h:99
+
ciot_msg_header_t
Structure for CIOT message header.
Definition ciot_msg_types.h:133
diff --git a/docs/ciot__mqttc__types_8h.html b/docs/ciot__mqttc__types_8h.html index c8c44f5..a4de8db 100644 --- a/docs/ciot__mqttc__types_8h.html +++ b/docs/ciot__mqttc__types_8h.html @@ -97,7 +97,7 @@ Macros | Typedefs | Enumerations -
ciot_mqttc_types.h File Reference
+
ciot_mqttc_types.h File Reference
diff --git a/docs/ciot__msg__types_8h_source.html b/docs/ciot__msg__types_8h_source.html index 4277cf6..eb69b19 100644 --- a/docs/ciot__msg__types_8h_source.html +++ b/docs/ciot__msg__types_8h_source.html @@ -196,47 +196,48 @@
111 ciot_uart_data_u uart;
112 ciot_usb_data_u usb;
113 ciot_tcp_data_u tcp;
-
114 ciot_wifi_data_u wifi;
-
115 ciot_ble_data_u ble;
-
116 ciot_ble_scn_data_u ble_scn;
-
117 ciot_ntp_data_u ntp;
-
118 ciot_ota_data_u ota;
-
119 ciot_dfu_data_u dfu;
-
120 ciot_https_data_u https;
-
121 ciot_httpc_data_u httpc;
-
122 ciot_mqttc_data_u mqtt;
-
123 ciot_bridge_data_u bridge;
-
124 ciot_msg_error_t error;
-
125 uint8_t payload[256];
-
126} ciot_msg_data_u;
+
114 ciot_tcp_data_u eth;
+
115 ciot_wifi_data_u wifi;
+
116 ciot_ble_data_u ble;
+
117 ciot_ble_scn_data_u ble_scn;
+
118 ciot_ntp_data_u ntp;
+
119 ciot_ota_data_u ota;
+
120 ciot_dfu_data_u dfu;
+
121 ciot_https_data_u https;
+
122 ciot_httpc_data_u httpc;
+
123 ciot_mqttc_data_u mqtt;
+
124 ciot_bridge_data_u bridge;
+
125 ciot_msg_error_t error;
+
126 uint8_t payload[256];
+
127} ciot_msg_data_u;
-
127
-
-
131typedef struct __attribute__((packed))
-
132{
-
133 uint8_t id;
-
134 ciot_msg_type_t type;
-
135 ciot_msg_iface_info_t iface;
-
136} ciot_msg_header_t;
+
128
+
+
132typedef struct __attribute__((packed))
+
133{
+
134 uint8_t id;
+ + +
-
137
-
-
141typedef struct __attribute__((packed))
-
142{
-
143 uint8_t id;
- - - -
147} ciot_msg_t;
+
138
+
+
142typedef struct __attribute__((packed))
+
143{
+
144 uint8_t id;
+ + + +
148} ciot_msg_t;
-
148
- -
155
-
156#ifdef __cplusplus
-
157}
-
158#endif
-
159
-
160#endif
+
149
+ +
156
+
157#ifdef __cplusplus
+
158}
+
159#endif
+
160
+
161#endif
Defines data types and structures for CIOT BLE SCN.
Defines data types and structures for CIOT BLE.
Defines data types and structures for CIOT bridge.
@@ -289,18 +290,18 @@
Structure for CIOT message error information.
Definition ciot_msg_types.h:98
ciot_msg_type_t msg_type
Definition ciot_msg_types.h:99
uint32_t code
Definition ciot_msg_types.h:100
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
-
uint8_t id
Definition ciot_msg_types.h:133
-
ciot_msg_iface_info_t iface
Definition ciot_msg_types.h:135
-
ciot_msg_type_t type
Definition ciot_msg_types.h:134
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
+
uint8_t id
Definition ciot_msg_types.h:134
+
ciot_msg_iface_info_t iface
Definition ciot_msg_types.h:136
+
ciot_msg_type_t type
Definition ciot_msg_types.h:135
Structure for CIOT message interface information.
Definition ciot_msg_types.h:89
uint8_t id
Definition ciot_msg_types.h:90
ciot_msg_iface_type_t type
Definition ciot_msg_types.h:91
-
Structure for CIOT message.
Definition ciot_msg_types.h:142
-
uint8_t id
Definition ciot_msg_types.h:143
-
ciot_msg_iface_info_t iface
Definition ciot_msg_types.h:145
-
ciot_msg_type_t type
Definition ciot_msg_types.h:144
-
ciot_msg_data_u data
Definition ciot_msg_types.h:146
+
Structure for CIOT message.
Definition ciot_msg_types.h:143
+
uint8_t id
Definition ciot_msg_types.h:144
+
ciot_msg_iface_info_t iface
Definition ciot_msg_types.h:146
+
ciot_msg_type_t type
Definition ciot_msg_types.h:145
+
ciot_msg_data_u data
Definition ciot_msg_types.h:147
Union for CIOT BLE data.
Definition ciot_ble_types.h:86
Union for CIOT BLE SCN data.
Definition ciot_ble_scn_types.h:90
Union for CIOT bridge data.
Definition ciot_bridge_types.h:75
@@ -312,18 +313,19 @@
Union for CIOT message data.
Definition ciot_msg_types.h:107
ciot_sys_data_u system
Definition ciot_msg_types.h:110
ciot_tcp_data_u tcp
Definition ciot_msg_types.h:113
-
ciot_bridge_data_u bridge
Definition ciot_msg_types.h:123
-
ciot_ble_scn_data_u ble_scn
Definition ciot_msg_types.h:116
-
ciot_msg_error_t error
Definition ciot_msg_types.h:124
-
ciot_ota_data_u ota
Definition ciot_msg_types.h:118
+
ciot_bridge_data_u bridge
Definition ciot_msg_types.h:124
+
ciot_ble_scn_data_u ble_scn
Definition ciot_msg_types.h:117
+
ciot_msg_error_t error
Definition ciot_msg_types.h:125
+
ciot_ota_data_u ota
Definition ciot_msg_types.h:119
ciot_storage_data_u storage
Definition ciot_msg_types.h:109
-
ciot_ntp_data_u ntp
Definition ciot_msg_types.h:117
-
ciot_mqttc_data_u mqtt
Definition ciot_msg_types.h:122
-
ciot_https_data_u https
Definition ciot_msg_types.h:120
-
ciot_httpc_data_u httpc
Definition ciot_msg_types.h:121
-
ciot_dfu_data_u dfu
Definition ciot_msg_types.h:119
-
ciot_ble_data_u ble
Definition ciot_msg_types.h:115
-
ciot_wifi_data_u wifi
Definition ciot_msg_types.h:114
+
ciot_ntp_data_u ntp
Definition ciot_msg_types.h:118
+
ciot_mqttc_data_u mqtt
Definition ciot_msg_types.h:123
+
ciot_https_data_u https
Definition ciot_msg_types.h:121
+
ciot_httpc_data_u httpc
Definition ciot_msg_types.h:122
+
ciot_dfu_data_u dfu
Definition ciot_msg_types.h:120
+
ciot_ble_data_u ble
Definition ciot_msg_types.h:116
+
ciot_tcp_data_u eth
Definition ciot_msg_types.h:114
+
ciot_wifi_data_u wifi
Definition ciot_msg_types.h:115
ciot_usb_data_u usb
Definition ciot_msg_types.h:112
ciot_uart_data_u uart
Definition ciot_msg_types.h:111
ciot_data_u ciot
Definition ciot_msg_types.h:108
diff --git a/docs/ciot__nrf__dfu_8h.html b/docs/ciot__nrf__dfu_8h.html index e6f0fde..e6c513c 100644 --- a/docs/ciot__nrf__dfu_8h.html +++ b/docs/ciot__nrf__dfu_8h.html @@ -98,7 +98,7 @@ Typedefs | Enumerations | Functions
-
ciot_nrf_dfu.h File Reference
+
ciot_nrf_dfu.h File Reference
diff --git a/docs/ciot__ntp_8h.html b/docs/ciot__ntp_8h.html index ced267d..d110709 100644 --- a/docs/ciot__ntp_8h.html +++ b/docs/ciot__ntp_8h.html @@ -96,7 +96,7 @@ Data Structures | Typedefs | Functions
-
ciot_ntp.h File Reference
+
ciot_ntp.h File Reference
diff --git a/docs/ciot__ntp_8h_source.html b/docs/ciot__ntp_8h_source.html index 0d7e0b0..2b94e1a 100644 --- a/docs/ciot__ntp_8h_source.html +++ b/docs/ciot__ntp_8h_source.html @@ -150,7 +150,7 @@
ciot_err_t ciot_ntp_set(ciot_ntp_t ntp)
Set CIOT NTP configuration.
struct ciot_ntp * ciot_ntp_t
Opaque pointer to CIOT NTP structure.
Definition ciot_ntp.h:25
Defines data types and structures for CIOT NTP functionality.
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
Structure for CIOT NTP configuration.
Definition ciot_ntp_types.h:49
Structure for CIOT NTP request.
Definition ciot_ntp_types.h:82
Structure for CIOT NTP status message.
Definition ciot_ntp.h:31
diff --git a/docs/ciot__ntp__types_8h.html b/docs/ciot__ntp__types_8h.html index 99c839a..b5b2295 100644 --- a/docs/ciot__ntp__types_8h.html +++ b/docs/ciot__ntp__types_8h.html @@ -96,7 +96,7 @@ Data Structures | Macros | Enumerations
-
ciot_ntp_types.h File Reference
+
ciot_ntp_types.h File Reference
diff --git a/docs/ciot__opcuas_8h.html b/docs/ciot__opcuas_8h.html index cb17fd8..731fb20 100644 --- a/docs/ciot__opcuas_8h.html +++ b/docs/ciot__opcuas_8h.html @@ -96,7 +96,7 @@ Data Structures | Typedefs | Functions
-
ciot_opcuas.h File Reference
+
ciot_opcuas.h File Reference
diff --git a/docs/ciot__opcuas_8h_source.html b/docs/ciot__opcuas_8h_source.html index ded248e..efc6980 100644 --- a/docs/ciot__opcuas_8h_source.html +++ b/docs/ciot__opcuas_8h_source.html @@ -150,7 +150,7 @@
ciot_err_t ciot_opcuas_start(ciot_opcuas_t self, ciot_opcuas_cfg_t *cfg)
Start CIOT OPCUAS.
ciot_err_t ciot_opcuas_send_data(ciot_opcuas_t self, uint8_t *data, int size)
Send data for CIOT OPCUAS.
Defines data types and structures for CIOT OPC UA Server functionality.
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
Structure for CIOT OPC UA Server configuration.
Definition ciot_opcuas_types.h:44
Structure for CIOT OPC UA Server request.
Definition ciot_opcuas_types.h:79
Structure for CIOT OPCUAS status message.
Definition ciot_opcuas.h:31
diff --git a/docs/ciot__opcuas__types_8h.html b/docs/ciot__opcuas__types_8h.html index f0731a7..68bd65c 100644 --- a/docs/ciot__opcuas__types_8h.html +++ b/docs/ciot__opcuas__types_8h.html @@ -95,7 +95,7 @@
Data Structures | Enumerations
-
ciot_opcuas_types.h File Reference
+
ciot_opcuas_types.h File Reference
diff --git a/docs/ciot__ota_8h.html b/docs/ciot__ota_8h.html index d59320b..346024c 100644 --- a/docs/ciot__ota_8h.html +++ b/docs/ciot__ota_8h.html @@ -98,7 +98,7 @@ Typedefs | Enumerations | Functions
-
ciot_ota.h File Reference
+
ciot_ota.h File Reference
diff --git a/docs/ciot__ota_8h_source.html b/docs/ciot__ota_8h_source.html index e029658..8fabbde 100644 --- a/docs/ciot__ota_8h_source.html +++ b/docs/ciot__ota_8h_source.html @@ -182,7 +182,7 @@
ciot_err_t ciot_ota_rollback(ciot_ota_t self)
Rollback CIOT OTA.
enum ciot_ota_event_id ciot_ota_event_id_t
Enumeration of CIOT OTA event IDs.
Defines data types and structures for CIOT Over-The-Air (OTA) functionality.
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
Structure for CIOT OTA configuration.
Definition ciot_ota_types.h:52
Structure for CIOT OTA request.
Definition ciot_ota_types.h:83
Structure for CIOT OTA status message.
Definition ciot_ota.h:56
diff --git a/docs/ciot__ota__types_8h.html b/docs/ciot__ota__types_8h.html index 42168d5..41a8b14 100644 --- a/docs/ciot__ota__types_8h.html +++ b/docs/ciot__ota__types_8h.html @@ -95,7 +95,7 @@
Data Structures | Enumerations
-
ciot_ota_types.h File Reference
+
ciot_ota_types.h File Reference
diff --git a/docs/ciot__serializer_8h_source.html b/docs/ciot__serializer_8h_source.html index bc6bb9a..510a941 100644 --- a/docs/ciot__serializer_8h_source.html +++ b/docs/ciot__serializer_8h_source.html @@ -155,7 +155,7 @@
@ CIOT_SERIALIZER_TYPE_PROTOBUF
Definition ciot_serializer.h:51
@ CIOT_SERIALIZER_TYPE_NONE
Definition ciot_serializer.h:50
@ CIOT_SERIALIZER_TYPE_CUSTOM
Definition ciot_serializer.h:52
-
Structure for CIOT message.
Definition ciot_msg_types.h:142
+
Structure for CIOT message.
Definition ciot_msg_types.h:143
CIOT Serializer structure.
Definition ciot_serializer.h:59
ciot_serializer_to_bytes_fn * to_bytes
Definition ciot_serializer.h:61
ciot_serializer_from_bytes_fn * from_bytes
Definition ciot_serializer.h:62
diff --git a/docs/ciot__serializer__pb_8c.html b/docs/ciot__serializer__pb_8c.html new file mode 100644 index 0000000..1755ae6 --- /dev/null +++ b/docs/ciot__serializer__pb_8c.html @@ -0,0 +1,1037 @@ + + + + + + + +CioT: src/proto/ciot_serializer_pb.c File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
ciot_serializer_pb.c File Reference
+
+
+
#include <string.h>
+#include <stdlib.h>
+#include "ciot_serializer_pb.h"
+#include "ciot/proto/v1/msg.pb-c.h"
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

int ciot_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_storage_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_system_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_uart_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_usb_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_tcp_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_eth_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_wifi_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_ble_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_ble_scn_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_ntp_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_ota_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_http_client_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_http_server_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_mqtt_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_bridge_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_storage_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_system_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_uart_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_usb_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_tcp_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_eth_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_wifi_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_ble_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_ble_scn_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_ntp_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_ota_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_http_client_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_http_server_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_mqtt_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_bridge_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
ciot_serializer_t ciot_serializer_pb_new (void)
 Creates a new Protocol Buffers serializer instance.
 
int ciot_serializer_pb_to_bytes (uint8_t *bytes, ciot_msg_t *msg)
 Converts a Protocol Buffers format message to bytes.
 
int ciot_serializer_pb_from_bytes (ciot_msg_t *msg, uint8_t *bytes, int size)
 Converts bytes to a Protocol Buffers format message.
 
+

Detailed Description

+
Author
Wesley Santos (wesle.nosp@m.ypro.nosp@m.37@gm.nosp@m.ail..nosp@m.com)
+
Version
0.1
+
Date
2024-02-28
+ +

Function Documentation

+ +

◆ ciot_ble_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_ble_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_ble_scn_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_ble_scn_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_ble_scn_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_ble_scn_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_ble_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_ble_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_bridge_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_bridge_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_bridge_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_bridge_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_eth_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_eth_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_eth_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_eth_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_http_client_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_http_client_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_http_client_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_http_client_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_http_server_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_http_server_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_http_server_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_http_server_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_mqtt_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_mqtt_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_mqtt_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_mqtt_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_ntp_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_ntp_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_ntp_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_ntp_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_ota_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_ota_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_ota_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_ota_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_serializer_pb_from_bytes()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_serializer_pb_from_bytes (ciot_msg_t * msg,
uint8_t * bytes,
int size )
+
+ +

Converts bytes to a Protocol Buffers format message.

+
Parameters
+ + + + +
msgPointer to the Protocol Buffers format message structure where the deserialized message will be stored.
bytesPointer to the buffer containing the serialized bytes.
sizeThe size of the buffer containing the serialized bytes.
+
+
+
Returns
The number of bytes read from the buffer, or a negative value on error.
+ +
+
+ +

◆ ciot_serializer_pb_new()

+ +
+
+ + + + + + + +
ciot_serializer_t ciot_serializer_pb_new (void )
+
+ +

Creates a new Protocol Buffers serializer instance.

+
Returns
A new instance of the Protocol Buffers serializer.
+ +
+
+ +

◆ ciot_serializer_pb_to_bytes()

+ +
+
+ + + + + + + + + + + +
int ciot_serializer_pb_to_bytes (uint8_t * bytes,
ciot_msg_t * msg )
+
+ +

Converts a Protocol Buffers format message to bytes.

+
Parameters
+ + + +
bytesPointer to the buffer where the serialized bytes will be stored.
msgPointer to the Protocol Buffers format message to be serialized.
+
+
+
Returns
The number of bytes written to the buffer, or a negative value on error.
+ +
+
+ +

◆ ciot_storage_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_storage_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_storage_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_storage_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_system_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_system_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_system_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_system_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_tcp_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_tcp_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_tcp_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_tcp_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_uart_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_uart_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_uart_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_uart_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_usb_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_usb_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_usb_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_usb_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_wifi_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_wifi_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_wifi_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_wifi_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+
+
+ + + + diff --git a/docs/ciot__serializer__pb_8c.js b/docs/ciot__serializer__pb_8c.js new file mode 100644 index 0000000..5785a5f --- /dev/null +++ b/docs/ciot__serializer__pb_8c.js @@ -0,0 +1,38 @@ +var ciot__serializer__pb_8c = +[ + [ "ciot_ble_pack", "ciot__serializer__pb_8c.html#aa6c65b5bdb7499eb2cd28641cbb31f8c", null ], + [ "ciot_ble_scn_pack", "ciot__serializer__pb_8c.html#a50ca44e5efa92db906ed3c687b7e6c68", null ], + [ "ciot_ble_scn_unpack", "ciot__serializer__pb_8c.html#a2992dc7edabcbaf9c9d32511cc81333b", null ], + [ "ciot_ble_unpack", "ciot__serializer__pb_8c.html#aac138b1e565a97f45fa8f520fc67fe99", null ], + [ "ciot_bridge_pack", "ciot__serializer__pb_8c.html#a45882d0039a637bbbc71d60254735d6f", null ], + [ "ciot_bridge_unpack", "ciot__serializer__pb_8c.html#a66f5bd0b629d897ecce70e9e320b9075", null ], + [ "ciot_eth_pack", "ciot__serializer__pb_8c.html#a6fe455ac88bb44cf21ffc067d0cab29c", null ], + [ "ciot_eth_unpack", "ciot__serializer__pb_8c.html#af16ea9a7eefb30ff8995dc55cbab1be0", null ], + [ "ciot_http_client_pack", "ciot__serializer__pb_8c.html#a7b9946ad138ad6d90bfecf91de576fcc", null ], + [ "ciot_http_client_unpack", "ciot__serializer__pb_8c.html#a044ab14b5d3d76a8cd9e39b0ef95f28a", null ], + [ "ciot_http_server_pack", "ciot__serializer__pb_8c.html#a19deaec3dfed00309091fb99499e97c3", null ], + [ "ciot_http_server_unpack", "ciot__serializer__pb_8c.html#a08da949a2ac127330d97097052c309e0", null ], + [ "ciot_mqtt_pack", "ciot__serializer__pb_8c.html#a9820eba9441f9034af44208f6c2ee46f", null ], + [ "ciot_mqtt_unpack", "ciot__serializer__pb_8c.html#aa2fd7a01fb5c3d15d723a0f2c7bf47ee", null ], + [ "ciot_ntp_pack", "ciot__serializer__pb_8c.html#a52f749cee37666371217dcf8067a0c49", null ], + [ "ciot_ntp_unpack", "ciot__serializer__pb_8c.html#a35be4e6016228d2c30254ab07936620f", null ], + [ "ciot_ota_pack", "ciot__serializer__pb_8c.html#aa408598f26b8eb1797757abfde3c020f", null ], + [ "ciot_ota_unpack", "ciot__serializer__pb_8c.html#aa336986d4e6414a73d34b5d6d1c4c3ea", null ], + [ "ciot_pack", "ciot__serializer__pb_8c.html#a69f832ac1063720b6988fb7e210fd681", null ], + [ "ciot_serializer_pb_from_bytes", "ciot__serializer__pb_8c.html#ab73a372068e4ef612cefe76e8b5f9ee8", null ], + [ "ciot_serializer_pb_new", "ciot__serializer__pb_8c.html#adb1095f1057494aaba7ac5ec78bd8674", null ], + [ "ciot_serializer_pb_to_bytes", "ciot__serializer__pb_8c.html#ae23e6d8c0a4b9657974b45cc702d0d93", null ], + [ "ciot_storage_pack", "ciot__serializer__pb_8c.html#a3072497661acfbd4c9b0c22084c99956", null ], + [ "ciot_storage_unpack", "ciot__serializer__pb_8c.html#ae794f59b07ccbc26daa53d7fdce0f672", null ], + [ "ciot_system_pack", "ciot__serializer__pb_8c.html#a675c99b980b8e93f6d0bf62336de0a1e", null ], + [ "ciot_system_unpack", "ciot__serializer__pb_8c.html#a3a59874461898379c7fdec9c87976870", null ], + [ "ciot_tcp_pack", "ciot__serializer__pb_8c.html#a2a9173ce493ab009d655a40e6d3d50d4", null ], + [ "ciot_tcp_unpack", "ciot__serializer__pb_8c.html#a2244a2eb5ef1b35b63523df49d819133", null ], + [ "ciot_uart_pack", "ciot__serializer__pb_8c.html#a9c38fefcd69e66c65f294429bb2cc35a", null ], + [ "ciot_uart_unpack", "ciot__serializer__pb_8c.html#a5ca3a7475c8e6e0a3137bd12c1c9f9c8", null ], + [ "ciot_unpack", "ciot__serializer__pb_8c.html#ae6036d2c53f836b7769c52645b78ce84", null ], + [ "ciot_usb_pack", "ciot__serializer__pb_8c.html#a301403d1f161fe2e75f7db3412b9748c", null ], + [ "ciot_usb_unpack", "ciot__serializer__pb_8c.html#a8ef33efd1a4c9c373440d134728f0462", null ], + [ "ciot_wifi_pack", "ciot__serializer__pb_8c.html#a7d373d32d63025b87ae1fd7c35b34a9f", null ], + [ "ciot_wifi_unpack", "ciot__serializer__pb_8c.html#a9af489c7b66c5eaddb6a3f85f76511a0", null ] +]; \ No newline at end of file diff --git a/docs/ciot__serializer__pb_8h.html b/docs/ciot__serializer__pb_8h.html new file mode 100644 index 0000000..32efb41 --- /dev/null +++ b/docs/ciot__serializer__pb_8h.html @@ -0,0 +1,227 @@ + + + + + + + +CioT: src/proto/ciot_serializer_pb.h File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
ciot_serializer_pb.h File Reference
+
+
+ +

Header file for the Protocol Buffers serializer module. +More...

+
#include <inttypes.h>
+#include "types/ciot_msg_types.h"
+#include "ciot_serializer.h"
+
+

Go to the source code of this file.

+ + + + + + + + + + + +

+Functions

ciot_serializer_t ciot_serializer_pb_new (void)
 Creates a new Protocol Buffers serializer instance.
 
int ciot_serializer_pb_to_bytes (uint8_t *bytes, ciot_msg_t *msg)
 Converts a Protocol Buffers format message to bytes.
 
int ciot_serializer_pb_from_bytes (ciot_msg_t *msg, uint8_t *bytes, int size)
 Converts bytes to a Protocol Buffers format message.
 
+

Detailed Description

+

Header file for the Protocol Buffers serializer module.

+
Author
Wesley Santos (wesle.nosp@m.ypro.nosp@m.37@gm.nosp@m.ail..nosp@m.com)
+
Version
0.1
+
Date
2024-02-28
+

This file contains declarations for functions related to serializing Protocol Buffers format messages to bytes and deserializing bytes to Protocol Buffers format messages.

+ +

Function Documentation

+ +

◆ ciot_serializer_pb_from_bytes()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_serializer_pb_from_bytes (ciot_msg_t * msg,
uint8_t * bytes,
int size )
+
+ +

Converts bytes to a Protocol Buffers format message.

+
Parameters
+ + + + +
msgPointer to the Protocol Buffers format message structure where the deserialized message will be stored.
bytesPointer to the buffer containing the serialized bytes.
sizeThe size of the buffer containing the serialized bytes.
+
+
+
Returns
The number of bytes read from the buffer, or a negative value on error.
+ +
+
+ +

◆ ciot_serializer_pb_new()

+ +
+
+ + + + + + + +
ciot_serializer_t ciot_serializer_pb_new (void )
+
+ +

Creates a new Protocol Buffers serializer instance.

+
Returns
A new instance of the Protocol Buffers serializer.
+ +
+
+ +

◆ ciot_serializer_pb_to_bytes()

+ +
+
+ + + + + + + + + + + +
int ciot_serializer_pb_to_bytes (uint8_t * bytes,
ciot_msg_t * msg )
+
+ +

Converts a Protocol Buffers format message to bytes.

+
Parameters
+ + + +
bytesPointer to the buffer where the serialized bytes will be stored.
msgPointer to the Protocol Buffers format message to be serialized.
+
+
+
Returns
The number of bytes written to the buffer, or a negative value on error.
+ +
+
+
+
+ + + + diff --git a/docs/ciot__serializer__pb_8h.js b/docs/ciot__serializer__pb_8h.js new file mode 100644 index 0000000..1a52fe4 --- /dev/null +++ b/docs/ciot__serializer__pb_8h.js @@ -0,0 +1,6 @@ +var ciot__serializer__pb_8h = +[ + [ "ciot_serializer_pb_from_bytes", "ciot__serializer__pb_8h.html#ab73a372068e4ef612cefe76e8b5f9ee8", null ], + [ "ciot_serializer_pb_new", "ciot__serializer__pb_8h.html#adb1095f1057494aaba7ac5ec78bd8674", null ], + [ "ciot_serializer_pb_to_bytes", "ciot__serializer__pb_8h.html#ae23e6d8c0a4b9657974b45cc702d0d93", null ] +]; \ No newline at end of file diff --git a/docs/ciot__serializer__pb_8h_source.html b/docs/ciot__serializer__pb_8h_source.html new file mode 100644 index 0000000..cf7c54f --- /dev/null +++ b/docs/ciot__serializer__pb_8h_source.html @@ -0,0 +1,135 @@ + + + + + + + +CioT: src/proto/ciot_serializer_pb.h Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ciot_serializer_pb.h
+
+
+Go to the documentation of this file.
1
+
17#ifndef __CIOT_SERIALIZER_PB__H__
+
18#define __CIOT_SERIALIZER_PB__H__
+
19
+
20#include <inttypes.h>
+ +
22#include "ciot_serializer.h"
+
23
+ +
30
+
38int ciot_serializer_pb_to_bytes(uint8_t *bytes, ciot_msg_t *msg);
+
39
+
49int ciot_serializer_pb_from_bytes(ciot_msg_t *msg, uint8_t *bytes, int size);
+
50
+
51#endif
+
Defines data types and structures for CIOT messaging.
+
Header file for CIOT Serializer module.
+
int ciot_serializer_pb_from_bytes(ciot_msg_t *msg, uint8_t *bytes, int size)
Converts bytes to a Protocol Buffers format message.
+
ciot_serializer_t ciot_serializer_pb_new(void)
Creates a new Protocol Buffers serializer instance.
+
int ciot_serializer_pb_to_bytes(uint8_t *bytes, ciot_msg_t *msg)
Converts a Protocol Buffers format message to bytes.
+
Structure for CIOT message.
Definition ciot_msg_types.h:143
+
CIOT Serializer structure.
Definition ciot_serializer.h:59
+
+
+ + + + diff --git a/docs/ciot__serializer__pb__pack_8c.html b/docs/ciot__serializer__pb__pack_8c.html new file mode 100644 index 0000000..ecbb21a --- /dev/null +++ b/docs/ciot__serializer__pb__pack_8c.html @@ -0,0 +1,571 @@ + + + + + + + +CioT: src/proto/ciot_serializer_pb_pack.c File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
ciot_serializer_pb_pack.c File Reference
+
+
+
#include <string.h>
+#include "ciot/proto/v1/msg.pb-c.h"
+#include "types/ciot_msg_types.h"
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

int ciot_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_storage_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_system_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_uart_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_usb_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_tcp_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_eth_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_wifi_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_ble_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_ble_scn_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_ntp_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_ota_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_http_client_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_http_server_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_mqtt_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
int ciot_bridge_pack (Ciot__Msg *msg_pack, ciot_msg_t *msg, uint8_t *bytes)
 
+

Detailed Description

+
Author
Wesley Santos (wesle.nosp@m.ypro.nosp@m.37@gm.nosp@m.ail..nosp@m.com)
+
Version
0.1
+
Date
2024-02-28
+ +

Function Documentation

+ +

◆ ciot_ble_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_ble_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_ble_scn_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_ble_scn_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_bridge_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_bridge_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_eth_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_eth_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_http_client_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_http_client_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_http_server_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_http_server_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_mqtt_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_mqtt_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_ntp_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_ntp_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_ota_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_ota_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_storage_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_storage_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_system_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_system_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_tcp_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_tcp_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_uart_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_uart_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_usb_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_usb_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+ +

◆ ciot_wifi_pack()

+ +
+
+ + + + + + + + + + + + + + + + +
int ciot_wifi_pack (Ciot__Msg * msg_pack,
ciot_msg_t * msg,
uint8_t * bytes )
+
+ +
+
+
+
+ + + + diff --git a/docs/ciot__serializer__pb__pack_8c.js b/docs/ciot__serializer__pb__pack_8c.js new file mode 100644 index 0000000..f995d97 --- /dev/null +++ b/docs/ciot__serializer__pb__pack_8c.js @@ -0,0 +1,19 @@ +var ciot__serializer__pb__pack_8c = +[ + [ "ciot_ble_pack", "ciot__serializer__pb__pack_8c.html#aa6c65b5bdb7499eb2cd28641cbb31f8c", null ], + [ "ciot_ble_scn_pack", "ciot__serializer__pb__pack_8c.html#a50ca44e5efa92db906ed3c687b7e6c68", null ], + [ "ciot_bridge_pack", "ciot__serializer__pb__pack_8c.html#a45882d0039a637bbbc71d60254735d6f", null ], + [ "ciot_eth_pack", "ciot__serializer__pb__pack_8c.html#a6fe455ac88bb44cf21ffc067d0cab29c", null ], + [ "ciot_http_client_pack", "ciot__serializer__pb__pack_8c.html#a7b9946ad138ad6d90bfecf91de576fcc", null ], + [ "ciot_http_server_pack", "ciot__serializer__pb__pack_8c.html#a19deaec3dfed00309091fb99499e97c3", null ], + [ "ciot_mqtt_pack", "ciot__serializer__pb__pack_8c.html#a9820eba9441f9034af44208f6c2ee46f", null ], + [ "ciot_ntp_pack", "ciot__serializer__pb__pack_8c.html#a52f749cee37666371217dcf8067a0c49", null ], + [ "ciot_ota_pack", "ciot__serializer__pb__pack_8c.html#aa408598f26b8eb1797757abfde3c020f", null ], + [ "ciot_pack", "ciot__serializer__pb__pack_8c.html#a69f832ac1063720b6988fb7e210fd681", null ], + [ "ciot_storage_pack", "ciot__serializer__pb__pack_8c.html#a3072497661acfbd4c9b0c22084c99956", null ], + [ "ciot_system_pack", "ciot__serializer__pb__pack_8c.html#a675c99b980b8e93f6d0bf62336de0a1e", null ], + [ "ciot_tcp_pack", "ciot__serializer__pb__pack_8c.html#a2a9173ce493ab009d655a40e6d3d50d4", null ], + [ "ciot_uart_pack", "ciot__serializer__pb__pack_8c.html#a9c38fefcd69e66c65f294429bb2cc35a", null ], + [ "ciot_usb_pack", "ciot__serializer__pb__pack_8c.html#a301403d1f161fe2e75f7db3412b9748c", null ], + [ "ciot_wifi_pack", "ciot__serializer__pb__pack_8c.html#a7d373d32d63025b87ae1fd7c35b34a9f", null ] +]; \ No newline at end of file diff --git a/docs/ciot__serializer__pb__unpack_8c.html b/docs/ciot__serializer__pb__unpack_8c.html new file mode 100644 index 0000000..badd7a9 --- /dev/null +++ b/docs/ciot__serializer__pb__unpack_8c.html @@ -0,0 +1,491 @@ + + + + + + + +CioT: src/proto/ciot_serializer_pb_unpack.c File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
ciot_serializer_pb_unpack.c File Reference
+
+
+
#include <string.h>
+#include "ciot/proto/v1/msg.pb-c.h"
+#include "types/ciot_msg_types.h"
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

int ciot_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_storage_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_system_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_uart_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_usb_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_tcp_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_eth_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_wifi_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_ble_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_ble_scn_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_ntp_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_ota_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_http_client_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_http_server_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_mqtt_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
int ciot_bridge_unpack (ciot_msg_t *msg, Ciot__Msg *msg_pack)
 
+

Detailed Description

+
Author
Wesley Santos (wesle.nosp@m.ypro.nosp@m.37@gm.nosp@m.ail..nosp@m.com)
+
Version
0.1
+
Date
2024-02-28
+ +

Function Documentation

+ +

◆ ciot_ble_scn_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_ble_scn_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_ble_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_ble_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_bridge_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_bridge_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_eth_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_eth_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_http_client_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_http_client_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_http_server_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_http_server_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_mqtt_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_mqtt_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_ntp_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_ntp_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_ota_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_ota_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_storage_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_storage_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_system_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_system_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_tcp_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_tcp_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_uart_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_uart_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_usb_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_usb_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+ +

◆ ciot_wifi_unpack()

+ +
+
+ + + + + + + + + + + +
int ciot_wifi_unpack (ciot_msg_t * msg,
Ciot__Msg * msg_pack )
+
+ +
+
+
+
+ + + + diff --git a/docs/ciot__serializer__pb__unpack_8c.js b/docs/ciot__serializer__pb__unpack_8c.js new file mode 100644 index 0000000..306b255 --- /dev/null +++ b/docs/ciot__serializer__pb__unpack_8c.js @@ -0,0 +1,19 @@ +var ciot__serializer__pb__unpack_8c = +[ + [ "ciot_ble_scn_unpack", "ciot__serializer__pb__unpack_8c.html#a2992dc7edabcbaf9c9d32511cc81333b", null ], + [ "ciot_ble_unpack", "ciot__serializer__pb__unpack_8c.html#aac138b1e565a97f45fa8f520fc67fe99", null ], + [ "ciot_bridge_unpack", "ciot__serializer__pb__unpack_8c.html#a66f5bd0b629d897ecce70e9e320b9075", null ], + [ "ciot_eth_unpack", "ciot__serializer__pb__unpack_8c.html#af16ea9a7eefb30ff8995dc55cbab1be0", null ], + [ "ciot_http_client_unpack", "ciot__serializer__pb__unpack_8c.html#a044ab14b5d3d76a8cd9e39b0ef95f28a", null ], + [ "ciot_http_server_unpack", "ciot__serializer__pb__unpack_8c.html#a08da949a2ac127330d97097052c309e0", null ], + [ "ciot_mqtt_unpack", "ciot__serializer__pb__unpack_8c.html#aa2fd7a01fb5c3d15d723a0f2c7bf47ee", null ], + [ "ciot_ntp_unpack", "ciot__serializer__pb__unpack_8c.html#a35be4e6016228d2c30254ab07936620f", null ], + [ "ciot_ota_unpack", "ciot__serializer__pb__unpack_8c.html#aa336986d4e6414a73d34b5d6d1c4c3ea", null ], + [ "ciot_storage_unpack", "ciot__serializer__pb__unpack_8c.html#ae794f59b07ccbc26daa53d7fdce0f672", null ], + [ "ciot_system_unpack", "ciot__serializer__pb__unpack_8c.html#a3a59874461898379c7fdec9c87976870", null ], + [ "ciot_tcp_unpack", "ciot__serializer__pb__unpack_8c.html#a2244a2eb5ef1b35b63523df49d819133", null ], + [ "ciot_uart_unpack", "ciot__serializer__pb__unpack_8c.html#a5ca3a7475c8e6e0a3137bd12c1c9f9c8", null ], + [ "ciot_unpack", "ciot__serializer__pb__unpack_8c.html#ae6036d2c53f836b7769c52645b78ce84", null ], + [ "ciot_usb_unpack", "ciot__serializer__pb__unpack_8c.html#a8ef33efd1a4c9c373440d134728f0462", null ], + [ "ciot_wifi_unpack", "ciot__serializer__pb__unpack_8c.html#a9af489c7b66c5eaddb6a3f85f76511a0", null ] +]; \ No newline at end of file diff --git a/docs/ciot__storage_8h.html b/docs/ciot__storage_8h.html index e6f1093..0adb4e0 100644 --- a/docs/ciot__storage_8h.html +++ b/docs/ciot__storage_8h.html @@ -96,7 +96,7 @@ Data Structures | Typedefs | Functions
-
ciot_storage.h File Reference
+
ciot_storage.h File Reference
diff --git a/docs/ciot__storage_8h_source.html b/docs/ciot__storage_8h_source.html index 72fd390..77fc255 100644 --- a/docs/ciot__storage_8h_source.html +++ b/docs/ciot__storage_8h_source.html @@ -162,7 +162,7 @@
ciot_err_t ciot_storage_start(ciot_storage_t self, ciot_storage_cfg_t *cfg)
Start the CIOT Storage module with the given configuration.
ciot_err_t ciot_storage_save(ciot_storage_t self, char *path, uint8_t *data, int size)
Save data to storage.
Defines data types and structures for CIOT storage functionality.
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
Structure for CIOT storage configuration.
Definition ciot_storage_types.h:55
Structure for CIOT storage request.
Definition ciot_storage_types.h:81
CIOT Storage status message structure.
Definition ciot_storage.h:31
diff --git a/docs/ciot__storage__types_8h.html b/docs/ciot__storage__types_8h.html index 1b3932a..30a0fa8 100644 --- a/docs/ciot__storage__types_8h.html +++ b/docs/ciot__storage__types_8h.html @@ -95,7 +95,7 @@
Data Structures | Enumerations
-
ciot_storage_types.h File Reference
+
ciot_storage_types.h File Reference
diff --git a/docs/ciot__sys_8h.html b/docs/ciot__sys_8h.html index f72a13c..36af2af 100644 --- a/docs/ciot__sys_8h.html +++ b/docs/ciot__sys_8h.html @@ -97,7 +97,7 @@ Macros | Typedefs | Functions
-
ciot_sys.h File Reference
+
ciot_sys.h File Reference
diff --git a/docs/ciot__sys_8h_source.html b/docs/ciot__sys_8h_source.html index 50d33cb..8c1bf15 100644 --- a/docs/ciot__sys_8h_source.html +++ b/docs/ciot__sys_8h_source.html @@ -168,7 +168,7 @@
ciot_err_t ciot_sys_rst(ciot_sys_t self)
Reset the CIOT System module.
Defines data types and structures for CIOT system functionality.
ciot_sys_hw_t
Enumeration for CIOT system hardware types.
Definition ciot_sys_types.h:34
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
Structure for CIOT system configuration.
Definition ciot_sys_types.h:113
Structure for CIOT system features combining hardware and software features.
Definition ciot_sys_types.h:81
Structure for CIOT system request.
Definition ciot_sys_types.h:129
diff --git a/docs/ciot__sys__types_8h.html b/docs/ciot__sys__types_8h.html index d5427e1..8772784 100644 --- a/docs/ciot__sys__types_8h.html +++ b/docs/ciot__sys__types_8h.html @@ -95,7 +95,7 @@
Data Structures | Enumerations
-
ciot_sys_types.h File Reference
+
ciot_sys_types.h File Reference
diff --git a/docs/ciot__tcp_8h.html b/docs/ciot__tcp_8h.html index 29dfdc6..b948038 100644 --- a/docs/ciot__tcp_8h.html +++ b/docs/ciot__tcp_8h.html @@ -97,7 +97,7 @@ Typedefs | Enumerations | Functions
-
ciot_tcp.h File Reference
+
ciot_tcp.h File Reference
diff --git a/docs/ciot__tcp_8h_source.html b/docs/ciot__tcp_8h_source.html index dcd5f3d..1c8cd88 100644 --- a/docs/ciot__tcp_8h_source.html +++ b/docs/ciot__tcp_8h_source.html @@ -183,7 +183,7 @@
ciot_err_t ciot_tcp_get_ip(ciot_tcp_t self, uint8_t ip[4])
Get the IP address of the CIOT TCP module.
struct ciot_tcp_handle ciot_tcp_handle_t
Handle structure for CIOT TCP.
Defines data types and structures for CIOT TCP functionality.
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
Structure for CIOT TCP configuration.
Definition ciot_tcp_types.h:65
Handle structure for CIOT TCP.
Definition ciot_tcp.h:37
ciot_tcp_status_t * status
Definition ciot_tcp.h:40
diff --git a/docs/ciot__tcp__types_8h.html b/docs/ciot__tcp__types_8h.html index 2897a3c..05b023e 100644 --- a/docs/ciot__tcp__types_8h.html +++ b/docs/ciot__tcp__types_8h.html @@ -95,7 +95,7 @@
Data Structures | Enumerations
-
ciot_tcp_types.h File Reference
+
ciot_tcp_types.h File Reference
diff --git a/docs/ciot__uart_8h.html b/docs/ciot__uart_8h.html index 32341bc..7abac09 100644 --- a/docs/ciot__uart_8h.html +++ b/docs/ciot__uart_8h.html @@ -98,7 +98,7 @@ Typedefs | Enumerations | Functions
-
ciot_uart.h File Reference
+
ciot_uart.h File Reference
diff --git a/docs/ciot__uart_8h_source.html b/docs/ciot__uart_8h_source.html index 8bd35a5..676f3bd 100644 --- a/docs/ciot__uart_8h_source.html +++ b/docs/ciot__uart_8h_source.html @@ -201,7 +201,7 @@
ciot_err_t ciot_uart_send_bytes(ciot_iface_t *self, uint8_t *bytes, int size)
Send bytes through the CIOT UART interface.
Defines data structures and types for CIOT UART functionality.
Structure representing a CIOT interface.
Definition ciot_iface.h:131
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
Base structure for CIOT UART module.
Definition ciot_uart.h:62
ciot_iface_t iface
Definition ciot_uart.h:63
ciot_s_t s
Definition ciot_uart.h:66
diff --git a/docs/ciot__uart__types_8h.html b/docs/ciot__uart__types_8h.html index 0200a5f..5b0efeb 100644 --- a/docs/ciot__uart__types_8h.html +++ b/docs/ciot__uart__types_8h.html @@ -96,7 +96,7 @@ Data Structures | Typedefs | Enumerations
-
ciot_uart_types.h File Reference
+
ciot_uart_types.h File Reference
diff --git a/docs/ciot__usb_8h.html b/docs/ciot__usb_8h.html index eaa0652..86810b7 100644 --- a/docs/ciot__usb_8h.html +++ b/docs/ciot__usb_8h.html @@ -97,7 +97,7 @@ Typedefs | Enumerations | Functions
-
ciot_usb.h File Reference
+
ciot_usb.h File Reference
diff --git a/docs/ciot__usb_8h_source.html b/docs/ciot__usb_8h_source.html index 52408ad..f936ba7 100644 --- a/docs/ciot__usb_8h_source.html +++ b/docs/ciot__usb_8h_source.html @@ -218,7 +218,7 @@
ciot_err_t ciot_usb_stop(ciot_usb_t self)
Stop the CIOT USB module.
Defines data structures and types for CIOT USB functionality.
Structure representing a CIOT interface.
Definition ciot_iface.h:131
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
Structure for CIOT USB configuration.
Definition ciot_usb_types.h:43
Structure for CIOT USB request.
Definition ciot_usb_types.h:67
Status message structure for CIOT USB module.
Definition ciot_usb.h:65
diff --git a/docs/ciot__usb__types_8h.html b/docs/ciot__usb__types_8h.html index 9309a77..473e8b7 100644 --- a/docs/ciot__usb__types_8h.html +++ b/docs/ciot__usb__types_8h.html @@ -96,7 +96,7 @@ Data Structures | Typedefs | Enumerations
-
ciot_usb_types.h File Reference
+
ciot_usb_types.h File Reference
diff --git a/docs/ciot__wifi_8h.html b/docs/ciot__wifi_8h.html index c9abfa1..f2a373a 100644 --- a/docs/ciot__wifi_8h.html +++ b/docs/ciot__wifi_8h.html @@ -98,7 +98,7 @@ Typedefs | Enumerations | Functions
-
ciot_wifi.h File Reference
+
ciot_wifi.h File Reference
diff --git a/docs/ciot__wifi_8h_source.html b/docs/ciot__wifi_8h_source.html index efc768f..70dbbfc 100644 --- a/docs/ciot__wifi_8h_source.html +++ b/docs/ciot__wifi_8h_source.html @@ -187,7 +187,7 @@
ciot_wifi_t ciot_wifi_ap_new(void *handle)
Create a new CIOT Wi-Fi instance for Access Point (AP) mode.
Defines data structures and types for CIOT WiFi functionality.
ciot_wifi_type_t
Enumeration for CIOT WiFi interface types.
Definition ciot_wifi_types.h:26
-
Structure for CIOT message header.
Definition ciot_msg_types.h:132
+
Structure for CIOT message header.
Definition ciot_msg_types.h:133
Structure for CIOT WiFi configuration.
Definition ciot_wifi_types.h:74
Structure for CIOT WiFi request.
Definition ciot_wifi_types.h:112
Packed structure for Wi-Fi status message.
Definition ciot_wifi.h:51
diff --git a/docs/ciot__wifi__types_8h.html b/docs/ciot__wifi__types_8h.html index 6bc7752..7a5b86f 100644 --- a/docs/ciot__wifi__types_8h.html +++ b/docs/ciot__wifi__types_8h.html @@ -95,7 +95,7 @@
Data Structures | Enumerations
-
ciot_wifi_types.h File Reference
+
ciot_wifi_types.h File Reference
diff --git a/docs/classes.html b/docs/classes.html index 9b897e6..29dd2d1 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -95,11 +95,14 @@
Data Structure Index
-
C
+
C | _
C
ciot_ble_cfg_t
ciot_ble_data_u
ciot_ble_ifaces
ciot_ble_info_t
ciot_ble_req_data_u
ciot_ble_req_t
ciot_ble_scn_adv_info_t
ciot_ble_scn_cfg_t
ciot_ble_scn_data_u
ciot_ble_scn_req_data_u
ciot_ble_scn_req_t
ciot_ble_scn_status_msg_t
ciot_ble_scn_status_t
ciot_ble_status_msg_t
ciot_ble_status_t
ciot_bridge_cfg_t
ciot_bridge_data_u
ciot_bridge_req_data_u
ciot_bridge_req_t
ciot_bridge_status_msg_t
ciot_bridge_status_t
ciot_cfg
ciot_data_model_cfg_t
ciot_data_model_data_u
ciot_data_model_req_data_u
ciot_data_model_req_t
ciot_data_model_status_t
ciot_data_u
ciot_dfu_cfg_t
ciot_dfu_data_u
ciot_dfu_req_data_u
ciot_dfu_req_t
ciot_dfu_status_msg_t
ciot_dfu_status_t
ciot_eth_status_msg_t
ciot_event_data
ciot_gpio_cfg_t
ciot_gpio_data_u
ciot_gpio_req_data_u
ciot_gpio_req_get_state_t
ciot_gpio_req_t
ciot_gpio_state_info_t
ciot_gpio_status_msg_t
ciot_gpio_status_t
ciot_httpc_cfg_t
ciot_httpc_data_u
ciot_httpc_event
ciot_httpc_event_data
ciot_httpc_req_data
ciot_httpc_req_send_t
ciot_httpc_req_set_header_t
ciot_httpc_req_t
ciot_httpc_status_msg_t
ciot_httpc_status_t
ciot_https_cfg_t
ciot_https_data_u
ciot_https_event
ciot_https_event_data
ciot_https_req_data_u
ciot_https_req_t
ciot_https_status_msg_t
ciot_https_status_t
ciot_iface
ciot_iface_base
ciot_iface_base_data
ciot_iface_cfg_t
ciot_iface_event_data_u
ciot_iface_event_t
ciot_iface_req_info
ciot_ifaces
ciot_info_t
ciot_mqttc_cfg_t
ciot_mqttc_data_u
ciot_mqttc_error_t
ciot_mqttc_event
ciot_mqttc_event_data
ciot_mqttc_req_data_u
ciot_mqttc_req_publish_t
ciot_mqttc_req_subscribe_t
ciot_mqttc_req_t
ciot_mqttc_status_msg_t
ciot_mqttc_status_t
ciot_mqttc_topics_cfg_t
ciot_msg_data_u
ciot_msg_error_t
ciot_msg_header_t
ciot_msg_iface_info_t
ciot_msg_t
ciot_nrf_dfu_cfg
ciot_nrf_dfu_packet
ciot_ntp_cfg_t
ciot_ntp_data_u
ciot_ntp_req_data_u
ciot_ntp_req_t
ciot_ntp_status_msg_t
ciot_ntp_status_t
ciot_opcuas_cfg_t
ciot_opcuas_data_u
ciot_opcuas_req_add_node_t
ciot_opcuas_req_data_u
ciot_opcuas_req_t
ciot_opcuas_status_msg_t
ciot_opcuas_status_t
ciot_ota_cfg_t
ciot_ota_data_u
ciot_ota_req_data_u
ciot_ota_req_t
ciot_ota_status_msg_t
ciot_ota_status_t
ciot_req_data_u
ciot_req_delete_iface_cfg_t
ciot_req_proxy_msg_t
ciot_req_result_t
ciot_req_save_iface_cfg_t
ciot_req_t
ciot_s_cfg
ciot_serializer
ciot_slip_t
ciot_status_t
ciot_storage_cfg_t
ciot_storage_data_u
ciot_storage_req_file_data_t
ciot_storage_req_t
ciot_storage_status_msg_t
ciot_storage_status_t
ciot_sys_cfg_t
ciot_sys_data_u
ciot_sys_features_t
ciot_sys_hw_features_t
ciot_sys_info_t
ciot_sys_req_data_u
ciot_sys_req_t
ciot_sys_status_msg_t
ciot_sys_status_t
ciot_sys_sw_features_t
ciot_tcp_cfg_t
ciot_tcp_data_u
ciot_tcp_dhcp_status_t
ciot_tcp_handle
ciot_tcp_info_t
ciot_tcp_req_data_u
ciot_tcp_req_t
ciot_tcp_status_msg_t
ciot_tcp_status_t
ciot_timer_cfg
ciot_uart_base
ciot_uart_cfg_t
ciot_uart_data_u
ciot_uart_event
ciot_uart_req_data_u
ciot_uart_req_send_data_t
ciot_uart_req_t
ciot_uart_status_msg_t
ciot_uart_status_t
ciot_usb_cfg_t
ciot_usb_data_u
ciot_usb_event
ciot_usb_req_data_u
ciot_usb_req_t
ciot_usb_status_msg_t
ciot_usb_status_t
ciot_wifi_ap_info_t
ciot_wifi_cfg_t
ciot_wifi_data_u
ciot_wifi_req_data_u
ciot_wifi_req_t
ciot_wifi_scan_result_t
ciot_wifi_status_msg_t
ciot_wifi_status_t
+
+
_
+
_Ciot__BleCfg
_Ciot__BleData
_Ciot__BleInfo
_Ciot__BleReq
_Ciot__BleScnAdvInfo
_Ciot__BleScnCfg
_Ciot__BleScnData
_Ciot__BleScnReq
_Ciot__BleScnStatus
_Ciot__BleStatus
_Ciot__CiotCfg
_Ciot__CiotData
_Ciot__CiotInfo
_Ciot__CiotReq
_Ciot__CiotReqData
_Ciot__CiotStatus
_Ciot__HttpClientCfg
_Ciot__HttpClientData
_Ciot__HttpClientReq
_Ciot__HttpClientReqSend
_Ciot__HttpClientReqSetHeader
_Ciot__HttpClientStatus
_Ciot__HttpServerCfg
_Ciot__HttpServerData
_Ciot__HttpServerReq
_Ciot__HttpServerReqData
_Ciot__HttpServerStatus
_Ciot__InterfaceInfo
_Ciot__MqttClientCfg
_Ciot__MqttClientData
_Ciot__MqttClientError
_Ciot__MqttClientReq
_Ciot__MqttClientReqPublish
_Ciot__MqttClientReqSubscribe
_Ciot__MqttClientStatus
_Ciot__MqttClientTopicsCfg
_Ciot__Msg
_Ciot__MsgData
_Ciot__MsgError
_Ciot__MsgHeader
_Ciot__NtpCfg
_Ciot__NtpData
_Ciot__NtpReq
_Ciot__NtpReqData
_Ciot__NtpStatus
_Ciot__OtaCfg
_Ciot__OtaData
_Ciot__OtaReq
_Ciot__OtaReqData
_Ciot__OtaStatus
_Ciot__StorageCfg
_Ciot__StorageData
_Ciot__StorageReq
_Ciot__StorageReqData
_Ciot__StorageStatus
_Ciot__SysCfg
_Ciot__SysData
_Ciot__SysFeatures
_Ciot__SysInfo
_Ciot__SysReq
_Ciot__SysStatus
_Ciot__TcpCfg
_Ciot__TcpData
_Ciot__TcpDhcpStatus
_Ciot__TcpInfo
_Ciot__TcpReq
_Ciot__TcpStatus
_Ciot__UartCfg
_Ciot__UartData
_Ciot__UartReq
_Ciot__UartStatus
_Ciot__UsbCfg
_Ciot__UsbData
_Ciot__UsbReq
_Ciot__UsbStatus
_Ciot__WifiApInfo
_Ciot__WifiCfg
_Ciot__WifiData
_Ciot__WifiReq
_Ciot__WifiScanResult
_Ciot__WifiStatus
diff --git a/docs/dir_237ccfe0ac892a2aea924654d2327e22.html b/docs/dir_237ccfe0ac892a2aea924654d2327e22.html new file mode 100644 index 0000000..1a4d1b8 --- /dev/null +++ b/docs/dir_237ccfe0ac892a2aea924654d2327e22.html @@ -0,0 +1,114 @@ + + + + + + + +CioT: src/proto/protobuf-c Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
protobuf-c Directory Reference
+
+
+ + + + +

+Directories

 protobuf-c
 
+
+
+ + + + diff --git a/docs/dir_237ccfe0ac892a2aea924654d2327e22.js b/docs/dir_237ccfe0ac892a2aea924654d2327e22.js new file mode 100644 index 0000000..e90e499 --- /dev/null +++ b/docs/dir_237ccfe0ac892a2aea924654d2327e22.js @@ -0,0 +1,4 @@ +var dir_237ccfe0ac892a2aea924654d2327e22 = +[ + [ "protobuf-c", "dir_e3c98ecf6a41b339c3d979e8e3c6f219.html", "dir_e3c98ecf6a41b339c3d979e8e3c6f219" ] +]; \ No newline at end of file diff --git a/docs/dir_51b8ddc8ad9e5a56f13bccf85e770ab4.html b/docs/dir_51b8ddc8ad9e5a56f13bccf85e770ab4.html new file mode 100644 index 0000000..5dd3dda --- /dev/null +++ b/docs/dir_51b8ddc8ad9e5a56f13bccf85e770ab4.html @@ -0,0 +1,120 @@ + + + + + + + +CioT: src/proto Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
proto Directory Reference
+
+
+ + + + +

+Directories

 ciot
 
+ + + + +

+Files

 ciot_serializer_pb.h
 Header file for the Protocol Buffers serializer module.
 
+
+
+ + + + diff --git a/docs/dir_51b8ddc8ad9e5a56f13bccf85e770ab4.js b/docs/dir_51b8ddc8ad9e5a56f13bccf85e770ab4.js new file mode 100644 index 0000000..5d230aa --- /dev/null +++ b/docs/dir_51b8ddc8ad9e5a56f13bccf85e770ab4.js @@ -0,0 +1,5 @@ +var dir_51b8ddc8ad9e5a56f13bccf85e770ab4 = +[ + [ "ciot", "dir_b4200e32bd511294f2c46ee68f0e73dc.html", "dir_b4200e32bd511294f2c46ee68f0e73dc" ], + [ "ciot_serializer_pb.h", "ciot__serializer__pb_8h.html", "ciot__serializer__pb_8h" ] +]; \ No newline at end of file diff --git a/docs/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/dir_68267d1309a1af8e8297ef4c3efbcdba.html new file mode 100644 index 0000000..dd7c846 --- /dev/null +++ b/docs/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -0,0 +1,114 @@ + + + + + + + +CioT: src Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
src Directory Reference
+
+
+ + + + +

+Directories

 proto
 
+
+
+ + + + diff --git a/docs/dir_68267d1309a1af8e8297ef4c3efbcdba.js b/docs/dir_68267d1309a1af8e8297ef4c3efbcdba.js new file mode 100644 index 0000000..12278d7 --- /dev/null +++ b/docs/dir_68267d1309a1af8e8297ef4c3efbcdba.js @@ -0,0 +1,4 @@ +var dir_68267d1309a1af8e8297ef4c3efbcdba = +[ + [ "proto", "dir_51b8ddc8ad9e5a56f13bccf85e770ab4.html", "dir_51b8ddc8ad9e5a56f13bccf85e770ab4" ] +]; \ No newline at end of file diff --git a/docs/dir_691f16c5aa7011d099d552b126f15457.html b/docs/dir_691f16c5aa7011d099d552b126f15457.html new file mode 100644 index 0000000..50c5bc9 --- /dev/null +++ b/docs/dir_691f16c5aa7011d099d552b126f15457.html @@ -0,0 +1,176 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1 Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
v1 Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

 ble.pb-c.c
 
 ble.pb-c.h
 
 ble_scn.pb-c.c
 
 ble_scn.pb-c.h
 
 ciot.pb-c.c
 
 ciot.pb-c.h
 
 errors.pb-c.c
 
 errors.pb-c.h
 
 http_client.pb-c.c
 
 http_client.pb-c.h
 
 http_server.pb-c.c
 
 http_server.pb-c.h
 
 mqtt_client.pb-c.c
 
 mqtt_client.pb-c.h
 
 msg.pb-c.c
 
 msg.pb-c.h
 
 ntp.pb-c.c
 
 ntp.pb-c.h
 
 ota.pb-c.c
 
 ota.pb-c.h
 
 storage.pb-c.c
 
 storage.pb-c.h
 
 sys.pb-c.c
 
 sys.pb-c.h
 
 tcp.pb-c.c
 
 tcp.pb-c.h
 
 uart.pb-c.c
 
 uart.pb-c.h
 
 usb.pb-c.c
 
 usb.pb-c.h
 
 wifi.pb-c.c
 
 wifi.pb-c.h
 
+
+
+ + + + diff --git a/docs/dir_691f16c5aa7011d099d552b126f15457.js b/docs/dir_691f16c5aa7011d099d552b126f15457.js new file mode 100644 index 0000000..dfb5dfa --- /dev/null +++ b/docs/dir_691f16c5aa7011d099d552b126f15457.js @@ -0,0 +1,35 @@ +var dir_691f16c5aa7011d099d552b126f15457 = +[ + [ "ble.pb-c.c", "ble_8pb-c_8c.html", "ble_8pb-c_8c" ], + [ "ble.pb-c.h", "ble_8pb-c_8h.html", "ble_8pb-c_8h" ], + [ "ble_scn.pb-c.c", "ble__scn_8pb-c_8c.html", "ble__scn_8pb-c_8c" ], + [ "ble_scn.pb-c.h", "ble__scn_8pb-c_8h.html", "ble__scn_8pb-c_8h" ], + [ "ciot.pb-c.c", "ciot_8pb-c_8c.html", "ciot_8pb-c_8c" ], + [ "ciot.pb-c.h", "ciot_8pb-c_8h.html", "ciot_8pb-c_8h" ], + [ "errors.pb-c.c", "errors_8pb-c_8c.html", "errors_8pb-c_8c" ], + [ "errors.pb-c.h", "errors_8pb-c_8h.html", "errors_8pb-c_8h" ], + [ "http_client.pb-c.c", "http__client_8pb-c_8c.html", "http__client_8pb-c_8c" ], + [ "http_client.pb-c.h", "http__client_8pb-c_8h.html", "http__client_8pb-c_8h" ], + [ "http_server.pb-c.c", "http__server_8pb-c_8c.html", "http__server_8pb-c_8c" ], + [ "http_server.pb-c.h", "http__server_8pb-c_8h.html", "http__server_8pb-c_8h" ], + [ "mqtt_client.pb-c.c", "mqtt__client_8pb-c_8c.html", "mqtt__client_8pb-c_8c" ], + [ "mqtt_client.pb-c.h", "mqtt__client_8pb-c_8h.html", "mqtt__client_8pb-c_8h" ], + [ "msg.pb-c.c", "msg_8pb-c_8c.html", "msg_8pb-c_8c" ], + [ "msg.pb-c.h", "msg_8pb-c_8h.html", "msg_8pb-c_8h" ], + [ "ntp.pb-c.c", "ntp_8pb-c_8c.html", "ntp_8pb-c_8c" ], + [ "ntp.pb-c.h", "ntp_8pb-c_8h.html", "ntp_8pb-c_8h" ], + [ "ota.pb-c.c", "ota_8pb-c_8c.html", "ota_8pb-c_8c" ], + [ "ota.pb-c.h", "ota_8pb-c_8h.html", "ota_8pb-c_8h" ], + [ "storage.pb-c.c", "storage_8pb-c_8c.html", "storage_8pb-c_8c" ], + [ "storage.pb-c.h", "storage_8pb-c_8h.html", "storage_8pb-c_8h" ], + [ "sys.pb-c.c", "sys_8pb-c_8c.html", "sys_8pb-c_8c" ], + [ "sys.pb-c.h", "sys_8pb-c_8h.html", "sys_8pb-c_8h" ], + [ "tcp.pb-c.c", "tcp_8pb-c_8c.html", "tcp_8pb-c_8c" ], + [ "tcp.pb-c.h", "tcp_8pb-c_8h.html", "tcp_8pb-c_8h" ], + [ "uart.pb-c.c", "uart_8pb-c_8c.html", "uart_8pb-c_8c" ], + [ "uart.pb-c.h", "uart_8pb-c_8h.html", "uart_8pb-c_8h" ], + [ "usb.pb-c.c", "usb_8pb-c_8c.html", "usb_8pb-c_8c" ], + [ "usb.pb-c.h", "usb_8pb-c_8h.html", "usb_8pb-c_8h" ], + [ "wifi.pb-c.c", "wifi_8pb-c_8c.html", "wifi_8pb-c_8c" ], + [ "wifi.pb-c.h", "wifi_8pb-c_8h.html", "wifi_8pb-c_8h" ] +]; \ No newline at end of file diff --git a/docs/dir_a86aaec6dfff5da350cfefc17047578d.html b/docs/dir_a86aaec6dfff5da350cfefc17047578d.html new file mode 100644 index 0000000..410767e --- /dev/null +++ b/docs/dir_a86aaec6dfff5da350cfefc17047578d.html @@ -0,0 +1,114 @@ + + + + + + + +CioT: src/proto/ciot/proto Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
proto Directory Reference
+
+
+ + + + +

+Directories

 v1
 
+
+
+ + + + diff --git a/docs/dir_a86aaec6dfff5da350cfefc17047578d.js b/docs/dir_a86aaec6dfff5da350cfefc17047578d.js new file mode 100644 index 0000000..d51ad6b --- /dev/null +++ b/docs/dir_a86aaec6dfff5da350cfefc17047578d.js @@ -0,0 +1,4 @@ +var dir_a86aaec6dfff5da350cfefc17047578d = +[ + [ "v1", "dir_691f16c5aa7011d099d552b126f15457.html", "dir_691f16c5aa7011d099d552b126f15457" ] +]; \ No newline at end of file diff --git a/docs/dir_b4200e32bd511294f2c46ee68f0e73dc.html b/docs/dir_b4200e32bd511294f2c46ee68f0e73dc.html new file mode 100644 index 0000000..69847d4 --- /dev/null +++ b/docs/dir_b4200e32bd511294f2c46ee68f0e73dc.html @@ -0,0 +1,114 @@ + + + + + + + +CioT: src/proto/ciot Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ciot Directory Reference
+
+
+ + + + +

+Directories

 proto
 
+
+
+ + + + diff --git a/docs/dir_b4200e32bd511294f2c46ee68f0e73dc.js b/docs/dir_b4200e32bd511294f2c46ee68f0e73dc.js new file mode 100644 index 0000000..973c172 --- /dev/null +++ b/docs/dir_b4200e32bd511294f2c46ee68f0e73dc.js @@ -0,0 +1,4 @@ +var dir_b4200e32bd511294f2c46ee68f0e73dc = +[ + [ "proto", "dir_a86aaec6dfff5da350cfefc17047578d.html", "dir_a86aaec6dfff5da350cfefc17047578d" ] +]; \ No newline at end of file diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/dir_d44c64559bbebec7f509842c48db8b23.html index 6e62bba..6c8a94a 100644 --- a/docs/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/docs/dir_d44c64559bbebec7f509842c48db8b23.html @@ -104,6 +104,7 @@

Files

 ciot.h + Header file for the CIOT core instance.
   ciot_ble.h  Defines functions and types for CIOT Bluetooth Low Energy (BLE) module.
diff --git a/docs/dir_e3c98ecf6a41b339c3d979e8e3c6f219.html b/docs/dir_e3c98ecf6a41b339c3d979e8e3c6f219.html new file mode 100644 index 0000000..e673589 --- /dev/null +++ b/docs/dir_e3c98ecf6a41b339c3d979e8e3c6f219.html @@ -0,0 +1,116 @@ + + + + + + + +CioT: src/proto/protobuf-c/protobuf-c Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
protobuf-c Directory Reference
+
+
+ + + + + + +

+Files

 protobuf-c.c
 
 protobuf-c.h
 
+
+
+ + + + diff --git a/docs/dir_e3c98ecf6a41b339c3d979e8e3c6f219.js b/docs/dir_e3c98ecf6a41b339c3d979e8e3c6f219.js new file mode 100644 index 0000000..28c5566 --- /dev/null +++ b/docs/dir_e3c98ecf6a41b339c3d979e8e3c6f219.js @@ -0,0 +1,5 @@ +var dir_e3c98ecf6a41b339c3d979e8e3c6f219 = +[ + [ "protobuf-c.c", "protobuf-c_8c.html", "protobuf-c_8c" ], + [ "protobuf-c.h", "protobuf-c_8h.html", "protobuf-c_8h" ] +]; \ No newline at end of file diff --git a/docs/doxygen_crawl.html b/docs/doxygen_crawl.html index 67477c0..19dfd7d 100644 --- a/docs/doxygen_crawl.html +++ b/docs/doxygen_crawl.html @@ -63,6 +63,23 @@ + + + + + + + + + + + + + + + + + @@ -118,6 +135,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -125,6 +175,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -294,8 +426,13 @@ + + + + + @@ -346,17 +483,22 @@ + + - + + + - + + diff --git a/docs/errors_8pb-c_8c.html b/docs/errors_8pb-c_8c.html new file mode 100644 index 0000000..14a9e51 --- /dev/null +++ b/docs/errors_8pb-c_8c.html @@ -0,0 +1,168 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/errors.pb-c.c File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
errors.pb-c.c File Reference
+
+
+ + + + +

+Macros

#define PROTOBUF_C__NO_DEPRECATED
 
+ + + +

+Variables

const ProtobufCEnumDescriptor ciot__ciot_err__descriptor
 
+

Macro Definition Documentation

+ +

◆ PROTOBUF_C__NO_DEPRECATED

+ +
+
+ + + + +
#define PROTOBUF_C__NO_DEPRECATED
+
+ +
+
+

Variable Documentation

+ +

◆ ciot__ciot_err__descriptor

+ +
+
+ + + + +
const ProtobufCEnumDescriptor ciot__ciot_err__descriptor
+
+Initial value:
=
+
{
+
PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+
"Ciot.CiotErr",
+
"CiotErr",
+
"Ciot__CiotErr",
+
"Ciot",
+
25,
+
ciot__ciot_err__enum_values_by_number,
+
25,
+
ciot__ciot_err__enum_values_by_name,
+
1,
+
ciot__ciot_err__value_ranges,
+
NULL,NULL,NULL,NULL
+
}
+
+
+
+
+
+ + + + diff --git a/docs/errors_8pb-c_8c.js b/docs/errors_8pb-c_8c.js new file mode 100644 index 0000000..415ef91 --- /dev/null +++ b/docs/errors_8pb-c_8c.js @@ -0,0 +1,5 @@ +var errors_8pb_c_8c = +[ + [ "PROTOBUF_C__NO_DEPRECATED", "errors_8pb-c_8c.html#ad9480935c25b5155174487b631af52f5", null ], + [ "ciot__ciot_err__descriptor", "errors_8pb-c_8c.html#abfa771d06cfc5550e0683759baec4d94", null ] +]; \ No newline at end of file diff --git a/docs/errors_8pb-c_8h.html b/docs/errors_8pb-c_8h.html new file mode 100644 index 0000000..92d636e --- /dev/null +++ b/docs/errors_8pb-c_8h.html @@ -0,0 +1,244 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/errors.pb-c.h File Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
errors.pb-c.h File Reference
+
+
+
#include <protobuf-c/protobuf-c.h>
+
+

Go to the source code of this file.

+ + + + +

+Typedefs

typedef PROTOBUF_C__BEGIN_DECLS enum _Ciot__CiotErr Ciot__CiotErr
 
+ + + +

+Enumerations

enum  _Ciot__CiotErr {
+  CIOT__CIOT_ERR__CIOT_OK = 0 +, CIOT__CIOT_ERR__CIOT_ERR_NULL_ARG = 1 +, CIOT__CIOT_ERR__CIOT_ERR_INVALID_ID = 2 +, CIOT__CIOT_ERR__CIOT_ERR_INVALID_TYPE = 3 +,
+  CIOT__CIOT_ERR__CIOT_ERR_OVERFLOW = 4 +, CIOT__CIOT_ERR__CIOT_ERR_NOT_IMPLEMENTED = 5 +, CIOT__CIOT_ERR__CIOT_ERR_NOT_SUPPORTED = 6 +, CIOT__CIOT_ERR__CIOT_ERR_BUSY = 7 +,
+  CIOT__CIOT_ERR__CIOT_ERR_INVALID_STATE = 8 +, CIOT__CIOT_ERR__CIOT_ERR_SERIALIZATION = 9 +, CIOT__CIOT_ERR__CIOT_ERR_DESERIALIZATION = 10 +, CIOT__CIOT_ERR__CIOT_ERR_SEND_DATA = 11 +,
+  CIOT__CIOT_ERR__CIOT_ERR_RECV_DATA = 12 +, CIOT__CIOT_ERR__CIOT_ERR_INVALID_SIZE = 13 +, CIOT__CIOT_ERR__CIOT_ERR_CLOSED = 14 +, CIOT__CIOT_ERR__CIOT_ERR_NOT_FOUND = 15 +,
+  CIOT__CIOT_ERR__CIOT_ERR_VALIDATION_FAILED = 16 +, CIOT__CIOT_ERR__CIOT_ERR_CONNECTION = 17 +, CIOT__CIOT_ERR__CIOT_ERR_DISCONNECTION = 18 +, CIOT__CIOT_ERR__CIOT_ERR_EXCEPTION = 19 +,
+  CIOT__CIOT_ERR__CIOT_ERR_TERMINATOR_MISSING = 20 +, CIOT__CIOT_ERR__CIOT_ERR_INVALID_ARG = 21 +, CIOT__CIOT_ERR__CIOT_ERR_NO_MEMORY = 22 +, CIOT__CIOT_ERR__CIOT_ERR_TIMEOUT = 23 +,
+  CIOT__CIOT_ERR__CIOT_FAIL = -1 +
+ }
 
+ + + +

+Variables

const ProtobufCEnumDescriptor ciot__ciot_err__descriptor
 
+

Typedef Documentation

+ +

◆ Ciot__CiotErr

+ +
+
+ + + + +
typedef PROTOBUF_C__BEGIN_DECLS enum _Ciot__CiotErr Ciot__CiotErr
+
+ +
+
+

Enumeration Type Documentation

+ +

◆ _Ciot__CiotErr

+ +
+
+ + + + +
enum _Ciot__CiotErr
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Enumerator
CIOT__CIOT_ERR__CIOT_OK 
CIOT__CIOT_ERR__CIOT_ERR_NULL_ARG 
CIOT__CIOT_ERR__CIOT_ERR_INVALID_ID 
CIOT__CIOT_ERR__CIOT_ERR_INVALID_TYPE 
CIOT__CIOT_ERR__CIOT_ERR_OVERFLOW 
CIOT__CIOT_ERR__CIOT_ERR_NOT_IMPLEMENTED 
CIOT__CIOT_ERR__CIOT_ERR_NOT_SUPPORTED 
CIOT__CIOT_ERR__CIOT_ERR_BUSY 
CIOT__CIOT_ERR__CIOT_ERR_INVALID_STATE 
CIOT__CIOT_ERR__CIOT_ERR_SERIALIZATION 
CIOT__CIOT_ERR__CIOT_ERR_DESERIALIZATION 
CIOT__CIOT_ERR__CIOT_ERR_SEND_DATA 
CIOT__CIOT_ERR__CIOT_ERR_RECV_DATA 
CIOT__CIOT_ERR__CIOT_ERR_INVALID_SIZE 
CIOT__CIOT_ERR__CIOT_ERR_CLOSED 
CIOT__CIOT_ERR__CIOT_ERR_NOT_FOUND 
CIOT__CIOT_ERR__CIOT_ERR_VALIDATION_FAILED 
CIOT__CIOT_ERR__CIOT_ERR_CONNECTION 
CIOT__CIOT_ERR__CIOT_ERR_DISCONNECTION 
CIOT__CIOT_ERR__CIOT_ERR_EXCEPTION 
CIOT__CIOT_ERR__CIOT_ERR_TERMINATOR_MISSING 
CIOT__CIOT_ERR__CIOT_ERR_INVALID_ARG 
CIOT__CIOT_ERR__CIOT_ERR_NO_MEMORY 
CIOT__CIOT_ERR__CIOT_ERR_TIMEOUT 
CIOT__CIOT_ERR__CIOT_FAIL 
+ +
+
+

Variable Documentation

+ +

◆ ciot__ciot_err__descriptor

+ +
+
+ + + + + +
+ + + + +
const ProtobufCEnumDescriptor ciot__ciot_err__descriptor
+
+extern
+
+ +
+
+
+
+ + + + diff --git a/docs/errors_8pb-c_8h.js b/docs/errors_8pb-c_8h.js new file mode 100644 index 0000000..3176c90 --- /dev/null +++ b/docs/errors_8pb-c_8h.js @@ -0,0 +1,32 @@ +var errors_8pb_c_8h = +[ + [ "Ciot__CiotErr", "errors_8pb-c_8h.html#a66621838fa05e5e36ca2485cb852c1c7", null ], + [ "_Ciot__CiotErr", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7de", [ + [ "CIOT__CIOT_ERR__CIOT_OK", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea7294c3a453eac537a9ff371894537b64", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_NULL_ARG", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7deaa9b0cc3fe841fa6dcbae5ce94d8e5da2", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_INVALID_ID", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea8a8e57afe3f9a5dce3b93d29d10fa202", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_INVALID_TYPE", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7deafbdfdfd8b2f5ab61c54fbe1370013c0c", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_OVERFLOW", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7deaedb6fc1b6d985accf9cc42edd6463410", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_NOT_IMPLEMENTED", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7deaec7398a368e2293053c98bca4356c0e6", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_NOT_SUPPORTED", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea6a4165ef2682069543616351ffce0a9b", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_BUSY", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea2a4579447082d796a436c2c78b776252", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_INVALID_STATE", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7deaa4b52322af2548f57a264e332efe8d03", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_SERIALIZATION", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea4802783865a263f80f5c489e27912f70", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_DESERIALIZATION", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7deacf22ef4d12595d78bea7eb714f1f4649", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_SEND_DATA", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea857ea48cafe0270a008b3451516db7b6", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_RECV_DATA", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7deabc5eb6ae3edd4b27be0f0d74802a61aa", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_INVALID_SIZE", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7deaeba2719688998ddf2876c145dcaedd31", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_CLOSED", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7deaca2d4a4a40eaaf1738d93a94b75926a2", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_NOT_FOUND", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea82cc6d4f90cf3af0761080ce27fa5e03", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_VALIDATION_FAILED", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea05cdc8fb5aebd0d9e6b46bd569e0fa58", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_CONNECTION", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea537f8f5b9337a62e725d2bb5db4ab9d6", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_DISCONNECTION", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea282dd6c1d32ccaa5413a312b9ab8d0ef", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_EXCEPTION", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7deaf9d0cb8c8c0df17d8e549f2b85a43ac4", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_TERMINATOR_MISSING", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea5d77a625d646b85d0bb853eb2b0e6965", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_INVALID_ARG", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7deaa843ed8fe22087d8713e2ac76b22e8f9", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_NO_MEMORY", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea552542b71379e9f4872c979506e84ae5", null ], + [ "CIOT__CIOT_ERR__CIOT_ERR_TIMEOUT", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea56d156577c434fdc956311dc244e54bc", null ], + [ "CIOT__CIOT_ERR__CIOT_FAIL", "errors_8pb-c_8h.html#a9ed00d4c46bfaed408ceb78e9f6ac7dea1d6b6afa2c2854a9903371653b4b9dfe", null ] + ] ], + [ "ciot__ciot_err__descriptor", "errors_8pb-c_8h.html#abfa771d06cfc5550e0683759baec4d94", null ] +]; \ No newline at end of file diff --git a/docs/errors_8pb-c_8h_source.html b/docs/errors_8pb-c_8h_source.html new file mode 100644 index 0000000..8802d4f --- /dev/null +++ b/docs/errors_8pb-c_8h_source.html @@ -0,0 +1,287 @@ + + + + + + + +CioT: src/proto/ciot/proto/v1/errors.pb-c.h Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
CioT 0.1.0 +
+
Connected IoT
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
errors.pb-c.h
+
+
+Go to the documentation of this file.
1/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+
2/* Generated from: ciot/proto/v1/errors.proto */
+
3
+
4#ifndef PROTOBUF_C_ciot_2fproto_2fv1_2ferrors_2eproto__INCLUDED
+
5#define PROTOBUF_C_ciot_2fproto_2fv1_2ferrors_2eproto__INCLUDED
+
6
+
7#include <protobuf-c/protobuf-c.h>
+
8
+
9PROTOBUF_C__BEGIN_DECLS
+
10
+
11#if PROTOBUF_C_VERSION_NUMBER < 1003000
+
12# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+
13#elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
+
14# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+
15#endif
+
16
+
17
+
18
+
19
+
20/* --- enums --- */
+
21
+
22/*
+
23 * Error codes
+
24 */
+
+
25typedef enum _Ciot__CiotErr {
+
26 /*
+
27 * No error
+
28 */
+ +
30 /*
+
31 * Null argunment
+
32 */
+ +
34 /*
+
35 * Invalid ID
+
36 */
+ +
38 /*
+
39 * Invalid Type
+
40 */
+ +
42 /*
+
43 * Memory overflow
+
44 */
+ +
46 /*
+
47 * Not implemented
+
48 */
+ +
50 /*
+
51 * Not supported
+
52 */
+ +
54 /*
+
55 * Busy
+
56 */
+ +
58 /*
+
59 * Invalid state
+
60 */
+ +
62 /*
+
63 * Serialization error
+
64 */
+ +
66 /*
+
67 * Deserialization error
+
68 */
+ +
70 /*
+
71 * Error sending data
+
72 */
+ +
74 /*
+
75 * Error on data receive
+
76 */
+ +
78 /*
+
79 * Invalid size
+
80 */
+ +
82 /*
+
83 * Closed
+
84 */
+ +
86 /*
+
87 * Resource not found
+
88 */
+ +
90 /*
+
91 * Validation failed
+
92 */
+ +
94 /*
+
95 * Connection failed
+
96 */
+ +
98 /*
+
99 * Disconnection failed
+
100 */
+ +
102 /*
+
103 * Unknown exception occours
+
104 */
+ +
106 /*
+
107 * Terminator is missing
+
108 */
+ +
110 /*
+
111 * Invalid argument detected
+
112 */
+ +
114 /*
+
115 * Insuficient memory
+
116 */
+ +
118 /*
+
119 * Timeout
+
120 */
+ +
122 /*
+
123 * Operation failed
+
124 */
+ +
126 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(CIOT__CIOT_ERR)
+ +
+
128
+
129/* --- messages --- */
+
130
+
131/* --- per-message closures --- */
+
132
+
133
+
134/* --- services --- */
+
135
+
136
+
137/* --- descriptors --- */
+
138
+
139extern const ProtobufCEnumDescriptor ciot__ciot_err__descriptor;
+
140
+
141PROTOBUF_C__END_DECLS
+
142
+
143
+
144#endif /* PROTOBUF_C_ciot_2fproto_2fv1_2ferrors_2eproto__INCLUDED */
+
PROTOBUF_C__BEGIN_DECLS enum _Ciot__CiotErr Ciot__CiotErr
+
_Ciot__CiotErr
Definition errors.pb-c.h:25
+
@ CIOT__CIOT_ERR__CIOT_ERR_VALIDATION_FAILED
Definition errors.pb-c.h:93
+
@ CIOT__CIOT_ERR__CIOT_FAIL
Definition errors.pb-c.h:125
+
@ CIOT__CIOT_ERR__CIOT_ERR_DISCONNECTION
Definition errors.pb-c.h:101
+
@ CIOT__CIOT_ERR__CIOT_ERR_BUSY
Definition errors.pb-c.h:57
+
@ CIOT__CIOT_ERR__CIOT_ERR_SERIALIZATION
Definition errors.pb-c.h:65
+
@ CIOT__CIOT_ERR__CIOT_ERR_CONNECTION
Definition errors.pb-c.h:97
+
@ CIOT__CIOT_ERR__CIOT_ERR_NO_MEMORY
Definition errors.pb-c.h:117
+
@ CIOT__CIOT_ERR__CIOT_ERR_TIMEOUT
Definition errors.pb-c.h:121
+
@ CIOT__CIOT_ERR__CIOT_ERR_TERMINATOR_MISSING
Definition errors.pb-c.h:109
+
@ CIOT__CIOT_ERR__CIOT_ERR_NOT_SUPPORTED
Definition errors.pb-c.h:53
+
@ CIOT__CIOT_ERR__CIOT_OK
Definition errors.pb-c.h:29
+
@ CIOT__CIOT_ERR__CIOT_ERR_NOT_FOUND
Definition errors.pb-c.h:89
+
@ CIOT__CIOT_ERR__CIOT_ERR_SEND_DATA
Definition errors.pb-c.h:73
+
@ CIOT__CIOT_ERR__CIOT_ERR_INVALID_ID
Definition errors.pb-c.h:37
+
@ CIOT__CIOT_ERR__CIOT_ERR_INVALID_STATE
Definition errors.pb-c.h:61
+
@ CIOT__CIOT_ERR__CIOT_ERR_INVALID_ARG
Definition errors.pb-c.h:113
+
@ CIOT__CIOT_ERR__CIOT_ERR_NULL_ARG
Definition errors.pb-c.h:33
+
@ CIOT__CIOT_ERR__CIOT_ERR_RECV_DATA
Definition errors.pb-c.h:77
+
@ CIOT__CIOT_ERR__CIOT_ERR_CLOSED
Definition errors.pb-c.h:85
+
@ CIOT__CIOT_ERR__CIOT_ERR_DESERIALIZATION
Definition errors.pb-c.h:69
+
@ CIOT__CIOT_ERR__CIOT_ERR_INVALID_SIZE
Definition errors.pb-c.h:81
+
@ CIOT__CIOT_ERR__CIOT_ERR_NOT_IMPLEMENTED
Definition errors.pb-c.h:49
+
@ CIOT__CIOT_ERR__CIOT_ERR_OVERFLOW
Definition errors.pb-c.h:45
+
@ CIOT__CIOT_ERR__CIOT_ERR_EXCEPTION
Definition errors.pb-c.h:105
+
@ CIOT__CIOT_ERR__CIOT_ERR_INVALID_TYPE
Definition errors.pb-c.h:41
+
const ProtobufCEnumDescriptor ciot__ciot_err__descriptor
Definition errors.pb-c.c:69
+
+
+ + + + diff --git a/docs/files.html b/docs/files.html index 4861369..7cd3214 100644 --- a/docs/files.html +++ b/docs/files.html @@ -96,7 +96,7 @@
Here is a list of all files with brief descriptions:
-
[detail level 123]
+
[detail level 123456]
@@ -119,7 +119,7 @@ - + @@ -154,6 +154,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  include
  types
 ciot_ble_scn_types.hDefines data types and structures for CIOT BLE SCN
 ciot_uart_types.hDefines data structures and types for CIOT UART functionality
 ciot_usb_types.hDefines data structures and types for CIOT USB functionality
 ciot_wifi_types.hDefines data structures and types for CIOT WiFi functionality
 ciot.h
 ciot.hHeader file for the CIOT core instance
 ciot_ble.hDefines functions and types for CIOT Bluetooth Low Energy (BLE) module
 ciot_ble_scn.hDefines functions and types for CIOT Bluetooth Low Energy (BLE) scanner
 ciot_bridge.hDefines functions and types for CIOT Bridge module
 ciot_utils.h
 ciot_wifi.hHeader file for CIOT Wi-Fi module
 mainpage.hDefinition of class Template
  src
  proto
  ciot
  proto
  v1
 ble.pb-c.c
 ble.pb-c.h
 ble_scn.pb-c.c
 ble_scn.pb-c.h
 ciot.pb-c.c
 ciot.pb-c.h
 errors.pb-c.c
 errors.pb-c.h
 http_client.pb-c.c
 http_client.pb-c.h
 http_server.pb-c.c
 http_server.pb-c.h
 mqtt_client.pb-c.c
 mqtt_client.pb-c.h
 msg.pb-c.c
 msg.pb-c.h
 ntp.pb-c.c
 ntp.pb-c.h
 ota.pb-c.c
 ota.pb-c.h
 storage.pb-c.c
 storage.pb-c.h
 sys.pb-c.c
 sys.pb-c.h
 tcp.pb-c.c
 tcp.pb-c.h
 uart.pb-c.c
 uart.pb-c.h
 usb.pb-c.c
 usb.pb-c.h
 wifi.pb-c.c
 wifi.pb-c.h
 ciot_serializer_pb.hHeader file for the Protocol Buffers serializer module
diff --git a/docs/files_dup.js b/docs/files_dup.js index f1749d9..89e9042 100644 --- a/docs/files_dup.js +++ b/docs/files_dup.js @@ -1,4 +1,5 @@ var files_dup = [ - [ "include", "dir_d44c64559bbebec7f509842c48db8b23.html", "dir_d44c64559bbebec7f509842c48db8b23" ] + [ "include", "dir_d44c64559bbebec7f509842c48db8b23.html", "dir_d44c64559bbebec7f509842c48db8b23" ], + [ "src", "dir_68267d1309a1af8e8297ef4c3efbcdba.html", "dir_68267d1309a1af8e8297ef4c3efbcdba" ] ]; \ No newline at end of file diff --git a/docs/functions.html b/docs/functions.html index 66f2d36..138ca59 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -95,14 +95,14 @@
Here is a list of all struct and union fields with links to the structures/unions they belong to:

- a -

diff --git a/docs/functions_b.html b/docs/functions_b.html index d3e15ff..0783987 100644 --- a/docs/functions_b.html +++ b/docs/functions_b.html @@ -95,16 +95,16 @@
Here is a list of all struct and union fields with links to the structures/unions they belong to:

- b -

diff --git a/docs/functions_c.html b/docs/functions_c.html index d3a0401..ec3f8db 100644 --- a/docs/functions_c.html +++ b/docs/functions_c.html @@ -97,15 +97,15 @@

- c -

diff --git a/docs/functions_d.html b/docs/functions_d.html index 6466bbc..b340d10 100644 --- a/docs/functions_d.html +++ b/docs/functions_d.html @@ -95,16 +95,16 @@
Here is a list of all struct and union fields with links to the structures/unions they belong to:

- d -

diff --git a/docs/functions_e.html b/docs/functions_e.html index 036ed96..80ba9a5 100644 --- a/docs/functions_e.html +++ b/docs/functions_e.html @@ -95,11 +95,11 @@
Here is a list of all struct and union fields with links to the structures/unions they belong to:

- e -