From 97192952ab44370030adb21dfc0e1c15f6329e36 Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Thu, 28 Aug 2025 10:22:16 +0200 Subject: [PATCH 01/17] host/api: add esp_hosted_gpio.h --- host/api/include/esp_hosted_gpio.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 host/api/include/esp_hosted_gpio.h diff --git a/host/api/include/esp_hosted_gpio.h b/host/api/include/esp_hosted_gpio.h new file mode 100644 index 0000000..46a8f60 --- /dev/null +++ b/host/api/include/esp_hosted_gpio.h @@ -0,0 +1,26 @@ +/* APIs to do control GPIOs of the co-processor + * + * Note: This API is platform dependent + * + * Source for the API should be in host/port//... + * + */ + +#ifndef __ESP_HOSTED_GPIO_H__ +#define __ESP_HOSTED_GPIO_H__ + +#ifdef ESP_PLATFORM +// OTA API for ESP-IDF +#include "esp_err.h" + +esp_err_t esp_hosted_gpio_config(const gpio_config_t *pGPIOConfig); +esp_err_t esp_hosted_gpio_reset_pin(gpio_num_t gpio_num); +esp_err_t esp_hosted_gpio_set_level(gpio_num_t gpio_num, uint32_t level); +int esp_hosted_gpio_get_level(gpio_num_t gpio_num); +esp_err_t esp_hosted_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode); +esp_err_t esp_hosted_gpio_input_enable(gpio_num_t gpio_num); +esp_err_t esp_hosted_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull); + +#endif + +#endif /*__ESP_HOSTED_OTA_H__*/ From e58c06108013a43aee44511abc51a25f7586f8fc Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Thu, 28 Aug 2025 10:23:06 +0200 Subject: [PATCH 02/17] host/port: add GPIO implementation (rename for consistency) --- .../freertos/src/port_esp_hosted_host_gpio.c | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 host/port/esp/freertos/src/port_esp_hosted_host_gpio.c diff --git a/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c b/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c new file mode 100644 index 0000000..57f18b7 --- /dev/null +++ b/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c @@ -0,0 +1,53 @@ +/* Current GPIO method(s) supported: + * - gpio_config() + * - gpio_reset_pin() + * - gpio_set_level() + * - gpio_get_level() + * - gpio_set_direction() + * - gpio_input_enable() + * - gpio_set_pull_mode() + */ + +#include "esp_log.h" + +#include "rpc_wrap.h" +#include "esp_hosted_gpio.h" + +static char *TAG = "hosted_gpio"; + +esp_err_t esp_hosted_gpio_config(const gpio_config_t *pGPIOConfig) +{ + return rpc_gpio_config(pGPIOConfig); +} + +esp_err_t esp_hosted_gpio_reset_pin(gpio_num_t gpio_num) +{ + return rpc_gpio_reset_pin(gpio_num); +} + +esp_err_t esp_hosted_gpio_set_level(gpio_num_t gpio_num, uint32_t level) +{ + return rpc_gpio_set_level(gpio_num, level); +} + +int esp_hosted_gpio_get_level(gpio_num_t gpio_num) +{ + int level = 0; + esp_err_t err = rpc_gpio_get_level(gpio_num, &level); + return level; +} + +esp_err_t esp_hosted_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode) +{ + return rpc_gpio_set_direction(gpio_num, mode); +} + +esp_err_t esp_hosted_gpio_input_enable(gpio_num_t gpio_num) +{ + return rpc_gpio_input_enable(gpio_num); +} + +esp_err_t esp_hosted_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull) +{ + return rpc_gpio_set_pull_mode(gpio_num, pull); +} From 6ac0baeb5f400dd8e4310952d76a5cf69f53e033 Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Thu, 28 Aug 2025 11:19:43 +0200 Subject: [PATCH 03/17] proto: add GPIO RPC messages; regenerate pb-c stubs --- common/proto/esp_hosted_rpc.pb-c.c | 10633 +++++++++++++++------------ common/proto/esp_hosted_rpc.pb-c.h | 1213 ++- common/proto/esp_hosted_rpc.proto | 110 +- 3 files changed, 7142 insertions(+), 4814 deletions(-) diff --git a/common/proto/esp_hosted_rpc.pb-c.c b/common/proto/esp_hosted_rpc.pb-c.c index 649b988..a44bfbd 100644 --- a/common/proto/esp_hosted_rpc.pb-c.c +++ b/common/proto/esp_hosted_rpc.pb-c.c @@ -8422,419 +8422,1094 @@ void rpc__event__sta_disconnected__free_unpacked assert(message->base.descriptor == &rpc__event__sta_disconnected__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void rpc__event__dhcp_dns_status__init - (RpcEventDhcpDnsStatus *message) +void rpc__gpio_config__init + (RpcGpioConfig *message) { - static const RpcEventDhcpDnsStatus init_value = RPC__EVENT__DHCP_DNS_STATUS__INIT; + static const RpcGpioConfig init_value = RPC__GPIO_CONFIG__INIT; *message = init_value; } -size_t rpc__event__dhcp_dns_status__get_packed_size - (const RpcEventDhcpDnsStatus *message) +size_t rpc__gpio_config__get_packed_size + (const RpcGpioConfig *message) { - assert(message->base.descriptor == &rpc__event__dhcp_dns_status__descriptor); + assert(message->base.descriptor == &rpc__gpio_config__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } -size_t rpc__event__dhcp_dns_status__pack - (const RpcEventDhcpDnsStatus *message, +size_t rpc__gpio_config__pack + (const RpcGpioConfig *message, uint8_t *out) { - assert(message->base.descriptor == &rpc__event__dhcp_dns_status__descriptor); + assert(message->base.descriptor == &rpc__gpio_config__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } -size_t rpc__event__dhcp_dns_status__pack_to_buffer - (const RpcEventDhcpDnsStatus *message, +size_t rpc__gpio_config__pack_to_buffer + (const RpcGpioConfig *message, ProtobufCBuffer *buffer) { - assert(message->base.descriptor == &rpc__event__dhcp_dns_status__descriptor); + assert(message->base.descriptor == &rpc__gpio_config__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } -RpcEventDhcpDnsStatus * - rpc__event__dhcp_dns_status__unpack +RpcGpioConfig * + rpc__gpio_config__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { - return (RpcEventDhcpDnsStatus *) - protobuf_c_message_unpack (&rpc__event__dhcp_dns_status__descriptor, + return (RpcGpioConfig *) + protobuf_c_message_unpack (&rpc__gpio_config__descriptor, allocator, len, data); } -void rpc__event__dhcp_dns_status__free_unpacked - (RpcEventDhcpDnsStatus *message, +void rpc__gpio_config__free_unpacked + (RpcGpioConfig *message, ProtobufCAllocator *allocator) { if(!message) return; - assert(message->base.descriptor == &rpc__event__dhcp_dns_status__descriptor); + assert(message->base.descriptor == &rpc__gpio_config__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void rpc__event__sta_itwt_setup__init - (RpcEventStaItwtSetup *message) +void rpc__req__gpio_config__init + (RpcReqGpioConfig *message) { - static const RpcEventStaItwtSetup init_value = RPC__EVENT__STA_ITWT_SETUP__INIT; + static const RpcReqGpioConfig init_value = RPC__REQ__GPIO_CONFIG__INIT; *message = init_value; } -size_t rpc__event__sta_itwt_setup__get_packed_size - (const RpcEventStaItwtSetup *message) +size_t rpc__req__gpio_config__get_packed_size + (const RpcReqGpioConfig *message) { - assert(message->base.descriptor == &rpc__event__sta_itwt_setup__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_config__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } -size_t rpc__event__sta_itwt_setup__pack - (const RpcEventStaItwtSetup *message, +size_t rpc__req__gpio_config__pack + (const RpcReqGpioConfig *message, uint8_t *out) { - assert(message->base.descriptor == &rpc__event__sta_itwt_setup__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_config__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } -size_t rpc__event__sta_itwt_setup__pack_to_buffer - (const RpcEventStaItwtSetup *message, +size_t rpc__req__gpio_config__pack_to_buffer + (const RpcReqGpioConfig *message, ProtobufCBuffer *buffer) { - assert(message->base.descriptor == &rpc__event__sta_itwt_setup__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_config__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } -RpcEventStaItwtSetup * - rpc__event__sta_itwt_setup__unpack +RpcReqGpioConfig * + rpc__req__gpio_config__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { - return (RpcEventStaItwtSetup *) - protobuf_c_message_unpack (&rpc__event__sta_itwt_setup__descriptor, + return (RpcReqGpioConfig *) + protobuf_c_message_unpack (&rpc__req__gpio_config__descriptor, allocator, len, data); } -void rpc__event__sta_itwt_setup__free_unpacked - (RpcEventStaItwtSetup *message, +void rpc__req__gpio_config__free_unpacked + (RpcReqGpioConfig *message, ProtobufCAllocator *allocator) { if(!message) return; - assert(message->base.descriptor == &rpc__event__sta_itwt_setup__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_config__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void rpc__event__sta_itwt_teardown__init - (RpcEventStaItwtTeardown *message) +void rpc__resp__gpio_config__init + (RpcRespGpioConfig *message) { - static const RpcEventStaItwtTeardown init_value = RPC__EVENT__STA_ITWT_TEARDOWN__INIT; + static const RpcRespGpioConfig init_value = RPC__RESP__GPIO_CONFIG__INIT; *message = init_value; } -size_t rpc__event__sta_itwt_teardown__get_packed_size - (const RpcEventStaItwtTeardown *message) +size_t rpc__resp__gpio_config__get_packed_size + (const RpcRespGpioConfig *message) { - assert(message->base.descriptor == &rpc__event__sta_itwt_teardown__descriptor); + assert(message->base.descriptor == &rpc__resp__gpio_config__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } -size_t rpc__event__sta_itwt_teardown__pack - (const RpcEventStaItwtTeardown *message, +size_t rpc__resp__gpio_config__pack + (const RpcRespGpioConfig *message, uint8_t *out) { - assert(message->base.descriptor == &rpc__event__sta_itwt_teardown__descriptor); + assert(message->base.descriptor == &rpc__resp__gpio_config__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } -size_t rpc__event__sta_itwt_teardown__pack_to_buffer - (const RpcEventStaItwtTeardown *message, +size_t rpc__resp__gpio_config__pack_to_buffer + (const RpcRespGpioConfig *message, ProtobufCBuffer *buffer) { - assert(message->base.descriptor == &rpc__event__sta_itwt_teardown__descriptor); + assert(message->base.descriptor == &rpc__resp__gpio_config__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } -RpcEventStaItwtTeardown * - rpc__event__sta_itwt_teardown__unpack +RpcRespGpioConfig * + rpc__resp__gpio_config__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { - return (RpcEventStaItwtTeardown *) - protobuf_c_message_unpack (&rpc__event__sta_itwt_teardown__descriptor, + return (RpcRespGpioConfig *) + protobuf_c_message_unpack (&rpc__resp__gpio_config__descriptor, allocator, len, data); } -void rpc__event__sta_itwt_teardown__free_unpacked - (RpcEventStaItwtTeardown *message, +void rpc__resp__gpio_config__free_unpacked + (RpcRespGpioConfig *message, ProtobufCAllocator *allocator) { if(!message) return; - assert(message->base.descriptor == &rpc__event__sta_itwt_teardown__descriptor); + assert(message->base.descriptor == &rpc__resp__gpio_config__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void rpc__event__sta_itwt_suspend__init - (RpcEventStaItwtSuspend *message) +void rpc__req__gpio_reset__init + (RpcReqGpioReset *message) { - static const RpcEventStaItwtSuspend init_value = RPC__EVENT__STA_ITWT_SUSPEND__INIT; + static const RpcReqGpioReset init_value = RPC__REQ__GPIO_RESET__INIT; *message = init_value; } -size_t rpc__event__sta_itwt_suspend__get_packed_size - (const RpcEventStaItwtSuspend *message) +size_t rpc__req__gpio_reset__get_packed_size + (const RpcReqGpioReset *message) { - assert(message->base.descriptor == &rpc__event__sta_itwt_suspend__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_reset__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } -size_t rpc__event__sta_itwt_suspend__pack - (const RpcEventStaItwtSuspend *message, +size_t rpc__req__gpio_reset__pack + (const RpcReqGpioReset *message, uint8_t *out) { - assert(message->base.descriptor == &rpc__event__sta_itwt_suspend__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_reset__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } -size_t rpc__event__sta_itwt_suspend__pack_to_buffer - (const RpcEventStaItwtSuspend *message, +size_t rpc__req__gpio_reset__pack_to_buffer + (const RpcReqGpioReset *message, ProtobufCBuffer *buffer) { - assert(message->base.descriptor == &rpc__event__sta_itwt_suspend__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_reset__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } -RpcEventStaItwtSuspend * - rpc__event__sta_itwt_suspend__unpack +RpcReqGpioReset * + rpc__req__gpio_reset__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { - return (RpcEventStaItwtSuspend *) - protobuf_c_message_unpack (&rpc__event__sta_itwt_suspend__descriptor, + return (RpcReqGpioReset *) + protobuf_c_message_unpack (&rpc__req__gpio_reset__descriptor, allocator, len, data); } -void rpc__event__sta_itwt_suspend__free_unpacked - (RpcEventStaItwtSuspend *message, +void rpc__req__gpio_reset__free_unpacked + (RpcReqGpioReset *message, ProtobufCAllocator *allocator) { if(!message) return; - assert(message->base.descriptor == &rpc__event__sta_itwt_suspend__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_reset__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void rpc__event__sta_itwt_probe__init - (RpcEventStaItwtProbe *message) +void rpc__resp__gpio_reset_pin__init + (RpcRespGpioResetPin *message) { - static const RpcEventStaItwtProbe init_value = RPC__EVENT__STA_ITWT_PROBE__INIT; + static const RpcRespGpioResetPin init_value = RPC__RESP__GPIO_RESET_PIN__INIT; *message = init_value; } -size_t rpc__event__sta_itwt_probe__get_packed_size - (const RpcEventStaItwtProbe *message) +size_t rpc__resp__gpio_reset_pin__get_packed_size + (const RpcRespGpioResetPin *message) { - assert(message->base.descriptor == &rpc__event__sta_itwt_probe__descriptor); + assert(message->base.descriptor == &rpc__resp__gpio_reset_pin__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } -size_t rpc__event__sta_itwt_probe__pack - (const RpcEventStaItwtProbe *message, +size_t rpc__resp__gpio_reset_pin__pack + (const RpcRespGpioResetPin *message, uint8_t *out) { - assert(message->base.descriptor == &rpc__event__sta_itwt_probe__descriptor); + assert(message->base.descriptor == &rpc__resp__gpio_reset_pin__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } -size_t rpc__event__sta_itwt_probe__pack_to_buffer - (const RpcEventStaItwtProbe *message, +size_t rpc__resp__gpio_reset_pin__pack_to_buffer + (const RpcRespGpioResetPin *message, ProtobufCBuffer *buffer) { - assert(message->base.descriptor == &rpc__event__sta_itwt_probe__descriptor); + assert(message->base.descriptor == &rpc__resp__gpio_reset_pin__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } -RpcEventStaItwtProbe * - rpc__event__sta_itwt_probe__unpack +RpcRespGpioResetPin * + rpc__resp__gpio_reset_pin__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { - return (RpcEventStaItwtProbe *) - protobuf_c_message_unpack (&rpc__event__sta_itwt_probe__descriptor, + return (RpcRespGpioResetPin *) + protobuf_c_message_unpack (&rpc__resp__gpio_reset_pin__descriptor, allocator, len, data); } -void rpc__event__sta_itwt_probe__free_unpacked - (RpcEventStaItwtProbe *message, +void rpc__resp__gpio_reset_pin__free_unpacked + (RpcRespGpioResetPin *message, ProtobufCAllocator *allocator) { if(!message) return; - assert(message->base.descriptor == &rpc__event__sta_itwt_probe__descriptor); + assert(message->base.descriptor == &rpc__resp__gpio_reset_pin__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -void rpc__init - (Rpc *message) +void rpc__req__gpio_set_level__init + (RpcReqGpioSetLevel *message) { - static const Rpc init_value = RPC__INIT; + static const RpcReqGpioSetLevel init_value = RPC__REQ__GPIO_SET_LEVEL__INIT; *message = init_value; } -size_t rpc__get_packed_size - (const Rpc *message) +size_t rpc__req__gpio_set_level__get_packed_size + (const RpcReqGpioSetLevel *message) { - assert(message->base.descriptor == &rpc__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_set_level__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } -size_t rpc__pack - (const Rpc *message, +size_t rpc__req__gpio_set_level__pack + (const RpcReqGpioSetLevel *message, uint8_t *out) { - assert(message->base.descriptor == &rpc__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_set_level__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } -size_t rpc__pack_to_buffer - (const Rpc *message, +size_t rpc__req__gpio_set_level__pack_to_buffer + (const RpcReqGpioSetLevel *message, ProtobufCBuffer *buffer) { - assert(message->base.descriptor == &rpc__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_set_level__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } -Rpc * - rpc__unpack +RpcReqGpioSetLevel * + rpc__req__gpio_set_level__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { - return (Rpc *) - protobuf_c_message_unpack (&rpc__descriptor, + return (RpcReqGpioSetLevel *) + protobuf_c_message_unpack (&rpc__req__gpio_set_level__descriptor, allocator, len, data); } -void rpc__free_unpacked - (Rpc *message, +void rpc__req__gpio_set_level__free_unpacked + (RpcReqGpioSetLevel *message, ProtobufCAllocator *allocator) { if(!message) return; - assert(message->base.descriptor == &rpc__descriptor); + assert(message->base.descriptor == &rpc__req__gpio_set_level__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -static const ProtobufCFieldDescriptor wifi_init_config__field_descriptors[24] = +void rpc__resp__gpio_set_level__init + (RpcRespGpioSetLevel *message) { - { - "static_rx_buf_num", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, static_rx_buf_num), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dynamic_rx_buf_num", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, dynamic_rx_buf_num), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "tx_buf_type", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, tx_buf_type), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "static_tx_buf_num", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, static_tx_buf_num), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dynamic_tx_buf_num", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, dynamic_tx_buf_num), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cache_tx_buf_num", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, cache_tx_buf_num), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "csi_enable", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, csi_enable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ampdu_rx_enable", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, ampdu_rx_enable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ampdu_tx_enable", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, ampdu_tx_enable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "amsdu_tx_enable", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, amsdu_tx_enable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "nvs_enable", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, nvs_enable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "nano_enable", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiInitConfig, nano_enable), - NULL, - NULL, + static const RpcRespGpioSetLevel init_value = RPC__RESP__GPIO_SET_LEVEL__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_set_level__get_packed_size + (const RpcRespGpioSetLevel *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_level__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_set_level__pack + (const RpcRespGpioSetLevel *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_level__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_set_level__pack_to_buffer + (const RpcRespGpioSetLevel *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_level__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioSetLevel * + rpc__resp__gpio_set_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioSetLevel *) + protobuf_c_message_unpack (&rpc__resp__gpio_set_level__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_set_level__free_unpacked + (RpcRespGpioSetLevel *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_set_level__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__req__gpio_get_level__init + (RpcReqGpioGetLevel *message) +{ + static const RpcReqGpioGetLevel init_value = RPC__REQ__GPIO_GET_LEVEL__INIT; + *message = init_value; +} +size_t rpc__req__gpio_get_level__get_packed_size + (const RpcReqGpioGetLevel *message) +{ + assert(message->base.descriptor == &rpc__req__gpio_get_level__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__req__gpio_get_level__pack + (const RpcReqGpioGetLevel *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__req__gpio_get_level__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__req__gpio_get_level__pack_to_buffer + (const RpcReqGpioGetLevel *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__req__gpio_get_level__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcReqGpioGetLevel * + rpc__req__gpio_get_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcReqGpioGetLevel *) + protobuf_c_message_unpack (&rpc__req__gpio_get_level__descriptor, + allocator, len, data); +} +void rpc__req__gpio_get_level__free_unpacked + (RpcReqGpioGetLevel *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__req__gpio_get_level__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__resp__gpio_get_level__init + (RpcRespGpioGetLevel *message) +{ + static const RpcRespGpioGetLevel init_value = RPC__RESP__GPIO_GET_LEVEL__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_get_level__get_packed_size + (const RpcRespGpioGetLevel *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_get_level__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_get_level__pack + (const RpcRespGpioGetLevel *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_get_level__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_get_level__pack_to_buffer + (const RpcRespGpioGetLevel *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_get_level__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioGetLevel * + rpc__resp__gpio_get_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioGetLevel *) + protobuf_c_message_unpack (&rpc__resp__gpio_get_level__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_get_level__free_unpacked + (RpcRespGpioGetLevel *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_get_level__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__req__gpio_set_direction__init + (RpcReqGpioSetDirection *message) +{ + static const RpcReqGpioSetDirection init_value = RPC__REQ__GPIO_SET_DIRECTION__INIT; + *message = init_value; +} +size_t rpc__req__gpio_set_direction__get_packed_size + (const RpcReqGpioSetDirection *message) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_direction__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__req__gpio_set_direction__pack + (const RpcReqGpioSetDirection *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_direction__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__req__gpio_set_direction__pack_to_buffer + (const RpcReqGpioSetDirection *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_direction__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcReqGpioSetDirection * + rpc__req__gpio_set_direction__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcReqGpioSetDirection *) + protobuf_c_message_unpack (&rpc__req__gpio_set_direction__descriptor, + allocator, len, data); +} +void rpc__req__gpio_set_direction__free_unpacked + (RpcReqGpioSetDirection *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__req__gpio_set_direction__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__resp__gpio_set_direction__init + (RpcRespGpioSetDirection *message) +{ + static const RpcRespGpioSetDirection init_value = RPC__RESP__GPIO_SET_DIRECTION__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_set_direction__get_packed_size + (const RpcRespGpioSetDirection *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_direction__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_set_direction__pack + (const RpcRespGpioSetDirection *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_direction__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_set_direction__pack_to_buffer + (const RpcRespGpioSetDirection *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_direction__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioSetDirection * + rpc__resp__gpio_set_direction__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioSetDirection *) + protobuf_c_message_unpack (&rpc__resp__gpio_set_direction__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_set_direction__free_unpacked + (RpcRespGpioSetDirection *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_set_direction__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__req__gpio_input_enable__init + (RpcReqGpioInputEnable *message) +{ + static const RpcReqGpioInputEnable init_value = RPC__REQ__GPIO_INPUT_ENABLE__INIT; + *message = init_value; +} +size_t rpc__req__gpio_input_enable__get_packed_size + (const RpcReqGpioInputEnable *message) +{ + assert(message->base.descriptor == &rpc__req__gpio_input_enable__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__req__gpio_input_enable__pack + (const RpcReqGpioInputEnable *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__req__gpio_input_enable__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__req__gpio_input_enable__pack_to_buffer + (const RpcReqGpioInputEnable *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__req__gpio_input_enable__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcReqGpioInputEnable * + rpc__req__gpio_input_enable__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcReqGpioInputEnable *) + protobuf_c_message_unpack (&rpc__req__gpio_input_enable__descriptor, + allocator, len, data); +} +void rpc__req__gpio_input_enable__free_unpacked + (RpcReqGpioInputEnable *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__req__gpio_input_enable__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__resp__gpio_input_enable__init + (RpcRespGpioInputEnable *message) +{ + static const RpcRespGpioInputEnable init_value = RPC__RESP__GPIO_INPUT_ENABLE__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_input_enable__get_packed_size + (const RpcRespGpioInputEnable *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_input_enable__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_input_enable__pack + (const RpcRespGpioInputEnable *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_input_enable__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_input_enable__pack_to_buffer + (const RpcRespGpioInputEnable *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_input_enable__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioInputEnable * + rpc__resp__gpio_input_enable__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioInputEnable *) + protobuf_c_message_unpack (&rpc__resp__gpio_input_enable__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_input_enable__free_unpacked + (RpcRespGpioInputEnable *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_input_enable__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__req__gpio_set_pull_mode__init + (RpcReqGpioSetPullMode *message) +{ + static const RpcReqGpioSetPullMode init_value = RPC__REQ__GPIO_SET_PULL_MODE__INIT; + *message = init_value; +} +size_t rpc__req__gpio_set_pull_mode__get_packed_size + (const RpcReqGpioSetPullMode *message) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_pull_mode__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__req__gpio_set_pull_mode__pack + (const RpcReqGpioSetPullMode *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_pull_mode__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__req__gpio_set_pull_mode__pack_to_buffer + (const RpcReqGpioSetPullMode *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__req__gpio_set_pull_mode__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcReqGpioSetPullMode * + rpc__req__gpio_set_pull_mode__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcReqGpioSetPullMode *) + protobuf_c_message_unpack (&rpc__req__gpio_set_pull_mode__descriptor, + allocator, len, data); +} +void rpc__req__gpio_set_pull_mode__free_unpacked + (RpcReqGpioSetPullMode *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__req__gpio_set_pull_mode__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__resp__gpio_set_pull_mode__init + (RpcRespGpioSetPullMode *message) +{ + static const RpcRespGpioSetPullMode init_value = RPC__RESP__GPIO_SET_PULL_MODE__INIT; + *message = init_value; +} +size_t rpc__resp__gpio_set_pull_mode__get_packed_size + (const RpcRespGpioSetPullMode *message) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_pull_mode__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__resp__gpio_set_pull_mode__pack + (const RpcRespGpioSetPullMode *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_pull_mode__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__resp__gpio_set_pull_mode__pack_to_buffer + (const RpcRespGpioSetPullMode *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__resp__gpio_set_pull_mode__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcRespGpioSetPullMode * + rpc__resp__gpio_set_pull_mode__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcRespGpioSetPullMode *) + protobuf_c_message_unpack (&rpc__resp__gpio_set_pull_mode__descriptor, + allocator, len, data); +} +void rpc__resp__gpio_set_pull_mode__free_unpacked + (RpcRespGpioSetPullMode *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__resp__gpio_set_pull_mode__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__event__dhcp_dns_status__init + (RpcEventDhcpDnsStatus *message) +{ + static const RpcEventDhcpDnsStatus init_value = RPC__EVENT__DHCP_DNS_STATUS__INIT; + *message = init_value; +} +size_t rpc__event__dhcp_dns_status__get_packed_size + (const RpcEventDhcpDnsStatus *message) +{ + assert(message->base.descriptor == &rpc__event__dhcp_dns_status__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__event__dhcp_dns_status__pack + (const RpcEventDhcpDnsStatus *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__event__dhcp_dns_status__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__event__dhcp_dns_status__pack_to_buffer + (const RpcEventDhcpDnsStatus *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__event__dhcp_dns_status__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcEventDhcpDnsStatus * + rpc__event__dhcp_dns_status__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcEventDhcpDnsStatus *) + protobuf_c_message_unpack (&rpc__event__dhcp_dns_status__descriptor, + allocator, len, data); +} +void rpc__event__dhcp_dns_status__free_unpacked + (RpcEventDhcpDnsStatus *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__event__dhcp_dns_status__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__event__sta_itwt_setup__init + (RpcEventStaItwtSetup *message) +{ + static const RpcEventStaItwtSetup init_value = RPC__EVENT__STA_ITWT_SETUP__INIT; + *message = init_value; +} +size_t rpc__event__sta_itwt_setup__get_packed_size + (const RpcEventStaItwtSetup *message) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_setup__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__event__sta_itwt_setup__pack + (const RpcEventStaItwtSetup *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_setup__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__event__sta_itwt_setup__pack_to_buffer + (const RpcEventStaItwtSetup *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_setup__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcEventStaItwtSetup * + rpc__event__sta_itwt_setup__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcEventStaItwtSetup *) + protobuf_c_message_unpack (&rpc__event__sta_itwt_setup__descriptor, + allocator, len, data); +} +void rpc__event__sta_itwt_setup__free_unpacked + (RpcEventStaItwtSetup *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__event__sta_itwt_setup__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__event__sta_itwt_teardown__init + (RpcEventStaItwtTeardown *message) +{ + static const RpcEventStaItwtTeardown init_value = RPC__EVENT__STA_ITWT_TEARDOWN__INIT; + *message = init_value; +} +size_t rpc__event__sta_itwt_teardown__get_packed_size + (const RpcEventStaItwtTeardown *message) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_teardown__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__event__sta_itwt_teardown__pack + (const RpcEventStaItwtTeardown *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_teardown__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__event__sta_itwt_teardown__pack_to_buffer + (const RpcEventStaItwtTeardown *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_teardown__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcEventStaItwtTeardown * + rpc__event__sta_itwt_teardown__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcEventStaItwtTeardown *) + protobuf_c_message_unpack (&rpc__event__sta_itwt_teardown__descriptor, + allocator, len, data); +} +void rpc__event__sta_itwt_teardown__free_unpacked + (RpcEventStaItwtTeardown *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__event__sta_itwt_teardown__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__event__sta_itwt_suspend__init + (RpcEventStaItwtSuspend *message) +{ + static const RpcEventStaItwtSuspend init_value = RPC__EVENT__STA_ITWT_SUSPEND__INIT; + *message = init_value; +} +size_t rpc__event__sta_itwt_suspend__get_packed_size + (const RpcEventStaItwtSuspend *message) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_suspend__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__event__sta_itwt_suspend__pack + (const RpcEventStaItwtSuspend *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_suspend__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__event__sta_itwt_suspend__pack_to_buffer + (const RpcEventStaItwtSuspend *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_suspend__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcEventStaItwtSuspend * + rpc__event__sta_itwt_suspend__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcEventStaItwtSuspend *) + protobuf_c_message_unpack (&rpc__event__sta_itwt_suspend__descriptor, + allocator, len, data); +} +void rpc__event__sta_itwt_suspend__free_unpacked + (RpcEventStaItwtSuspend *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__event__sta_itwt_suspend__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__event__sta_itwt_probe__init + (RpcEventStaItwtProbe *message) +{ + static const RpcEventStaItwtProbe init_value = RPC__EVENT__STA_ITWT_PROBE__INIT; + *message = init_value; +} +size_t rpc__event__sta_itwt_probe__get_packed_size + (const RpcEventStaItwtProbe *message) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_probe__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__event__sta_itwt_probe__pack + (const RpcEventStaItwtProbe *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_probe__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__event__sta_itwt_probe__pack_to_buffer + (const RpcEventStaItwtProbe *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__event__sta_itwt_probe__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +RpcEventStaItwtProbe * + rpc__event__sta_itwt_probe__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (RpcEventStaItwtProbe *) + protobuf_c_message_unpack (&rpc__event__sta_itwt_probe__descriptor, + allocator, len, data); +} +void rpc__event__sta_itwt_probe__free_unpacked + (RpcEventStaItwtProbe *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__event__sta_itwt_probe__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void rpc__init + (Rpc *message) +{ + static const Rpc init_value = RPC__INIT; + *message = init_value; +} +size_t rpc__get_packed_size + (const Rpc *message) +{ + assert(message->base.descriptor == &rpc__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t rpc__pack + (const Rpc *message, + uint8_t *out) +{ + assert(message->base.descriptor == &rpc__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t rpc__pack_to_buffer + (const Rpc *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &rpc__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Rpc * + rpc__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Rpc *) + protobuf_c_message_unpack (&rpc__descriptor, + allocator, len, data); +} +void rpc__free_unpacked + (Rpc *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &rpc__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor wifi_init_config__field_descriptors[24] = +{ + { + "static_rx_buf_num", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, static_rx_buf_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dynamic_rx_buf_num", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, dynamic_rx_buf_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "tx_buf_type", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, tx_buf_type), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "static_tx_buf_num", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, static_tx_buf_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dynamic_tx_buf_num", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, dynamic_tx_buf_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "cache_tx_buf_num", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, cache_tx_buf_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "csi_enable", + 7, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, csi_enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ampdu_rx_enable", + 8, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, ampdu_rx_enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ampdu_tx_enable", + 9, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, ampdu_tx_enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "amsdu_tx_enable", + 10, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, amsdu_tx_enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "nvs_enable", + 11, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, nvs_enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "nano_enable", + 12, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiInitConfig, nano_enable), + NULL, + NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, @@ -10341,7 +11016,7 @@ static const ProtobufCFieldDescriptor wifi_config__field_descriptors[2] = offsetof(WifiConfig, ap), &wifi_ap_config__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -10353,7 +11028,7 @@ static const ProtobufCFieldDescriptor wifi_config__field_descriptors[2] = offsetof(WifiConfig, sta), &wifi_sta_config__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; @@ -10502,2194 +11177,2624 @@ static const ProtobufCFieldDescriptor wifi_pkt_rx_ctrl__field_descriptors[19] = "rssi", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, rssi), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rate", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, rate), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sig_mode", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, sig_mode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "mcs", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, mcs), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "cwb", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, cwb), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "smoothing", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, smoothing), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "not_sounding", + 7, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, not_sounding), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "aggregation", + 8, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, aggregation), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "stbc", + 9, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, stbc), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "fec_coding", + 10, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, fec_coding), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sgi", + 11, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, sgi), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "noise_floor", + 12, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, noise_floor), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ampdu_cnt", + 13, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiPktRxCtrl, ampdu_cnt), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "channel", + 14, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, rssi), + offsetof(WifiPktRxCtrl, channel), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rate", - 2, + "secondary_channel", + 15, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, rate), + offsetof(WifiPktRxCtrl, secondary_channel), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sig_mode", - 3, + "timestamp", + 16, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, sig_mode), + offsetof(WifiPktRxCtrl, timestamp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "mcs", - 4, + "ant", + 17, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, mcs), + offsetof(WifiPktRxCtrl, ant), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "cwb", - 5, + "sig_len", + 18, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, cwb), + offsetof(WifiPktRxCtrl, sig_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "smoothing", - 6, + "rx_state", + 19, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, smoothing), + offsetof(WifiPktRxCtrl, rx_state), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_pkt_rx_ctrl__field_indices_by_name[] = { + 7, /* field[7] = aggregation */ + 12, /* field[12] = ampdu_cnt */ + 16, /* field[16] = ant */ + 13, /* field[13] = channel */ + 4, /* field[4] = cwb */ + 9, /* field[9] = fec_coding */ + 3, /* field[3] = mcs */ + 11, /* field[11] = noise_floor */ + 6, /* field[6] = not_sounding */ + 1, /* field[1] = rate */ + 0, /* field[0] = rssi */ + 18, /* field[18] = rx_state */ + 14, /* field[14] = secondary_channel */ + 10, /* field[10] = sgi */ + 17, /* field[17] = sig_len */ + 2, /* field[2] = sig_mode */ + 5, /* field[5] = smoothing */ + 8, /* field[8] = stbc */ + 15, /* field[15] = timestamp */ +}; +static const ProtobufCIntRange wifi_pkt_rx_ctrl__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 19 } +}; +const ProtobufCMessageDescriptor wifi_pkt_rx_ctrl__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_pkt_rx_ctrl", + "WifiPktRxCtrl", + "WifiPktRxCtrl", + "", + sizeof(WifiPktRxCtrl), + 19, + wifi_pkt_rx_ctrl__field_descriptors, + wifi_pkt_rx_ctrl__field_indices_by_name, + 1, wifi_pkt_rx_ctrl__number_ranges, + (ProtobufCMessageInit) wifi_pkt_rx_ctrl__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_promiscuous_pkt__field_descriptors[2] = +{ + { + "rx_ctrl", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(WifiPromiscuousPkt, rx_ctrl), + &wifi_pkt_rx_ctrl__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, { - "not_sounding", - 7, + "payload", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, not_sounding), + offsetof(WifiPromiscuousPkt, payload), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_promiscuous_pkt__field_indices_by_name[] = { + 1, /* field[1] = payload */ + 0, /* field[0] = rx_ctrl */ +}; +static const ProtobufCIntRange wifi_promiscuous_pkt__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_promiscuous_pkt__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_promiscuous_pkt", + "WifiPromiscuousPkt", + "WifiPromiscuousPkt", + "", + sizeof(WifiPromiscuousPkt), + 2, + wifi_promiscuous_pkt__field_descriptors, + wifi_promiscuous_pkt__field_indices_by_name, + 1, wifi_promiscuous_pkt__number_ranges, + (ProtobufCMessageInit) wifi_promiscuous_pkt__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_promiscuous_filter__field_descriptors[1] = +{ { - "aggregation", - 8, + "filter_mask", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, aggregation), + offsetof(WifiPromiscuousFilter, filter_mask), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_promiscuous_filter__field_indices_by_name[] = { + 0, /* field[0] = filter_mask */ +}; +static const ProtobufCIntRange wifi_promiscuous_filter__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor wifi_promiscuous_filter__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_promiscuous_filter", + "WifiPromiscuousFilter", + "WifiPromiscuousFilter", + "", + sizeof(WifiPromiscuousFilter), + 1, + wifi_promiscuous_filter__field_descriptors, + wifi_promiscuous_filter__field_indices_by_name, + 1, wifi_promiscuous_filter__number_ranges, + (ProtobufCMessageInit) wifi_promiscuous_filter__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_csi_config__field_descriptors[7] = +{ { - "stbc", - 9, + "lltf_en", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, stbc), + offsetof(WifiCsiConfig, lltf_en), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "fec_coding", - 10, + "htltf_en", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, fec_coding), + offsetof(WifiCsiConfig, htltf_en), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sgi", - 11, + "stbc_htltf2_en", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, sgi), + offsetof(WifiCsiConfig, stbc_htltf2_en), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "noise_floor", - 12, + "ltf_merge_en", + 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, noise_floor), + offsetof(WifiCsiConfig, ltf_merge_en), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ampdu_cnt", - 13, + "channel_filter_en", + 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, ampdu_cnt), + offsetof(WifiCsiConfig, channel_filter_en), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "channel", - 14, + "manu_scale", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(WifiCsiConfig, manu_scale), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "shift", + 7, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, channel), + offsetof(WifiCsiConfig, shift), + NULL, NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wifi_csi_config__field_indices_by_name[] = { + 4, /* field[4] = channel_filter_en */ + 1, /* field[1] = htltf_en */ + 0, /* field[0] = lltf_en */ + 3, /* field[3] = ltf_merge_en */ + 5, /* field[5] = manu_scale */ + 6, /* field[6] = shift */ + 2, /* field[2] = stbc_htltf2_en */ +}; +static const ProtobufCIntRange wifi_csi_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 7 } +}; +const ProtobufCMessageDescriptor wifi_csi_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_csi_config", + "WifiCsiConfig", + "WifiCsiConfig", + "", + sizeof(WifiCsiConfig), + 7, + wifi_csi_config__field_descriptors, + wifi_csi_config__field_indices_by_name, + 1, wifi_csi_config__number_ranges, + (ProtobufCMessageInit) wifi_csi_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_csi_info__field_descriptors[6] = +{ + { + "rx_ctrl", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(WifiCsiInfo, rx_ctrl), + &wifi_pkt_rx_ctrl__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "secondary_channel", - 15, + "mac", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, secondary_channel), + offsetof(WifiCsiInfo, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "timestamp", - 16, + "dmac", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, timestamp), + offsetof(WifiCsiInfo, dmac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ant", - 17, + "first_word_invalid", + 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, ant), + offsetof(WifiCsiInfo, first_word_invalid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sig_len", - 18, + "buf", + 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, sig_len), + offsetof(WifiCsiInfo, buf), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rx_state", - 19, + "len", + 6, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPktRxCtrl, rx_state), + offsetof(WifiCsiInfo, len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_pkt_rx_ctrl__field_indices_by_name[] = { - 7, /* field[7] = aggregation */ - 12, /* field[12] = ampdu_cnt */ - 16, /* field[16] = ant */ - 13, /* field[13] = channel */ - 4, /* field[4] = cwb */ - 9, /* field[9] = fec_coding */ - 3, /* field[3] = mcs */ - 11, /* field[11] = noise_floor */ - 6, /* field[6] = not_sounding */ - 1, /* field[1] = rate */ - 0, /* field[0] = rssi */ - 18, /* field[18] = rx_state */ - 14, /* field[14] = secondary_channel */ - 10, /* field[10] = sgi */ - 17, /* field[17] = sig_len */ - 2, /* field[2] = sig_mode */ - 5, /* field[5] = smoothing */ - 8, /* field[8] = stbc */ - 15, /* field[15] = timestamp */ +static const unsigned wifi_csi_info__field_indices_by_name[] = { + 4, /* field[4] = buf */ + 2, /* field[2] = dmac */ + 3, /* field[3] = first_word_invalid */ + 5, /* field[5] = len */ + 1, /* field[1] = mac */ + 0, /* field[0] = rx_ctrl */ }; -static const ProtobufCIntRange wifi_pkt_rx_ctrl__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_csi_info__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 19 } + { 0, 6 } }; -const ProtobufCMessageDescriptor wifi_pkt_rx_ctrl__descriptor = +const ProtobufCMessageDescriptor wifi_csi_info__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_pkt_rx_ctrl", - "WifiPktRxCtrl", - "WifiPktRxCtrl", + "wifi_csi_info", + "WifiCsiInfo", + "WifiCsiInfo", "", - sizeof(WifiPktRxCtrl), - 19, - wifi_pkt_rx_ctrl__field_descriptors, - wifi_pkt_rx_ctrl__field_indices_by_name, - 1, wifi_pkt_rx_ctrl__number_ranges, - (ProtobufCMessageInit) wifi_pkt_rx_ctrl__init, + sizeof(WifiCsiInfo), + 6, + wifi_csi_info__field_descriptors, + wifi_csi_info__field_indices_by_name, + 1, wifi_csi_info__number_ranges, + (ProtobufCMessageInit) wifi_csi_info__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_promiscuous_pkt__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_ant_gpio__field_descriptors[2] = { { - "rx_ctrl", + "gpio_select", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPromiscuousPkt, rx_ctrl), - &wifi_pkt_rx_ctrl__descriptor, + offsetof(WifiAntGpio, gpio_select), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "payload", + "gpio_num", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiPromiscuousPkt, payload), + offsetof(WifiAntGpio, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_promiscuous_pkt__field_indices_by_name[] = { - 1, /* field[1] = payload */ - 0, /* field[0] = rx_ctrl */ +static const unsigned wifi_ant_gpio__field_indices_by_name[] = { + 1, /* field[1] = gpio_num */ + 0, /* field[0] = gpio_select */ }; -static const ProtobufCIntRange wifi_promiscuous_pkt__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_ant_gpio__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_promiscuous_pkt__descriptor = +const ProtobufCMessageDescriptor wifi_ant_gpio__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_promiscuous_pkt", - "WifiPromiscuousPkt", - "WifiPromiscuousPkt", + "wifi_ant_gpio", + "WifiAntGpio", + "WifiAntGpio", "", - sizeof(WifiPromiscuousPkt), + sizeof(WifiAntGpio), 2, - wifi_promiscuous_pkt__field_descriptors, - wifi_promiscuous_pkt__field_indices_by_name, - 1, wifi_promiscuous_pkt__number_ranges, - (ProtobufCMessageInit) wifi_promiscuous_pkt__init, + wifi_ant_gpio__field_descriptors, + wifi_ant_gpio__field_indices_by_name, + 1, wifi_ant_gpio__number_ranges, + (ProtobufCMessageInit) wifi_ant_gpio__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_promiscuous_filter__field_descriptors[1] = +static const ProtobufCFieldDescriptor wifi_ant_gpio_config__field_descriptors[1] = { { - "filter_mask", + "gpio_cfgs", 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiPromiscuousFilter, filter_mask), - NULL, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(WifiAntGpioConfig, n_gpio_cfgs), + offsetof(WifiAntGpioConfig, gpio_cfgs), + &wifi_ant_gpio__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_promiscuous_filter__field_indices_by_name[] = { - 0, /* field[0] = filter_mask */ +static const unsigned wifi_ant_gpio_config__field_indices_by_name[] = { + 0, /* field[0] = gpio_cfgs */ }; -static const ProtobufCIntRange wifi_promiscuous_filter__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_ant_gpio_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_promiscuous_filter__descriptor = +const ProtobufCMessageDescriptor wifi_ant_gpio_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_promiscuous_filter", - "WifiPromiscuousFilter", - "WifiPromiscuousFilter", + "wifi_ant_gpio_config", + "WifiAntGpioConfig", + "WifiAntGpioConfig", "", - sizeof(WifiPromiscuousFilter), + sizeof(WifiAntGpioConfig), 1, - wifi_promiscuous_filter__field_descriptors, - wifi_promiscuous_filter__field_indices_by_name, - 1, wifi_promiscuous_filter__number_ranges, - (ProtobufCMessageInit) wifi_promiscuous_filter__init, + wifi_ant_gpio_config__field_descriptors, + wifi_ant_gpio_config__field_indices_by_name, + 1, wifi_ant_gpio_config__number_ranges, + (ProtobufCMessageInit) wifi_ant_gpio_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_csi_config__field_descriptors[7] = +static const ProtobufCFieldDescriptor wifi_ant_config__field_descriptors[5] = { { - "lltf_en", + "rx_ant_mode", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, lltf_en), + offsetof(WifiAntConfig, rx_ant_mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "htltf_en", + "rx_ant_default", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, htltf_en), + offsetof(WifiAntConfig, rx_ant_default), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "stbc_htltf2_en", + "tx_ant_mode", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiAntConfig, tx_ant_mode), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "enabled_ant0", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiAntConfig, enabled_ant0), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "enabled_ant1", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiAntConfig, enabled_ant1), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned wifi_ant_config__field_indices_by_name[] = { + 3, /* field[3] = enabled_ant0 */ + 4, /* field[4] = enabled_ant1 */ + 1, /* field[1] = rx_ant_default */ + 0, /* field[0] = rx_ant_mode */ + 2, /* field[2] = tx_ant_mode */ +}; +static const ProtobufCIntRange wifi_ant_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor wifi_ant_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_ant_config", + "WifiAntConfig", + "WifiAntConfig", + "", + sizeof(WifiAntConfig), + 5, + wifi_ant_config__field_descriptors, + wifi_ant_config__field_indices_by_name, + 1, wifi_ant_config__number_ranges, + (ProtobufCMessageInit) wifi_ant_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_action_tx_req__field_descriptors[5] = +{ + { + "ifx", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, stbc_htltf2_en), + offsetof(WifiActionTxReq, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ltf_merge_en", - 4, + "dest_mac", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, ltf_merge_en), + offsetof(WifiActionTxReq, dest_mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "channel_filter_en", - 5, + "no_ack", + 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, channel_filter_en), + offsetof(WifiActionTxReq, no_ack), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "manu_scale", - 6, + "data_len", + 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, manu_scale), + offsetof(WifiActionTxReq, data_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "shift", - 7, + "data", + 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiCsiConfig, shift), + offsetof(WifiActionTxReq, data), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_csi_config__field_indices_by_name[] = { - 4, /* field[4] = channel_filter_en */ - 1, /* field[1] = htltf_en */ - 0, /* field[0] = lltf_en */ - 3, /* field[3] = ltf_merge_en */ - 5, /* field[5] = manu_scale */ - 6, /* field[6] = shift */ - 2, /* field[2] = stbc_htltf2_en */ +static const unsigned wifi_action_tx_req__field_indices_by_name[] = { + 4, /* field[4] = data */ + 3, /* field[3] = data_len */ + 1, /* field[1] = dest_mac */ + 0, /* field[0] = ifx */ + 2, /* field[2] = no_ack */ }; -static const ProtobufCIntRange wifi_csi_config__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_action_tx_req__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 7 } + { 0, 5 } }; -const ProtobufCMessageDescriptor wifi_csi_config__descriptor = +const ProtobufCMessageDescriptor wifi_action_tx_req__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_csi_config", - "WifiCsiConfig", - "WifiCsiConfig", + "wifi_action_tx_req", + "WifiActionTxReq", + "WifiActionTxReq", "", - sizeof(WifiCsiConfig), - 7, - wifi_csi_config__field_descriptors, - wifi_csi_config__field_indices_by_name, - 1, wifi_csi_config__number_ranges, - (ProtobufCMessageInit) wifi_csi_config__init, + sizeof(WifiActionTxReq), + 5, + wifi_action_tx_req__field_descriptors, + wifi_action_tx_req__field_indices_by_name, + 1, wifi_action_tx_req__number_ranges, + (ProtobufCMessageInit) wifi_action_tx_req__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_csi_info__field_descriptors[6] = +static const ProtobufCFieldDescriptor wifi_ftm_initiator_cfg__field_descriptors[4] = { { - "rx_ctrl", + "resp_mac", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, rx_ctrl), - &wifi_pkt_rx_ctrl__descriptor, + offsetof(WifiFtmInitiatorCfg, resp_mac), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "mac", + "channel", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, mac), + offsetof(WifiFtmInitiatorCfg, channel), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dmac", + "frm_count", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, dmac), + offsetof(WifiFtmInitiatorCfg, frm_count), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "first_word_invalid", + "burst_period", 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, first_word_invalid), + offsetof(WifiFtmInitiatorCfg, burst_period), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_ftm_initiator_cfg__field_indices_by_name[] = { + 3, /* field[3] = burst_period */ + 1, /* field[1] = channel */ + 2, /* field[2] = frm_count */ + 0, /* field[0] = resp_mac */ +}; +static const ProtobufCIntRange wifi_ftm_initiator_cfg__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 4 } +}; +const ProtobufCMessageDescriptor wifi_ftm_initiator_cfg__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_ftm_initiator_cfg", + "WifiFtmInitiatorCfg", + "WifiFtmInitiatorCfg", + "", + sizeof(WifiFtmInitiatorCfg), + 4, + wifi_ftm_initiator_cfg__field_descriptors, + wifi_ftm_initiator_cfg__field_indices_by_name, + 1, wifi_ftm_initiator_cfg__number_ranges, + (ProtobufCMessageInit) wifi_ftm_initiator_cfg__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_event_sta_scan_done__field_descriptors[3] = +{ { - "buf", - 5, + "status", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, buf), + offsetof(WifiEventStaScanDone, status), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "len", - 6, + "number", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiCsiInfo, len), + offsetof(WifiEventStaScanDone, number), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "scan_id", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiEventStaScanDone, scan_id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_csi_info__field_indices_by_name[] = { - 4, /* field[4] = buf */ - 2, /* field[2] = dmac */ - 3, /* field[3] = first_word_invalid */ - 5, /* field[5] = len */ - 1, /* field[1] = mac */ - 0, /* field[0] = rx_ctrl */ +static const unsigned wifi_event_sta_scan_done__field_indices_by_name[] = { + 1, /* field[1] = number */ + 2, /* field[2] = scan_id */ + 0, /* field[0] = status */ }; -static const ProtobufCIntRange wifi_csi_info__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_sta_scan_done__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 6 } + { 0, 3 } }; -const ProtobufCMessageDescriptor wifi_csi_info__descriptor = +const ProtobufCMessageDescriptor wifi_event_sta_scan_done__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_csi_info", - "WifiCsiInfo", - "WifiCsiInfo", + "wifi_event_sta_scan_done", + "WifiEventStaScanDone", + "WifiEventStaScanDone", "", - sizeof(WifiCsiInfo), - 6, - wifi_csi_info__field_descriptors, - wifi_csi_info__field_indices_by_name, - 1, wifi_csi_info__number_ranges, - (ProtobufCMessageInit) wifi_csi_info__init, + sizeof(WifiEventStaScanDone), + 3, + wifi_event_sta_scan_done__field_descriptors, + wifi_event_sta_scan_done__field_indices_by_name, + 1, wifi_event_sta_scan_done__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_scan_done__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_ant_gpio__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_event_sta_connected__field_descriptors[6] = { { - "gpio_select", + "ssid", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiAntGpio, gpio_select), + offsetof(WifiEventStaConnected, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "gpio_num", + "ssid_len", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiAntGpio, gpio_num), + offsetof(WifiEventStaConnected, ssid_len), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "bssid", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(WifiEventStaConnected, bssid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "channel", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiEventStaConnected, channel), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "authmode", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiEventStaConnected, authmode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned wifi_ant_gpio__field_indices_by_name[] = { - 1, /* field[1] = gpio_num */ - 0, /* field[0] = gpio_select */ -}; -static const ProtobufCIntRange wifi_ant_gpio__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wifi_ant_gpio__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ant_gpio", - "WifiAntGpio", - "WifiAntGpio", - "", - sizeof(WifiAntGpio), - 2, - wifi_ant_gpio__field_descriptors, - wifi_ant_gpio__field_indices_by_name, - 1, wifi_ant_gpio__number_ranges, - (ProtobufCMessageInit) wifi_ant_gpio__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_ant_gpio_config__field_descriptors[1] = -{ { - "gpio_cfgs", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(WifiAntGpioConfig, n_gpio_cfgs), - offsetof(WifiAntGpioConfig, gpio_cfgs), - &wifi_ant_gpio__descriptor, + "aid", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(WifiEventStaConnected, aid), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_ant_gpio_config__field_indices_by_name[] = { - 0, /* field[0] = gpio_cfgs */ +static const unsigned wifi_event_sta_connected__field_indices_by_name[] = { + 5, /* field[5] = aid */ + 4, /* field[4] = authmode */ + 2, /* field[2] = bssid */ + 3, /* field[3] = channel */ + 0, /* field[0] = ssid */ + 1, /* field[1] = ssid_len */ }; -static const ProtobufCIntRange wifi_ant_gpio_config__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_sta_connected__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 6 } }; -const ProtobufCMessageDescriptor wifi_ant_gpio_config__descriptor = +const ProtobufCMessageDescriptor wifi_event_sta_connected__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ant_gpio_config", - "WifiAntGpioConfig", - "WifiAntGpioConfig", + "wifi_event_sta_connected", + "WifiEventStaConnected", + "WifiEventStaConnected", "", - sizeof(WifiAntGpioConfig), - 1, - wifi_ant_gpio_config__field_descriptors, - wifi_ant_gpio_config__field_indices_by_name, - 1, wifi_ant_gpio_config__number_ranges, - (ProtobufCMessageInit) wifi_ant_gpio_config__init, + sizeof(WifiEventStaConnected), + 6, + wifi_event_sta_connected__field_descriptors, + wifi_event_sta_connected__field_indices_by_name, + 1, wifi_event_sta_connected__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_connected__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_ant_config__field_descriptors[5] = +static const ProtobufCFieldDescriptor wifi_event_sta_disconnected__field_descriptors[5] = { { - "rx_ant_mode", + "ssid", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiAntConfig, rx_ant_mode), + offsetof(WifiEventStaDisconnected, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rx_ant_default", + "ssid_len", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiAntConfig, rx_ant_default), + offsetof(WifiEventStaDisconnected, ssid_len), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "tx_ant_mode", + "bssid", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiAntConfig, tx_ant_mode), + offsetof(WifiEventStaDisconnected, bssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "enabled_ant0", + "reason", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiAntConfig, enabled_ant0), + offsetof(WifiEventStaDisconnected, reason), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "enabled_ant1", + "rssi", 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiAntConfig, enabled_ant1), + offsetof(WifiEventStaDisconnected, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_ant_config__field_indices_by_name[] = { - 3, /* field[3] = enabled_ant0 */ - 4, /* field[4] = enabled_ant1 */ - 1, /* field[1] = rx_ant_default */ - 0, /* field[0] = rx_ant_mode */ - 2, /* field[2] = tx_ant_mode */ +static const unsigned wifi_event_sta_disconnected__field_indices_by_name[] = { + 2, /* field[2] = bssid */ + 3, /* field[3] = reason */ + 4, /* field[4] = rssi */ + 0, /* field[0] = ssid */ + 1, /* field[1] = ssid_len */ }; -static const ProtobufCIntRange wifi_ant_config__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_sta_disconnected__number_ranges[1 + 1] = { { 1, 0 }, { 0, 5 } }; -const ProtobufCMessageDescriptor wifi_ant_config__descriptor = +const ProtobufCMessageDescriptor wifi_event_sta_disconnected__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ant_config", - "WifiAntConfig", - "WifiAntConfig", + "wifi_event_sta_disconnected", + "WifiEventStaDisconnected", + "WifiEventStaDisconnected", "", - sizeof(WifiAntConfig), + sizeof(WifiEventStaDisconnected), 5, - wifi_ant_config__field_descriptors, - wifi_ant_config__field_indices_by_name, - 1, wifi_ant_config__number_ranges, - (ProtobufCMessageInit) wifi_ant_config__init, + wifi_event_sta_disconnected__field_descriptors, + wifi_event_sta_disconnected__field_indices_by_name, + 1, wifi_event_sta_disconnected__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_disconnected__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_action_tx_req__field_descriptors[5] = +static const ProtobufCFieldDescriptor wifi_event_sta_authmode_change__field_descriptors[2] = { { - "ifx", + "old_mode", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiActionTxReq, ifx), + offsetof(WifiEventStaAuthmodeChange, old_mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dest_mac", + "new_mode", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(WifiActionTxReq, dest_mac), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "no_ack", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(WifiActionTxReq, no_ack), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "data_len", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiActionTxReq, data_len), + offsetof(WifiEventStaAuthmodeChange, new_mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_event_sta_authmode_change__field_indices_by_name[] = { + 1, /* field[1] = new_mode */ + 0, /* field[0] = old_mode */ +}; +static const ProtobufCIntRange wifi_event_sta_authmode_change__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_event_sta_authmode_change__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_event_sta_authmode_change", + "WifiEventStaAuthmodeChange", + "WifiEventStaAuthmodeChange", + "", + sizeof(WifiEventStaAuthmodeChange), + 2, + wifi_event_sta_authmode_change__field_descriptors, + wifi_event_sta_authmode_change__field_indices_by_name, + 1, wifi_event_sta_authmode_change__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_authmode_change__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_event_sta_wps_er_pin__field_descriptors[1] = +{ { - "data", - 5, + "pin_code", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiActionTxReq, data), + offsetof(WifiEventStaWpsErPin, pin_code), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_action_tx_req__field_indices_by_name[] = { - 4, /* field[4] = data */ - 3, /* field[3] = data_len */ - 1, /* field[1] = dest_mac */ - 0, /* field[0] = ifx */ - 2, /* field[2] = no_ack */ +static const unsigned wifi_event_sta_wps_er_pin__field_indices_by_name[] = { + 0, /* field[0] = pin_code */ }; -static const ProtobufCIntRange wifi_action_tx_req__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_sta_wps_er_pin__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 5 } + { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_action_tx_req__descriptor = +const ProtobufCMessageDescriptor wifi_event_sta_wps_er_pin__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_action_tx_req", - "WifiActionTxReq", - "WifiActionTxReq", + "wifi_event_sta_wps_er_pin", + "WifiEventStaWpsErPin", + "WifiEventStaWpsErPin", "", - sizeof(WifiActionTxReq), - 5, - wifi_action_tx_req__field_descriptors, - wifi_action_tx_req__field_indices_by_name, - 1, wifi_action_tx_req__number_ranges, - (ProtobufCMessageInit) wifi_action_tx_req__init, + sizeof(WifiEventStaWpsErPin), + 1, + wifi_event_sta_wps_er_pin__field_descriptors, + wifi_event_sta_wps_er_pin__field_indices_by_name, + 1, wifi_event_sta_wps_er_pin__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_wps_er_pin__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_ftm_initiator_cfg__field_descriptors[4] = +static const ProtobufCFieldDescriptor ap_cred__field_descriptors[2] = { { - "resp_mac", + "ssid", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiFtmInitiatorCfg, resp_mac), + offsetof(ApCred, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "channel", + "passphrase", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiFtmInitiatorCfg, channel), + offsetof(ApCred, passphrase), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned ap_cred__field_indices_by_name[] = { + 1, /* field[1] = passphrase */ + 0, /* field[0] = ssid */ +}; +static const ProtobufCIntRange ap_cred__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor ap_cred__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "ap_cred", + "ApCred", + "ApCred", + "", + sizeof(ApCred), + 2, + ap_cred__field_descriptors, + ap_cred__field_indices_by_name, + 1, ap_cred__number_ranges, + (ProtobufCMessageInit) ap_cred__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_event_sta_wps_er_success__field_descriptors[2] = +{ { - "frm_count", - 3, + "ap_cred_cnt", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiFtmInitiatorCfg, frm_count), + offsetof(WifiEventStaWpsErSuccess, ap_cred_cnt), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "burst_period", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiFtmInitiatorCfg, burst_period), - NULL, + "ap_creds", + 2, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(WifiEventStaWpsErSuccess, n_ap_creds), + offsetof(WifiEventStaWpsErSuccess, ap_creds), + &ap_cred__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_ftm_initiator_cfg__field_indices_by_name[] = { - 3, /* field[3] = burst_period */ - 1, /* field[1] = channel */ - 2, /* field[2] = frm_count */ - 0, /* field[0] = resp_mac */ +static const unsigned wifi_event_sta_wps_er_success__field_indices_by_name[] = { + 0, /* field[0] = ap_cred_cnt */ + 1, /* field[1] = ap_creds */ }; -static const ProtobufCIntRange wifi_ftm_initiator_cfg__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_sta_wps_er_success__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_ftm_initiator_cfg__descriptor = +const ProtobufCMessageDescriptor wifi_event_sta_wps_er_success__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ftm_initiator_cfg", - "WifiFtmInitiatorCfg", - "WifiFtmInitiatorCfg", + "wifi_event_sta_wps_er_success", + "WifiEventStaWpsErSuccess", + "WifiEventStaWpsErSuccess", "", - sizeof(WifiFtmInitiatorCfg), - 4, - wifi_ftm_initiator_cfg__field_descriptors, - wifi_ftm_initiator_cfg__field_indices_by_name, - 1, wifi_ftm_initiator_cfg__number_ranges, - (ProtobufCMessageInit) wifi_ftm_initiator_cfg__init, + sizeof(WifiEventStaWpsErSuccess), + 2, + wifi_event_sta_wps_er_success__field_descriptors, + wifi_event_sta_wps_er_success__field_indices_by_name, + 1, wifi_event_sta_wps_er_success__number_ranges, + (ProtobufCMessageInit) wifi_event_sta_wps_er_success__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_sta_scan_done__field_descriptors[3] = +static const ProtobufCFieldDescriptor wifi_event_ap_probe_req_rx__field_descriptors[2] = { { - "status", + "rssi", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaScanDone, status), + offsetof(WifiEventApProbeReqRx, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "number", + "mac", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaScanDone, number), + offsetof(WifiEventApProbeReqRx, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_event_ap_probe_req_rx__field_indices_by_name[] = { + 1, /* field[1] = mac */ + 0, /* field[0] = rssi */ +}; +static const ProtobufCIntRange wifi_event_ap_probe_req_rx__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_event_ap_probe_req_rx__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_event_ap_probe_req_rx", + "WifiEventApProbeReqRx", + "WifiEventApProbeReqRx", + "", + sizeof(WifiEventApProbeReqRx), + 2, + wifi_event_ap_probe_req_rx__field_descriptors, + wifi_event_ap_probe_req_rx__field_indices_by_name, + 1, wifi_event_ap_probe_req_rx__number_ranges, + (ProtobufCMessageInit) wifi_event_ap_probe_req_rx__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_event_bss_rssi_low__field_descriptors[1] = +{ { - "scan_id", - 3, + "rssi", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaScanDone, scan_id), + offsetof(WifiEventBssRssiLow, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_sta_scan_done__field_indices_by_name[] = { - 1, /* field[1] = number */ - 2, /* field[2] = scan_id */ - 0, /* field[0] = status */ +static const unsigned wifi_event_bss_rssi_low__field_indices_by_name[] = { + 0, /* field[0] = rssi */ }; -static const ProtobufCIntRange wifi_event_sta_scan_done__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_bss_rssi_low__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_event_sta_scan_done__descriptor = +const ProtobufCMessageDescriptor wifi_event_bss_rssi_low__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_scan_done", - "WifiEventStaScanDone", - "WifiEventStaScanDone", + "wifi_event_bss_rssi_low", + "WifiEventBssRssiLow", + "WifiEventBssRssiLow", "", - sizeof(WifiEventStaScanDone), - 3, - wifi_event_sta_scan_done__field_descriptors, - wifi_event_sta_scan_done__field_indices_by_name, - 1, wifi_event_sta_scan_done__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_scan_done__init, + sizeof(WifiEventBssRssiLow), + 1, + wifi_event_bss_rssi_low__field_descriptors, + wifi_event_bss_rssi_low__field_indices_by_name, + 1, wifi_event_bss_rssi_low__number_ranges, + (ProtobufCMessageInit) wifi_event_bss_rssi_low__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_sta_connected__field_descriptors[6] = +static const ProtobufCFieldDescriptor wifi_ftm_report_entry__field_descriptors[7] = { { - "ssid", + "dlog_token", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, ssid), + offsetof(WifiFtmReportEntry, dlog_token), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ssid_len", + "rssi", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, ssid_len), + offsetof(WifiFtmReportEntry, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bssid", + "rtt", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, bssid), + offsetof(WifiFtmReportEntry, rtt), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "channel", + "t1", 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_UINT64, 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, channel), + offsetof(WifiFtmReportEntry, t1), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "authmode", + "t2", 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT64, 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, authmode), + offsetof(WifiFtmReportEntry, t2), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "aid", + "t3", 6, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT64, 0, /* quantifier_offset */ - offsetof(WifiEventStaConnected, aid), + offsetof(WifiFtmReportEntry, t3), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "t4", + 7, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT64, + 0, /* quantifier_offset */ + offsetof(WifiFtmReportEntry, t4), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_sta_connected__field_indices_by_name[] = { - 5, /* field[5] = aid */ - 4, /* field[4] = authmode */ - 2, /* field[2] = bssid */ - 3, /* field[3] = channel */ - 0, /* field[0] = ssid */ - 1, /* field[1] = ssid_len */ +static const unsigned wifi_ftm_report_entry__field_indices_by_name[] = { + 0, /* field[0] = dlog_token */ + 1, /* field[1] = rssi */ + 2, /* field[2] = rtt */ + 3, /* field[3] = t1 */ + 4, /* field[4] = t2 */ + 5, /* field[5] = t3 */ + 6, /* field[6] = t4 */ }; -static const ProtobufCIntRange wifi_event_sta_connected__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_ftm_report_entry__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 6 } + { 0, 7 } }; -const ProtobufCMessageDescriptor wifi_event_sta_connected__descriptor = +const ProtobufCMessageDescriptor wifi_ftm_report_entry__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_connected", - "WifiEventStaConnected", - "WifiEventStaConnected", + "wifi_ftm_report_entry", + "WifiFtmReportEntry", + "WifiFtmReportEntry", "", - sizeof(WifiEventStaConnected), - 6, - wifi_event_sta_connected__field_descriptors, - wifi_event_sta_connected__field_indices_by_name, - 1, wifi_event_sta_connected__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_connected__init, + sizeof(WifiFtmReportEntry), + 7, + wifi_ftm_report_entry__field_descriptors, + wifi_ftm_report_entry__field_indices_by_name, + 1, wifi_ftm_report_entry__number_ranges, + (ProtobufCMessageInit) wifi_ftm_report_entry__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_sta_disconnected__field_descriptors[5] = +static const ProtobufCFieldDescriptor wifi_event_ftm_report__field_descriptors[7] = { { - "ssid", + "peer_mac", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventStaDisconnected, ssid), + offsetof(WifiEventFtmReport, peer_mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ssid_len", + "status", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaDisconnected, ssid_len), + offsetof(WifiEventFtmReport, status), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bssid", + "rtt_raw", 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaDisconnected, bssid), + offsetof(WifiEventFtmReport, rtt_raw), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "reason", + "rtt_est", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaDisconnected, reason), + offsetof(WifiEventFtmReport, rtt_est), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rssi", - 5, + "dist_est", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiEventFtmReport, dist_est), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ftm_report_data", + 6, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(WifiEventFtmReport, n_ftm_report_data), + offsetof(WifiEventFtmReport, ftm_report_data), + &wifi_ftm_report_entry__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ftm_report_num_entries", + 7, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaDisconnected, rssi), + offsetof(WifiEventFtmReport, ftm_report_num_entries), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_sta_disconnected__field_indices_by_name[] = { - 2, /* field[2] = bssid */ - 3, /* field[3] = reason */ - 4, /* field[4] = rssi */ - 0, /* field[0] = ssid */ - 1, /* field[1] = ssid_len */ +static const unsigned wifi_event_ftm_report__field_indices_by_name[] = { + 4, /* field[4] = dist_est */ + 5, /* field[5] = ftm_report_data */ + 6, /* field[6] = ftm_report_num_entries */ + 0, /* field[0] = peer_mac */ + 3, /* field[3] = rtt_est */ + 2, /* field[2] = rtt_raw */ + 1, /* field[1] = status */ }; -static const ProtobufCIntRange wifi_event_sta_disconnected__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_ftm_report__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 5 } + { 0, 7 } }; -const ProtobufCMessageDescriptor wifi_event_sta_disconnected__descriptor = +const ProtobufCMessageDescriptor wifi_event_ftm_report__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_disconnected", - "WifiEventStaDisconnected", - "WifiEventStaDisconnected", + "wifi_event_ftm_report", + "WifiEventFtmReport", + "WifiEventFtmReport", "", - sizeof(WifiEventStaDisconnected), - 5, - wifi_event_sta_disconnected__field_descriptors, - wifi_event_sta_disconnected__field_indices_by_name, - 1, wifi_event_sta_disconnected__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_disconnected__init, + sizeof(WifiEventFtmReport), + 7, + wifi_event_ftm_report__field_descriptors, + wifi_event_ftm_report__field_indices_by_name, + 1, wifi_event_ftm_report__number_ranges, + (ProtobufCMessageInit) wifi_event_ftm_report__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_sta_authmode_change__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_event_action_tx_status__field_descriptors[4] = { { - "old_mode", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaAuthmodeChange, old_mode), + offsetof(WifiEventActionTxStatus, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "new_mode", + "context", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventStaAuthmodeChange, new_mode), + offsetof(WifiEventActionTxStatus, context), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned wifi_event_sta_authmode_change__field_indices_by_name[] = { - 1, /* field[1] = new_mode */ - 0, /* field[0] = old_mode */ -}; -static const ProtobufCIntRange wifi_event_sta_authmode_change__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor wifi_event_sta_authmode_change__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_authmode_change", - "WifiEventStaAuthmodeChange", - "WifiEventStaAuthmodeChange", - "", - sizeof(WifiEventStaAuthmodeChange), - 2, - wifi_event_sta_authmode_change__field_descriptors, - wifi_event_sta_authmode_change__field_indices_by_name, - 1, wifi_event_sta_authmode_change__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_authmode_change__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor wifi_event_sta_wps_er_pin__field_descriptors[1] = -{ { - "pin_code", - 1, + "da", + 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventStaWpsErPin, pin_code), + offsetof(WifiEventActionTxStatus, da), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "status", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(WifiEventActionTxStatus, status), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_sta_wps_er_pin__field_indices_by_name[] = { - 0, /* field[0] = pin_code */ +static const unsigned wifi_event_action_tx_status__field_indices_by_name[] = { + 1, /* field[1] = context */ + 2, /* field[2] = da */ + 0, /* field[0] = ifx */ + 3, /* field[3] = status */ }; -static const ProtobufCIntRange wifi_event_sta_wps_er_pin__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_action_tx_status__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 4 } }; -const ProtobufCMessageDescriptor wifi_event_sta_wps_er_pin__descriptor = +const ProtobufCMessageDescriptor wifi_event_action_tx_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_wps_er_pin", - "WifiEventStaWpsErPin", - "WifiEventStaWpsErPin", + "wifi_event_action_tx_status", + "WifiEventActionTxStatus", + "WifiEventActionTxStatus", "", - sizeof(WifiEventStaWpsErPin), - 1, - wifi_event_sta_wps_er_pin__field_descriptors, - wifi_event_sta_wps_er_pin__field_indices_by_name, - 1, wifi_event_sta_wps_er_pin__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_wps_er_pin__init, + sizeof(WifiEventActionTxStatus), + 4, + wifi_event_action_tx_status__field_descriptors, + wifi_event_action_tx_status__field_indices_by_name, + 1, wifi_event_action_tx_status__number_ranges, + (ProtobufCMessageInit) wifi_event_action_tx_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor ap_cred__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_event_roc_done__field_descriptors[1] = { { - "ssid", + "context", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(ApCred, ssid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "passphrase", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(ApCred, passphrase), + offsetof(WifiEventRocDone, context), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned ap_cred__field_indices_by_name[] = { - 1, /* field[1] = passphrase */ - 0, /* field[0] = ssid */ +static const unsigned wifi_event_roc_done__field_indices_by_name[] = { + 0, /* field[0] = context */ }; -static const ProtobufCIntRange ap_cred__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_roc_done__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor ap_cred__descriptor = +const ProtobufCMessageDescriptor wifi_event_roc_done__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ap_cred", - "ApCred", - "ApCred", + "wifi_event_roc_done", + "WifiEventRocDone", + "WifiEventRocDone", "", - sizeof(ApCred), - 2, - ap_cred__field_descriptors, - ap_cred__field_indices_by_name, - 1, ap_cred__number_ranges, - (ProtobufCMessageInit) ap_cred__init, + sizeof(WifiEventRocDone), + 1, + wifi_event_roc_done__field_descriptors, + wifi_event_roc_done__field_indices_by_name, + 1, wifi_event_roc_done__number_ranges, + (ProtobufCMessageInit) wifi_event_roc_done__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_sta_wps_er_success__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_pin__field_descriptors[1] = { { - "ap_cred_cnt", + "pin_code", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventStaWpsErSuccess, ap_cred_cnt), - NULL, + offsetof(WifiEventApWpsRgPin, pin_code), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ap_creds", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(WifiEventStaWpsErSuccess, n_ap_creds), - offsetof(WifiEventStaWpsErSuccess, ap_creds), - &ap_cred__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_sta_wps_er_success__field_indices_by_name[] = { - 0, /* field[0] = ap_cred_cnt */ - 1, /* field[1] = ap_creds */ +static const unsigned wifi_event_ap_wps_rg_pin__field_indices_by_name[] = { + 0, /* field[0] = pin_code */ }; -static const ProtobufCIntRange wifi_event_sta_wps_er_success__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_ap_wps_rg_pin__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_event_sta_wps_er_success__descriptor = +const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_pin__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_sta_wps_er_success", - "WifiEventStaWpsErSuccess", - "WifiEventStaWpsErSuccess", + "wifi_event_ap_wps_rg_pin", + "WifiEventApWpsRgPin", + "WifiEventApWpsRgPin", "", - sizeof(WifiEventStaWpsErSuccess), - 2, - wifi_event_sta_wps_er_success__field_descriptors, - wifi_event_sta_wps_er_success__field_indices_by_name, - 1, wifi_event_sta_wps_er_success__number_ranges, - (ProtobufCMessageInit) wifi_event_sta_wps_er_success__init, + sizeof(WifiEventApWpsRgPin), + 1, + wifi_event_ap_wps_rg_pin__field_descriptors, + wifi_event_ap_wps_rg_pin__field_indices_by_name, + 1, wifi_event_ap_wps_rg_pin__number_ranges, + (ProtobufCMessageInit) wifi_event_ap_wps_rg_pin__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_ap_probe_req_rx__field_descriptors[2] = +static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_fail_reason__field_descriptors[2] = { { - "rssi", + "reason", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventApProbeReqRx, rssi), + offsetof(WifiEventApWpsRgFailReason, reason), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "mac", + "peer_macaddr", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventApProbeReqRx, mac), + offsetof(WifiEventApWpsRgFailReason, peer_macaddr), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_ap_probe_req_rx__field_indices_by_name[] = { - 1, /* field[1] = mac */ - 0, /* field[0] = rssi */ +static const unsigned wifi_event_ap_wps_rg_fail_reason__field_indices_by_name[] = { + 1, /* field[1] = peer_macaddr */ + 0, /* field[0] = reason */ }; -static const ProtobufCIntRange wifi_event_ap_probe_req_rx__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_ap_wps_rg_fail_reason__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_event_ap_probe_req_rx__descriptor = +const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_fail_reason__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_ap_probe_req_rx", - "WifiEventApProbeReqRx", - "WifiEventApProbeReqRx", + "wifi_event_ap_wps_rg_fail_reason", + "WifiEventApWpsRgFailReason", + "WifiEventApWpsRgFailReason", "", - sizeof(WifiEventApProbeReqRx), + sizeof(WifiEventApWpsRgFailReason), 2, - wifi_event_ap_probe_req_rx__field_descriptors, - wifi_event_ap_probe_req_rx__field_indices_by_name, - 1, wifi_event_ap_probe_req_rx__number_ranges, - (ProtobufCMessageInit) wifi_event_ap_probe_req_rx__init, + wifi_event_ap_wps_rg_fail_reason__field_descriptors, + wifi_event_ap_wps_rg_fail_reason__field_indices_by_name, + 1, wifi_event_ap_wps_rg_fail_reason__number_ranges, + (ProtobufCMessageInit) wifi_event_ap_wps_rg_fail_reason__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_bss_rssi_low__field_descriptors[1] = +static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_success__field_descriptors[1] = { { - "rssi", + "peer_macaddr", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventBssRssiLow, rssi), + offsetof(WifiEventApWpsRgSuccess, peer_macaddr), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_bss_rssi_low__field_indices_by_name[] = { - 0, /* field[0] = rssi */ +static const unsigned wifi_event_ap_wps_rg_success__field_indices_by_name[] = { + 0, /* field[0] = peer_macaddr */ }; -static const ProtobufCIntRange wifi_event_bss_rssi_low__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_event_ap_wps_rg_success__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_event_bss_rssi_low__descriptor = +const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_success__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_bss_rssi_low", - "WifiEventBssRssiLow", - "WifiEventBssRssiLow", + "wifi_event_ap_wps_rg_success", + "WifiEventApWpsRgSuccess", + "WifiEventApWpsRgSuccess", "", - sizeof(WifiEventBssRssiLow), + sizeof(WifiEventApWpsRgSuccess), 1, - wifi_event_bss_rssi_low__field_descriptors, - wifi_event_bss_rssi_low__field_indices_by_name, - 1, wifi_event_bss_rssi_low__number_ranges, - (ProtobufCMessageInit) wifi_event_bss_rssi_low__init, + wifi_event_ap_wps_rg_success__field_descriptors, + wifi_event_ap_wps_rg_success__field_indices_by_name, + 1, wifi_event_ap_wps_rg_success__number_ranges, + (ProtobufCMessageInit) wifi_event_ap_wps_rg_success__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_ftm_report_entry__field_descriptors[7] = +static const ProtobufCFieldDescriptor wifi_protocols__field_descriptors[2] = { { - "dlog_token", + "ghz_2g", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, dlog_token), + offsetof(WifiProtocols, ghz_2g), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rssi", + "ghz_5g", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, rssi), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rtt", - 3, - PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, rtt), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "t1", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT64, - 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, t1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "t2", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT64, - 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, t2), + offsetof(WifiProtocols, ghz_5g), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_protocols__field_indices_by_name[] = { + 0, /* field[0] = ghz_2g */ + 1, /* field[1] = ghz_5g */ +}; +static const ProtobufCIntRange wifi_protocols__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_protocols__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_protocols", + "WifiProtocols", + "WifiProtocols", + "", + sizeof(WifiProtocols), + 2, + wifi_protocols__field_descriptors, + wifi_protocols__field_indices_by_name, + 1, wifi_protocols__number_ranges, + (ProtobufCMessageInit) wifi_protocols__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor wifi_bandwidths__field_descriptors[2] = +{ { - "t3", - 6, + "ghz_2g", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT64, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, t3), + offsetof(WifiBandwidths, ghz_2g), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "t4", - 7, + "ghz_5g", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT64, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiFtmReportEntry, t4), + offsetof(WifiBandwidths, ghz_5g), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_ftm_report_entry__field_indices_by_name[] = { - 0, /* field[0] = dlog_token */ - 1, /* field[1] = rssi */ - 2, /* field[2] = rtt */ - 3, /* field[3] = t1 */ - 4, /* field[4] = t2 */ - 5, /* field[5] = t3 */ - 6, /* field[6] = t4 */ +static const unsigned wifi_bandwidths__field_indices_by_name[] = { + 0, /* field[0] = ghz_2g */ + 1, /* field[1] = ghz_5g */ }; -static const ProtobufCIntRange wifi_ftm_report_entry__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_bandwidths__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 7 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_ftm_report_entry__descriptor = +const ProtobufCMessageDescriptor wifi_bandwidths__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_ftm_report_entry", - "WifiFtmReportEntry", - "WifiFtmReportEntry", + "wifi_bandwidths", + "WifiBandwidths", + "WifiBandwidths", "", - sizeof(WifiFtmReportEntry), - 7, - wifi_ftm_report_entry__field_descriptors, - wifi_ftm_report_entry__field_indices_by_name, - 1, wifi_ftm_report_entry__number_ranges, - (ProtobufCMessageInit) wifi_ftm_report_entry__init, + sizeof(WifiBandwidths), + 2, + wifi_bandwidths__field_descriptors, + wifi_bandwidths__field_indices_by_name, + 1, wifi_bandwidths__number_ranges, + (ProtobufCMessageInit) wifi_bandwidths__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_ftm_report__field_descriptors[7] = +static const ProtobufCFieldDescriptor wifi_itwt_setup_config__field_descriptors[6] = { { - "peer_mac", + "setup_cmd", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, peer_mac), + offsetof(WifiItwtSetupConfig, setup_cmd), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "status", + "bitmask_1", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, status), + offsetof(WifiItwtSetupConfig, bitmask_1), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rtt_raw", + "min_wake_dura", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, rtt_raw), + offsetof(WifiItwtSetupConfig, min_wake_dura), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rtt_est", + "wake_invl_mant", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, rtt_est), + offsetof(WifiItwtSetupConfig, wake_invl_mant), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dist_est", + "twt_id", 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, dist_est), + offsetof(WifiItwtSetupConfig, twt_id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ftm_report_data", + "timeout_time_ms", 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(WifiEventFtmReport, n_ftm_report_data), - offsetof(WifiEventFtmReport, ftm_report_data), - &wifi_ftm_report_entry__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ftm_report_num_entries", - 7, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(WifiEventFtmReport, ftm_report_num_entries), + offsetof(WifiItwtSetupConfig, timeout_time_ms), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_ftm_report__field_indices_by_name[] = { - 4, /* field[4] = dist_est */ - 5, /* field[5] = ftm_report_data */ - 6, /* field[6] = ftm_report_num_entries */ - 0, /* field[0] = peer_mac */ - 3, /* field[3] = rtt_est */ - 2, /* field[2] = rtt_raw */ - 1, /* field[1] = status */ +static const unsigned wifi_itwt_setup_config__field_indices_by_name[] = { + 1, /* field[1] = bitmask_1 */ + 2, /* field[2] = min_wake_dura */ + 0, /* field[0] = setup_cmd */ + 5, /* field[5] = timeout_time_ms */ + 4, /* field[4] = twt_id */ + 3, /* field[3] = wake_invl_mant */ }; -static const ProtobufCIntRange wifi_event_ftm_report__number_ranges[1 + 1] = +static const ProtobufCIntRange wifi_itwt_setup_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 7 } + { 0, 6 } }; -const ProtobufCMessageDescriptor wifi_event_ftm_report__descriptor = +const ProtobufCMessageDescriptor wifi_itwt_setup_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_ftm_report", - "WifiEventFtmReport", - "WifiEventFtmReport", + "wifi_itwt_setup_config", + "WifiItwtSetupConfig", + "WifiItwtSetupConfig", "", - sizeof(WifiEventFtmReport), - 7, - wifi_event_ftm_report__field_descriptors, - wifi_event_ftm_report__field_indices_by_name, - 1, wifi_event_ftm_report__number_ranges, - (ProtobufCMessageInit) wifi_event_ftm_report__init, + sizeof(WifiItwtSetupConfig), + 6, + wifi_itwt_setup_config__field_descriptors, + wifi_itwt_setup_config__field_indices_by_name, + 1, wifi_itwt_setup_config__number_ranges, + (ProtobufCMessageInit) wifi_itwt_setup_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_action_tx_status__field_descriptors[4] = +static const ProtobufCFieldDescriptor wifi_twt_config__field_descriptors[2] = { { - "ifx", + "post_wakeup_event", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiEventActionTxStatus, ifx), + offsetof(WifiTwtConfig, post_wakeup_event), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "context", + "twt_enable_keep_alive", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(WifiEventActionTxStatus, context), + offsetof(WifiTwtConfig, twt_enable_keep_alive), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned wifi_twt_config__field_indices_by_name[] = { + 0, /* field[0] = post_wakeup_event */ + 1, /* field[1] = twt_enable_keep_alive */ +}; +static const ProtobufCIntRange wifi_twt_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor wifi_twt_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "wifi_twt_config", + "WifiTwtConfig", + "WifiTwtConfig", + "", + sizeof(WifiTwtConfig), + 2, + wifi_twt_config__field_descriptors, + wifi_twt_config__field_indices_by_name, + 1, wifi_twt_config__number_ranges, + (ProtobufCMessageInit) wifi_twt_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor connected_stalist__field_descriptors[2] = +{ { - "da", - 3, + "mac", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventActionTxStatus, da), + offsetof(ConnectedSTAList, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "status", - 4, + "rssi", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventActionTxStatus, status), + offsetof(ConnectedSTAList, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_action_tx_status__field_indices_by_name[] = { - 1, /* field[1] = context */ - 2, /* field[2] = da */ - 0, /* field[0] = ifx */ - 3, /* field[3] = status */ +static const unsigned connected_stalist__field_indices_by_name[] = { + 0, /* field[0] = mac */ + 1, /* field[1] = rssi */ }; -static const ProtobufCIntRange wifi_event_action_tx_status__number_ranges[1 + 1] = +static const ProtobufCIntRange connected_stalist__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_event_action_tx_status__descriptor = +const ProtobufCMessageDescriptor connected_stalist__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_action_tx_status", - "WifiEventActionTxStatus", - "WifiEventActionTxStatus", + "ConnectedSTAList", + "ConnectedSTAList", + "ConnectedSTAList", "", - sizeof(WifiEventActionTxStatus), - 4, - wifi_event_action_tx_status__field_descriptors, - wifi_event_action_tx_status__field_indices_by_name, - 1, wifi_event_action_tx_status__number_ranges, - (ProtobufCMessageInit) wifi_event_action_tx_status__init, + sizeof(ConnectedSTAList), + 2, + connected_stalist__field_descriptors, + connected_stalist__field_indices_by_name, + 1, connected_stalist__number_ranges, + (ProtobufCMessageInit) connected_stalist__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_roc_done__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__get_mac_address__field_descriptors[1] = { { - "context", + "mode", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventRocDone, context), + offsetof(RpcReqGetMacAddress, mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_roc_done__field_indices_by_name[] = { - 0, /* field[0] = context */ +static const unsigned rpc__req__get_mac_address__field_indices_by_name[] = { + 0, /* field[0] = mode */ }; -static const ProtobufCIntRange wifi_event_roc_done__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__get_mac_address__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_event_roc_done__descriptor = +const ProtobufCMessageDescriptor rpc__req__get_mac_address__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_roc_done", - "WifiEventRocDone", - "WifiEventRocDone", + "Rpc_Req_GetMacAddress", + "RpcReqGetMacAddress", + "RpcReqGetMacAddress", "", - sizeof(WifiEventRocDone), + sizeof(RpcReqGetMacAddress), 1, - wifi_event_roc_done__field_descriptors, - wifi_event_roc_done__field_indices_by_name, - 1, wifi_event_roc_done__number_ranges, - (ProtobufCMessageInit) wifi_event_roc_done__init, + rpc__req__get_mac_address__field_descriptors, + rpc__req__get_mac_address__field_indices_by_name, + 1, rpc__req__get_mac_address__number_ranges, + (ProtobufCMessageInit) rpc__req__get_mac_address__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_pin__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__get_mac_address__field_descriptors[2] = { { - "pin_code", + "mac", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(WifiEventApWpsRgPin, pin_code), + offsetof(RpcRespGetMacAddress, mac), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespGetMacAddress, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_ap_wps_rg_pin__field_indices_by_name[] = { - 0, /* field[0] = pin_code */ +static const unsigned rpc__resp__get_mac_address__field_indices_by_name[] = { + 0, /* field[0] = mac */ + 1, /* field[1] = resp */ }; -static const ProtobufCIntRange wifi_event_ap_wps_rg_pin__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__get_mac_address__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_pin__descriptor = +const ProtobufCMessageDescriptor rpc__resp__get_mac_address__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_ap_wps_rg_pin", - "WifiEventApWpsRgPin", - "WifiEventApWpsRgPin", + "Rpc_Resp_GetMacAddress", + "RpcRespGetMacAddress", + "RpcRespGetMacAddress", "", - sizeof(WifiEventApWpsRgPin), - 1, - wifi_event_ap_wps_rg_pin__field_descriptors, - wifi_event_ap_wps_rg_pin__field_indices_by_name, - 1, wifi_event_ap_wps_rg_pin__number_ranges, - (ProtobufCMessageInit) wifi_event_ap_wps_rg_pin__init, + sizeof(RpcRespGetMacAddress), + 2, + rpc__resp__get_mac_address__field_descriptors, + rpc__resp__get_mac_address__field_indices_by_name, + 1, rpc__resp__get_mac_address__number_ranges, + (ProtobufCMessageInit) rpc__resp__get_mac_address__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_fail_reason__field_descriptors[2] = +#define rpc__req__get_mode__field_descriptors NULL +#define rpc__req__get_mode__field_indices_by_name NULL +#define rpc__req__get_mode__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__get_mode__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_GetMode", + "RpcReqGetMode", + "RpcReqGetMode", + "", + sizeof(RpcReqGetMode), + 0, + rpc__req__get_mode__field_descriptors, + rpc__req__get_mode__field_indices_by_name, + 0, rpc__req__get_mode__number_ranges, + (ProtobufCMessageInit) rpc__req__get_mode__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__get_mode__field_descriptors[2] = { { - "reason", + "mode", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventApWpsRgFailReason, reason), + offsetof(RpcRespGetMode, mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "peer_macaddr", + "resp", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventApWpsRgFailReason, peer_macaddr), + offsetof(RpcRespGetMode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_ap_wps_rg_fail_reason__field_indices_by_name[] = { - 1, /* field[1] = peer_macaddr */ - 0, /* field[0] = reason */ +static const unsigned rpc__resp__get_mode__field_indices_by_name[] = { + 0, /* field[0] = mode */ + 1, /* field[1] = resp */ }; -static const ProtobufCIntRange wifi_event_ap_wps_rg_fail_reason__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__get_mode__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_fail_reason__descriptor = +const ProtobufCMessageDescriptor rpc__resp__get_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_ap_wps_rg_fail_reason", - "WifiEventApWpsRgFailReason", - "WifiEventApWpsRgFailReason", + "Rpc_Resp_GetMode", + "RpcRespGetMode", + "RpcRespGetMode", "", - sizeof(WifiEventApWpsRgFailReason), + sizeof(RpcRespGetMode), 2, - wifi_event_ap_wps_rg_fail_reason__field_descriptors, - wifi_event_ap_wps_rg_fail_reason__field_indices_by_name, - 1, wifi_event_ap_wps_rg_fail_reason__number_ranges, - (ProtobufCMessageInit) wifi_event_ap_wps_rg_fail_reason__init, + rpc__resp__get_mode__field_descriptors, + rpc__resp__get_mode__field_indices_by_name, + 1, rpc__resp__get_mode__number_ranges, + (ProtobufCMessageInit) rpc__resp__get_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_event_ap_wps_rg_success__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__set_mode__field_descriptors[1] = { { - "peer_macaddr", + "mode", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiEventApWpsRgSuccess, peer_macaddr), + offsetof(RpcReqSetMode, mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_event_ap_wps_rg_success__field_indices_by_name[] = { - 0, /* field[0] = peer_macaddr */ +static const unsigned rpc__req__set_mode__field_indices_by_name[] = { + 0, /* field[0] = mode */ }; -static const ProtobufCIntRange wifi_event_ap_wps_rg_success__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__set_mode__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_event_ap_wps_rg_success__descriptor = +const ProtobufCMessageDescriptor rpc__req__set_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_event_ap_wps_rg_success", - "WifiEventApWpsRgSuccess", - "WifiEventApWpsRgSuccess", + "Rpc_Req_SetMode", + "RpcReqSetMode", + "RpcReqSetMode", "", - sizeof(WifiEventApWpsRgSuccess), + sizeof(RpcReqSetMode), 1, - wifi_event_ap_wps_rg_success__field_descriptors, - wifi_event_ap_wps_rg_success__field_indices_by_name, - 1, wifi_event_ap_wps_rg_success__number_ranges, - (ProtobufCMessageInit) wifi_event_ap_wps_rg_success__init, + rpc__req__set_mode__field_descriptors, + rpc__req__set_mode__field_indices_by_name, + 1, rpc__req__set_mode__number_ranges, + (ProtobufCMessageInit) rpc__req__set_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_protocols__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__set_mode__field_descriptors[1] = { { - "ghz_2g", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiProtocols, ghz_2g), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ghz_5g", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiProtocols, ghz_5g), + offsetof(RpcRespSetMode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_protocols__field_indices_by_name[] = { - 0, /* field[0] = ghz_2g */ - 1, /* field[1] = ghz_5g */ +static const unsigned rpc__resp__set_mode__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange wifi_protocols__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__set_mode__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_protocols__descriptor = +const ProtobufCMessageDescriptor rpc__resp__set_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_protocols", - "WifiProtocols", - "WifiProtocols", + "Rpc_Resp_SetMode", + "RpcRespSetMode", + "RpcRespSetMode", "", - sizeof(WifiProtocols), - 2, - wifi_protocols__field_descriptors, - wifi_protocols__field_indices_by_name, - 1, wifi_protocols__number_ranges, - (ProtobufCMessageInit) wifi_protocols__init, + sizeof(RpcRespSetMode), + 1, + rpc__resp__set_mode__field_descriptors, + rpc__resp__set_mode__field_indices_by_name, + 1, rpc__resp__set_mode__number_ranges, + (ProtobufCMessageInit) rpc__resp__set_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_bandwidths__field_descriptors[2] = +#define rpc__req__get_ps__field_descriptors NULL +#define rpc__req__get_ps__field_indices_by_name NULL +#define rpc__req__get_ps__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__get_ps__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_GetPs", + "RpcReqGetPs", + "RpcReqGetPs", + "", + sizeof(RpcReqGetPs), + 0, + rpc__req__get_ps__field_descriptors, + rpc__req__get_ps__field_indices_by_name, + 0, rpc__req__get_ps__number_ranges, + (ProtobufCMessageInit) rpc__req__get_ps__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__get_ps__field_descriptors[2] = { { - "ghz_2g", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiBandwidths, ghz_2g), + offsetof(RpcRespGetPs, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ghz_5g", + "type", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiBandwidths, ghz_5g), + offsetof(RpcRespGetPs, type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_bandwidths__field_indices_by_name[] = { - 0, /* field[0] = ghz_2g */ - 1, /* field[1] = ghz_5g */ +static const unsigned rpc__resp__get_ps__field_indices_by_name[] = { + 0, /* field[0] = resp */ + 1, /* field[1] = type */ }; -static const ProtobufCIntRange wifi_bandwidths__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__get_ps__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor wifi_bandwidths__descriptor = +const ProtobufCMessageDescriptor rpc__resp__get_ps__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_bandwidths", - "WifiBandwidths", - "WifiBandwidths", + "Rpc_Resp_GetPs", + "RpcRespGetPs", + "RpcRespGetPs", "", - sizeof(WifiBandwidths), + sizeof(RpcRespGetPs), 2, - wifi_bandwidths__field_descriptors, - wifi_bandwidths__field_indices_by_name, - 1, wifi_bandwidths__number_ranges, - (ProtobufCMessageInit) wifi_bandwidths__init, + rpc__resp__get_ps__field_descriptors, + rpc__resp__get_ps__field_indices_by_name, + 1, rpc__resp__get_ps__number_ranges, + (ProtobufCMessageInit) rpc__resp__get_ps__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_itwt_setup_config__field_descriptors[6] = +static const ProtobufCFieldDescriptor rpc__req__set_ps__field_descriptors[1] = { { - "setup_cmd", + "type", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, setup_cmd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bitmask_1", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, bitmask_1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "min_wake_dura", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, min_wake_dura), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "wake_invl_mant", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, wake_invl_mant), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "twt_id", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, twt_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "timeout_time_ms", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiItwtSetupConfig, timeout_time_ms), + offsetof(RpcReqSetPs, type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_itwt_setup_config__field_indices_by_name[] = { - 1, /* field[1] = bitmask_1 */ - 2, /* field[2] = min_wake_dura */ - 0, /* field[0] = setup_cmd */ - 5, /* field[5] = timeout_time_ms */ - 4, /* field[4] = twt_id */ - 3, /* field[3] = wake_invl_mant */ +static const unsigned rpc__req__set_ps__field_indices_by_name[] = { + 0, /* field[0] = type */ }; -static const ProtobufCIntRange wifi_itwt_setup_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__set_ps__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 6 } + { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_itwt_setup_config__descriptor = +const ProtobufCMessageDescriptor rpc__req__set_ps__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_itwt_setup_config", - "WifiItwtSetupConfig", - "WifiItwtSetupConfig", + "Rpc_Req_SetPs", + "RpcReqSetPs", + "RpcReqSetPs", "", - sizeof(WifiItwtSetupConfig), - 6, - wifi_itwt_setup_config__field_descriptors, - wifi_itwt_setup_config__field_indices_by_name, - 1, wifi_itwt_setup_config__number_ranges, - (ProtobufCMessageInit) wifi_itwt_setup_config__init, + sizeof(RpcReqSetPs), + 1, + rpc__req__set_ps__field_descriptors, + rpc__req__set_ps__field_indices_by_name, + 1, rpc__req__set_ps__number_ranges, + (ProtobufCMessageInit) rpc__req__set_ps__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor wifi_twt_config__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__set_ps__field_descriptors[1] = { { - "post_wakeup_event", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(WifiTwtConfig, post_wakeup_event), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "twt_enable_keep_alive", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(WifiTwtConfig, twt_enable_keep_alive), + offsetof(RpcRespSetPs, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned wifi_twt_config__field_indices_by_name[] = { - 0, /* field[0] = post_wakeup_event */ - 1, /* field[1] = twt_enable_keep_alive */ +static const unsigned rpc__resp__set_ps__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange wifi_twt_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__set_ps__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor wifi_twt_config__descriptor = +const ProtobufCMessageDescriptor rpc__resp__set_ps__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "wifi_twt_config", - "WifiTwtConfig", - "WifiTwtConfig", + "Rpc_Resp_SetPs", + "RpcRespSetPs", + "RpcRespSetPs", "", - sizeof(WifiTwtConfig), - 2, - wifi_twt_config__field_descriptors, - wifi_twt_config__field_indices_by_name, - 1, wifi_twt_config__number_ranges, - (ProtobufCMessageInit) wifi_twt_config__init, + sizeof(RpcRespSetPs), + 1, + rpc__resp__set_ps__field_descriptors, + rpc__resp__set_ps__field_indices_by_name, + 1, rpc__resp__set_ps__number_ranges, + (ProtobufCMessageInit) rpc__resp__set_ps__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor connected_stalist__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__set_mac_address__field_descriptors[2] = { { "mac", @@ -12697,246 +13802,314 @@ static const ProtobufCFieldDescriptor connected_stalist__field_descriptors[2] = PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(ConnectedSTAList, mac), + offsetof(RpcReqSetMacAddress, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "rssi", + "mode", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(ConnectedSTAList, rssi), + offsetof(RpcReqSetMacAddress, mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned connected_stalist__field_indices_by_name[] = { +static const unsigned rpc__req__set_mac_address__field_indices_by_name[] = { 0, /* field[0] = mac */ - 1, /* field[1] = rssi */ + 1, /* field[1] = mode */ }; -static const ProtobufCIntRange connected_stalist__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__set_mac_address__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor connected_stalist__descriptor = +const ProtobufCMessageDescriptor rpc__req__set_mac_address__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "ConnectedSTAList", - "ConnectedSTAList", - "ConnectedSTAList", + "Rpc_Req_SetMacAddress", + "RpcReqSetMacAddress", + "RpcReqSetMacAddress", "", - sizeof(ConnectedSTAList), + sizeof(RpcReqSetMacAddress), 2, - connected_stalist__field_descriptors, - connected_stalist__field_indices_by_name, - 1, connected_stalist__number_ranges, - (ProtobufCMessageInit) connected_stalist__init, + rpc__req__set_mac_address__field_descriptors, + rpc__req__set_mac_address__field_indices_by_name, + 1, rpc__req__set_mac_address__number_ranges, + (ProtobufCMessageInit) rpc__req__set_mac_address__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__get_mac_address__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__set_mac_address__field_descriptors[1] = { { - "mode", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqGetMacAddress, mode), + offsetof(RpcRespSetMacAddress, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__get_mac_address__field_indices_by_name[] = { - 0, /* field[0] = mode */ +static const unsigned rpc__resp__set_mac_address__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__get_mac_address__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__set_mac_address__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__get_mac_address__descriptor = +const ProtobufCMessageDescriptor rpc__resp__set_mac_address__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_GetMacAddress", - "RpcReqGetMacAddress", - "RpcReqGetMacAddress", + "Rpc_Resp_SetMacAddress", + "RpcRespSetMacAddress", + "RpcRespSetMacAddress", "", - sizeof(RpcReqGetMacAddress), + sizeof(RpcRespSetMacAddress), 1, - rpc__req__get_mac_address__field_descriptors, - rpc__req__get_mac_address__field_indices_by_name, - 1, rpc__req__get_mac_address__number_ranges, - (ProtobufCMessageInit) rpc__req__get_mac_address__init, + rpc__resp__set_mac_address__field_descriptors, + rpc__resp__set_mac_address__field_indices_by_name, + 1, rpc__resp__set_mac_address__number_ranges, + (ProtobufCMessageInit) rpc__resp__set_mac_address__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__get_mac_address__field_descriptors[2] = +#define rpc__req__otabegin__field_descriptors NULL +#define rpc__req__otabegin__field_indices_by_name NULL +#define rpc__req__otabegin__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__otabegin__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_OTABegin", + "RpcReqOTABegin", + "RpcReqOTABegin", + "", + sizeof(RpcReqOTABegin), + 0, + rpc__req__otabegin__field_descriptors, + rpc__req__otabegin__field_indices_by_name, + 0, rpc__req__otabegin__number_ranges, + (ProtobufCMessageInit) rpc__req__otabegin__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__otabegin__field_descriptors[1] = { { - "mac", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetMacAddress, mac), + offsetof(RpcRespOTABegin, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__otabegin__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__otabegin__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__otabegin__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_OTABegin", + "RpcRespOTABegin", + "RpcRespOTABegin", + "", + sizeof(RpcRespOTABegin), + 1, + rpc__resp__otabegin__field_descriptors, + rpc__resp__otabegin__field_indices_by_name, + 1, rpc__resp__otabegin__number_ranges, + (ProtobufCMessageInit) rpc__resp__otabegin__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__req__otawrite__field_descriptors[1] = +{ { - "resp", - 2, + "ota_data", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcRespGetMacAddress, resp), + offsetof(RpcReqOTAWrite, ota_data), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__get_mac_address__field_indices_by_name[] = { - 0, /* field[0] = mac */ - 1, /* field[1] = resp */ +static const unsigned rpc__req__otawrite__field_indices_by_name[] = { + 0, /* field[0] = ota_data */ }; -static const ProtobufCIntRange rpc__resp__get_mac_address__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__otawrite__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__resp__get_mac_address__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_GetMacAddress", - "RpcRespGetMacAddress", - "RpcRespGetMacAddress", - "", - sizeof(RpcRespGetMacAddress), - 2, - rpc__resp__get_mac_address__field_descriptors, - rpc__resp__get_mac_address__field_indices_by_name, - 1, rpc__resp__get_mac_address__number_ranges, - (ProtobufCMessageInit) rpc__resp__get_mac_address__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 1 } }; -#define rpc__req__get_mode__field_descriptors NULL -#define rpc__req__get_mode__field_indices_by_name NULL -#define rpc__req__get_mode__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__get_mode__descriptor = +const ProtobufCMessageDescriptor rpc__req__otawrite__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_GetMode", - "RpcReqGetMode", - "RpcReqGetMode", + "Rpc_Req_OTAWrite", + "RpcReqOTAWrite", + "RpcReqOTAWrite", "", - sizeof(RpcReqGetMode), - 0, - rpc__req__get_mode__field_descriptors, - rpc__req__get_mode__field_indices_by_name, - 0, rpc__req__get_mode__number_ranges, - (ProtobufCMessageInit) rpc__req__get_mode__init, + sizeof(RpcReqOTAWrite), + 1, + rpc__req__otawrite__field_descriptors, + rpc__req__otawrite__field_indices_by_name, + 1, rpc__req__otawrite__number_ranges, + (ProtobufCMessageInit) rpc__req__otawrite__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__get_mode__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__otawrite__field_descriptors[1] = { { - "mode", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetMode, mode), + offsetof(RpcRespOTAWrite, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__otawrite__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__otawrite__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__otawrite__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_OTAWrite", + "RpcRespOTAWrite", + "RpcRespOTAWrite", + "", + sizeof(RpcRespOTAWrite), + 1, + rpc__resp__otawrite__field_descriptors, + rpc__resp__otawrite__field_indices_by_name, + 1, rpc__resp__otawrite__number_ranges, + (ProtobufCMessageInit) rpc__resp__otawrite__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__otaend__field_descriptors NULL +#define rpc__req__otaend__field_indices_by_name NULL +#define rpc__req__otaend__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__otaend__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_OTAEnd", + "RpcReqOTAEnd", + "RpcReqOTAEnd", + "", + sizeof(RpcReqOTAEnd), + 0, + rpc__req__otaend__field_descriptors, + rpc__req__otaend__field_indices_by_name, + 0, rpc__req__otaend__number_ranges, + (ProtobufCMessageInit) rpc__req__otaend__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__otaend__field_descriptors[1] = +{ { "resp", - 2, + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetMode, resp), + offsetof(RpcRespOTAEnd, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__get_mode__field_indices_by_name[] = { - 0, /* field[0] = mode */ - 1, /* field[1] = resp */ +static const unsigned rpc__resp__otaend__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__get_mode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__otaend__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__get_mode__descriptor = +const ProtobufCMessageDescriptor rpc__resp__otaend__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_GetMode", - "RpcRespGetMode", - "RpcRespGetMode", + "Rpc_Resp_OTAEnd", + "RpcRespOTAEnd", + "RpcRespOTAEnd", "", - sizeof(RpcRespGetMode), - 2, - rpc__resp__get_mode__field_descriptors, - rpc__resp__get_mode__field_indices_by_name, - 1, rpc__resp__get_mode__number_ranges, - (ProtobufCMessageInit) rpc__resp__get_mode__init, + sizeof(RpcRespOTAEnd), + 1, + rpc__resp__otaend__field_descriptors, + rpc__resp__otaend__field_indices_by_name, + 1, rpc__resp__otaend__number_ranges, + (ProtobufCMessageInit) rpc__resp__otaend__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__set_mode__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_max_tx_power__field_descriptors[1] = { { - "mode", + "power", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqSetMode, mode), + offsetof(RpcReqWifiSetMaxTxPower, power), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__set_mode__field_indices_by_name[] = { - 0, /* field[0] = mode */ +static const unsigned rpc__req__wifi_set_max_tx_power__field_indices_by_name[] = { + 0, /* field[0] = power */ }; -static const ProtobufCIntRange rpc__req__set_mode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_max_tx_power__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__set_mode__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_max_tx_power__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SetMode", - "RpcReqSetMode", - "RpcReqSetMode", + "Rpc_Req_WifiSetMaxTxPower", + "RpcReqWifiSetMaxTxPower", + "RpcReqWifiSetMaxTxPower", "", - sizeof(RpcReqSetMode), + sizeof(RpcReqWifiSetMaxTxPower), 1, - rpc__req__set_mode__field_descriptors, - rpc__req__set_mode__field_indices_by_name, - 1, rpc__req__set_mode__number_ranges, - (ProtobufCMessageInit) rpc__req__set_mode__init, + rpc__req__wifi_set_max_tx_power__field_descriptors, + rpc__req__wifi_set_max_tx_power__field_indices_by_name, + 1, rpc__req__wifi_set_max_tx_power__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_max_tx_power__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__set_mode__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_max_tx_power__field_descriptors[1] = { { "resp", @@ -12944,144 +14117,157 @@ static const ProtobufCFieldDescriptor rpc__resp__set_mode__field_descriptors[1] PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespSetMode, resp), + offsetof(RpcRespWifiSetMaxTxPower, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__set_mode__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_set_max_tx_power__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__set_mode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_max_tx_power__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__set_mode__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_max_tx_power__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SetMode", - "RpcRespSetMode", - "RpcRespSetMode", + "Rpc_Resp_WifiSetMaxTxPower", + "RpcRespWifiSetMaxTxPower", + "RpcRespWifiSetMaxTxPower", "", - sizeof(RpcRespSetMode), + sizeof(RpcRespWifiSetMaxTxPower), 1, - rpc__resp__set_mode__field_descriptors, - rpc__resp__set_mode__field_indices_by_name, - 1, rpc__resp__set_mode__number_ranges, - (ProtobufCMessageInit) rpc__resp__set_mode__init, + rpc__resp__wifi_set_max_tx_power__field_descriptors, + rpc__resp__wifi_set_max_tx_power__field_indices_by_name, + 1, rpc__resp__wifi_set_max_tx_power__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_max_tx_power__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__get_ps__field_descriptors NULL -#define rpc__req__get_ps__field_indices_by_name NULL -#define rpc__req__get_ps__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__get_ps__descriptor = +#define rpc__req__wifi_get_max_tx_power__field_descriptors NULL +#define rpc__req__wifi_get_max_tx_power__field_indices_by_name NULL +#define rpc__req__wifi_get_max_tx_power__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_max_tx_power__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_GetPs", - "RpcReqGetPs", - "RpcReqGetPs", + "Rpc_Req_WifiGetMaxTxPower", + "RpcReqWifiGetMaxTxPower", + "RpcReqWifiGetMaxTxPower", "", - sizeof(RpcReqGetPs), + sizeof(RpcReqWifiGetMaxTxPower), 0, - rpc__req__get_ps__field_descriptors, - rpc__req__get_ps__field_indices_by_name, - 0, rpc__req__get_ps__number_ranges, - (ProtobufCMessageInit) rpc__req__get_ps__init, + rpc__req__wifi_get_max_tx_power__field_descriptors, + rpc__req__wifi_get_max_tx_power__field_indices_by_name, + 0, rpc__req__wifi_get_max_tx_power__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_max_tx_power__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__get_ps__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_max_tx_power__field_descriptors[2] = { { - "resp", + "power", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetPs, resp), + offsetof(RpcRespWifiGetMaxTxPower, power), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "type", + "resp", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetPs, type), + offsetof(RpcRespWifiGetMaxTxPower, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__get_ps__field_indices_by_name[] = { - 0, /* field[0] = resp */ - 1, /* field[1] = type */ +static const unsigned rpc__resp__wifi_get_max_tx_power__field_indices_by_name[] = { + 0, /* field[0] = power */ + 1, /* field[1] = resp */ }; -static const ProtobufCIntRange rpc__resp__get_ps__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_max_tx_power__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__get_ps__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_max_tx_power__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_GetPs", - "RpcRespGetPs", - "RpcRespGetPs", + "Rpc_Resp_WifiGetMaxTxPower", + "RpcRespWifiGetMaxTxPower", + "RpcRespWifiGetMaxTxPower", "", - sizeof(RpcRespGetPs), + sizeof(RpcRespWifiGetMaxTxPower), 2, - rpc__resp__get_ps__field_descriptors, - rpc__resp__get_ps__field_indices_by_name, - 1, rpc__resp__get_ps__number_ranges, - (ProtobufCMessageInit) rpc__resp__get_ps__init, + rpc__resp__wifi_get_max_tx_power__field_descriptors, + rpc__resp__wifi_get_max_tx_power__field_indices_by_name, + 1, rpc__resp__wifi_get_max_tx_power__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_max_tx_power__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__set_ps__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__config_heartbeat__field_descriptors[2] = { { - "type", + "enable", 1, PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(RpcReqConfigHeartbeat, enable), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "duration", + 2, + PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqSetPs, type), + offsetof(RpcReqConfigHeartbeat, duration), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__set_ps__field_indices_by_name[] = { - 0, /* field[0] = type */ +static const unsigned rpc__req__config_heartbeat__field_indices_by_name[] = { + 1, /* field[1] = duration */ + 0, /* field[0] = enable */ }; -static const ProtobufCIntRange rpc__req__set_ps__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__config_heartbeat__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__set_ps__descriptor = +const ProtobufCMessageDescriptor rpc__req__config_heartbeat__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SetPs", - "RpcReqSetPs", - "RpcReqSetPs", + "Rpc_Req_ConfigHeartbeat", + "RpcReqConfigHeartbeat", + "RpcReqConfigHeartbeat", "", - sizeof(RpcReqSetPs), - 1, - rpc__req__set_ps__field_descriptors, - rpc__req__set_ps__field_indices_by_name, - 1, rpc__req__set_ps__number_ranges, - (ProtobufCMessageInit) rpc__req__set_ps__init, + sizeof(RpcReqConfigHeartbeat), + 2, + rpc__req__config_heartbeat__field_descriptors, + rpc__req__config_heartbeat__field_indices_by_name, + 1, rpc__req__config_heartbeat__number_ranges, + (ProtobufCMessageInit) rpc__req__config_heartbeat__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__set_ps__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__config_heartbeat__field_descriptors[1] = { { "resp", @@ -13089,88 +14275,75 @@ static const ProtobufCFieldDescriptor rpc__resp__set_ps__field_descriptors[1] = PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespSetPs, resp), + offsetof(RpcRespConfigHeartbeat, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__set_ps__field_indices_by_name[] = { +static const unsigned rpc__resp__config_heartbeat__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__set_ps__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__config_heartbeat__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__set_ps__descriptor = +const ProtobufCMessageDescriptor rpc__resp__config_heartbeat__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SetPs", - "RpcRespSetPs", - "RpcRespSetPs", + "Rpc_Resp_ConfigHeartbeat", + "RpcRespConfigHeartbeat", + "RpcRespConfigHeartbeat", "", - sizeof(RpcRespSetPs), + sizeof(RpcRespConfigHeartbeat), 1, - rpc__resp__set_ps__field_descriptors, - rpc__resp__set_ps__field_indices_by_name, - 1, rpc__resp__set_ps__number_ranges, - (ProtobufCMessageInit) rpc__resp__set_ps__init, + rpc__resp__config_heartbeat__field_descriptors, + rpc__resp__config_heartbeat__field_indices_by_name, + 1, rpc__resp__config_heartbeat__number_ranges, + (ProtobufCMessageInit) rpc__resp__config_heartbeat__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__set_mac_address__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_init__field_descriptors[1] = { { - "mac", + "cfg", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcReqSetMacAddress, mac), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "mode", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqSetMacAddress, mode), - NULL, + offsetof(RpcReqWifiInit, cfg), + &wifi_init_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__set_mac_address__field_indices_by_name[] = { - 0, /* field[0] = mac */ - 1, /* field[1] = mode */ +static const unsigned rpc__req__wifi_init__field_indices_by_name[] = { + 0, /* field[0] = cfg */ }; -static const ProtobufCIntRange rpc__req__set_mac_address__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_init__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__set_mac_address__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_init__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SetMacAddress", - "RpcReqSetMacAddress", - "RpcReqSetMacAddress", + "Rpc_Req_WifiInit", + "RpcReqWifiInit", + "RpcReqWifiInit", "", - sizeof(RpcReqSetMacAddress), - 2, - rpc__req__set_mac_address__field_descriptors, - rpc__req__set_mac_address__field_indices_by_name, - 1, rpc__req__set_mac_address__number_ranges, - (ProtobufCMessageInit) rpc__req__set_mac_address__init, + sizeof(RpcReqWifiInit), + 1, + rpc__req__wifi_init__field_descriptors, + rpc__req__wifi_init__field_indices_by_name, + 1, rpc__req__wifi_init__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_init__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__set_mac_address__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_init__field_descriptors[1] = { { "resp", @@ -13178,55 +14351,55 @@ static const ProtobufCFieldDescriptor rpc__resp__set_mac_address__field_descript PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespSetMacAddress, resp), + offsetof(RpcRespWifiInit, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__set_mac_address__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_init__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__set_mac_address__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_init__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__set_mac_address__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_init__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SetMacAddress", - "RpcRespSetMacAddress", - "RpcRespSetMacAddress", + "Rpc_Resp_WifiInit", + "RpcRespWifiInit", + "RpcRespWifiInit", "", - sizeof(RpcRespSetMacAddress), + sizeof(RpcRespWifiInit), 1, - rpc__resp__set_mac_address__field_descriptors, - rpc__resp__set_mac_address__field_indices_by_name, - 1, rpc__resp__set_mac_address__number_ranges, - (ProtobufCMessageInit) rpc__resp__set_mac_address__init, + rpc__resp__wifi_init__field_descriptors, + rpc__resp__wifi_init__field_indices_by_name, + 1, rpc__resp__wifi_init__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_init__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__otabegin__field_descriptors NULL -#define rpc__req__otabegin__field_indices_by_name NULL -#define rpc__req__otabegin__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__otabegin__descriptor = +#define rpc__req__wifi_deinit__field_descriptors NULL +#define rpc__req__wifi_deinit__field_indices_by_name NULL +#define rpc__req__wifi_deinit__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_deinit__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_OTABegin", - "RpcReqOTABegin", - "RpcReqOTABegin", + "Rpc_Req_WifiDeinit", + "RpcReqWifiDeinit", + "RpcReqWifiDeinit", "", - sizeof(RpcReqOTABegin), + sizeof(RpcReqWifiDeinit), 0, - rpc__req__otabegin__field_descriptors, - rpc__req__otabegin__field_indices_by_name, - 0, rpc__req__otabegin__number_ranges, - (ProtobufCMessageInit) rpc__req__otabegin__init, + rpc__req__wifi_deinit__field_descriptors, + rpc__req__wifi_deinit__field_indices_by_name, + 0, rpc__req__wifi_deinit__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_deinit__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__otabegin__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_deinit__field_descriptors[1] = { { "resp", @@ -13234,75 +14407,88 @@ static const ProtobufCFieldDescriptor rpc__resp__otabegin__field_descriptors[1] PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespOTABegin, resp), + offsetof(RpcRespWifiDeinit, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__otabegin__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_deinit__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__otabegin__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_deinit__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__otabegin__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_deinit__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_OTABegin", - "RpcRespOTABegin", - "RpcRespOTABegin", + "Rpc_Resp_WifiDeinit", + "RpcRespWifiDeinit", + "RpcRespWifiDeinit", "", - sizeof(RpcRespOTABegin), + sizeof(RpcRespWifiDeinit), 1, - rpc__resp__otabegin__field_descriptors, - rpc__resp__otabegin__field_indices_by_name, - 1, rpc__resp__otabegin__number_ranges, - (ProtobufCMessageInit) rpc__resp__otabegin__init, + rpc__resp__wifi_deinit__field_descriptors, + rpc__resp__wifi_deinit__field_indices_by_name, + 1, rpc__resp__wifi_deinit__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_deinit__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__otawrite__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_config__field_descriptors[2] = { { - "ota_data", + "iface", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqOTAWrite, ota_data), + offsetof(RpcReqWifiSetConfig, iface), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "cfg", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiSetConfig, cfg), + &wifi_config__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; -static const unsigned rpc__req__otawrite__field_indices_by_name[] = { - 0, /* field[0] = ota_data */ +static const unsigned rpc__req__wifi_set_config__field_indices_by_name[] = { + 1, /* field[1] = cfg */ + 0, /* field[0] = iface */ }; -static const ProtobufCIntRange rpc__req__otawrite__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__otawrite__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_OTAWrite", - "RpcReqOTAWrite", - "RpcReqOTAWrite", + "Rpc_Req_WifiSetConfig", + "RpcReqWifiSetConfig", + "RpcReqWifiSetConfig", "", - sizeof(RpcReqOTAWrite), - 1, - rpc__req__otawrite__field_descriptors, - rpc__req__otawrite__field_indices_by_name, - 1, rpc__req__otawrite__number_ranges, - (ProtobufCMessageInit) rpc__req__otawrite__init, + sizeof(RpcReqWifiSetConfig), + 2, + rpc__req__wifi_set_config__field_descriptors, + rpc__req__wifi_set_config__field_indices_by_name, + 1, rpc__req__wifi_set_config__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__otawrite__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_config__field_descriptors[1] = { { "resp", @@ -13310,131 +14496,157 @@ static const ProtobufCFieldDescriptor rpc__resp__otawrite__field_descriptors[1] PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespOTAWrite, resp), + offsetof(RpcRespWifiSetConfig, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__otawrite__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_set_config__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__otawrite__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__otawrite__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_OTAWrite", - "RpcRespOTAWrite", - "RpcRespOTAWrite", + "Rpc_Resp_WifiSetConfig", + "RpcRespWifiSetConfig", + "RpcRespWifiSetConfig", "", - sizeof(RpcRespOTAWrite), + sizeof(RpcRespWifiSetConfig), 1, - rpc__resp__otawrite__field_descriptors, - rpc__resp__otawrite__field_indices_by_name, - 1, rpc__resp__otawrite__number_ranges, - (ProtobufCMessageInit) rpc__resp__otawrite__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__otaend__field_descriptors NULL -#define rpc__req__otaend__field_indices_by_name NULL -#define rpc__req__otaend__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__otaend__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_OTAEnd", - "RpcReqOTAEnd", - "RpcReqOTAEnd", - "", - sizeof(RpcReqOTAEnd), - 0, - rpc__req__otaend__field_descriptors, - rpc__req__otaend__field_indices_by_name, - 0, rpc__req__otaend__number_ranges, - (ProtobufCMessageInit) rpc__req__otaend__init, + rpc__resp__wifi_set_config__field_descriptors, + rpc__resp__wifi_set_config__field_indices_by_name, + 1, rpc__resp__wifi_set_config__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__otaend__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_get_config__field_descriptors[1] = { { - "resp", + "iface", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespOTAEnd, resp), + offsetof(RpcReqWifiGetConfig, iface), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__otaend__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_get_config__field_indices_by_name[] = { + 0, /* field[0] = iface */ }; -static const ProtobufCIntRange rpc__resp__otaend__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_get_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__otaend__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_get_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_OTAEnd", - "RpcRespOTAEnd", - "RpcRespOTAEnd", + "Rpc_Req_WifiGetConfig", + "RpcReqWifiGetConfig", + "RpcReqWifiGetConfig", "", - sizeof(RpcRespOTAEnd), + sizeof(RpcReqWifiGetConfig), 1, - rpc__resp__otaend__field_descriptors, - rpc__resp__otaend__field_indices_by_name, - 1, rpc__resp__otaend__number_ranges, - (ProtobufCMessageInit) rpc__resp__otaend__init, + rpc__req__wifi_get_config__field_descriptors, + rpc__req__wifi_get_config__field_indices_by_name, + 1, rpc__req__wifi_get_config__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_max_tx_power__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_config__field_descriptors[3] = { { - "power", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetMaxTxPower, power), + offsetof(RpcRespWifiGetConfig, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "iface", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetConfig, iface), + NULL, NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "cfg", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetConfig, cfg), + &wifi_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_max_tx_power__field_indices_by_name[] = { - 0, /* field[0] = power */ +static const unsigned rpc__resp__wifi_get_config__field_indices_by_name[] = { + 2, /* field[2] = cfg */ + 1, /* field[1] = iface */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_max_tx_power__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 3 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_max_tx_power__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetMaxTxPower", - "RpcReqWifiSetMaxTxPower", - "RpcReqWifiSetMaxTxPower", + "Rpc_Resp_WifiGetConfig", + "RpcRespWifiGetConfig", + "RpcRespWifiGetConfig", "", - sizeof(RpcReqWifiSetMaxTxPower), - 1, - rpc__req__wifi_set_max_tx_power__field_descriptors, - rpc__req__wifi_set_max_tx_power__field_indices_by_name, - 1, rpc__req__wifi_set_max_tx_power__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_max_tx_power__init, + sizeof(RpcRespWifiGetConfig), + 3, + rpc__resp__wifi_get_config__field_descriptors, + rpc__resp__wifi_get_config__field_indices_by_name, + 1, rpc__resp__wifi_get_config__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__wifi_connect__field_descriptors NULL +#define rpc__req__wifi_connect__field_indices_by_name NULL +#define rpc__req__wifi_connect__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_connect__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiConnect", + "RpcReqWifiConnect", + "RpcReqWifiConnect", + "", + sizeof(RpcReqWifiConnect), + 0, + rpc__req__wifi_connect__field_descriptors, + rpc__req__wifi_connect__field_indices_by_name, + 0, rpc__req__wifi_connect__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_connect__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_max_tx_power__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_connect__field_descriptors[1] = { { "resp", @@ -13442,157 +14654,167 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_max_tx_power__field_de PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetMaxTxPower, resp), + offsetof(RpcRespWifiConnect, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_max_tx_power__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_connect__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_max_tx_power__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_connect__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_max_tx_power__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_connect__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetMaxTxPower", - "RpcRespWifiSetMaxTxPower", - "RpcRespWifiSetMaxTxPower", + "Rpc_Resp_WifiConnect", + "RpcRespWifiConnect", + "RpcRespWifiConnect", "", - sizeof(RpcRespWifiSetMaxTxPower), + sizeof(RpcRespWifiConnect), 1, - rpc__resp__wifi_set_max_tx_power__field_descriptors, - rpc__resp__wifi_set_max_tx_power__field_indices_by_name, - 1, rpc__resp__wifi_set_max_tx_power__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_max_tx_power__init, + rpc__resp__wifi_connect__field_descriptors, + rpc__resp__wifi_connect__field_indices_by_name, + 1, rpc__resp__wifi_connect__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_connect__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_get_max_tx_power__field_descriptors NULL -#define rpc__req__wifi_get_max_tx_power__field_indices_by_name NULL -#define rpc__req__wifi_get_max_tx_power__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_max_tx_power__descriptor = +#define rpc__req__wifi_disconnect__field_descriptors NULL +#define rpc__req__wifi_disconnect__field_indices_by_name NULL +#define rpc__req__wifi_disconnect__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_disconnect__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetMaxTxPower", - "RpcReqWifiGetMaxTxPower", - "RpcReqWifiGetMaxTxPower", + "Rpc_Req_WifiDisconnect", + "RpcReqWifiDisconnect", + "RpcReqWifiDisconnect", "", - sizeof(RpcReqWifiGetMaxTxPower), + sizeof(RpcReqWifiDisconnect), 0, - rpc__req__wifi_get_max_tx_power__field_descriptors, - rpc__req__wifi_get_max_tx_power__field_indices_by_name, - 0, rpc__req__wifi_get_max_tx_power__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_max_tx_power__init, + rpc__req__wifi_disconnect__field_descriptors, + rpc__req__wifi_disconnect__field_indices_by_name, + 0, rpc__req__wifi_disconnect__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_disconnect__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_max_tx_power__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_disconnect__field_descriptors[1] = { - { - "power", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetMaxTxPower, power), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, { "resp", - 2, + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetMaxTxPower, resp), + offsetof(RpcRespWifiDisconnect, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_max_tx_power__field_indices_by_name[] = { - 0, /* field[0] = power */ - 1, /* field[1] = resp */ +static const unsigned rpc__resp__wifi_disconnect__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_max_tx_power__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_disconnect__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_max_tx_power__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_disconnect__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetMaxTxPower", - "RpcRespWifiGetMaxTxPower", - "RpcRespWifiGetMaxTxPower", + "Rpc_Resp_WifiDisconnect", + "RpcRespWifiDisconnect", + "RpcRespWifiDisconnect", "", - sizeof(RpcRespWifiGetMaxTxPower), - 2, - rpc__resp__wifi_get_max_tx_power__field_descriptors, - rpc__resp__wifi_get_max_tx_power__field_indices_by_name, - 1, rpc__resp__wifi_get_max_tx_power__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_max_tx_power__init, + sizeof(RpcRespWifiDisconnect), + 1, + rpc__resp__wifi_disconnect__field_descriptors, + rpc__resp__wifi_disconnect__field_indices_by_name, + 1, rpc__resp__wifi_disconnect__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_disconnect__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__config_heartbeat__field_descriptors[2] = +#define rpc__req__wifi_start__field_descriptors NULL +#define rpc__req__wifi_start__field_indices_by_name NULL +#define rpc__req__wifi_start__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_start__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStart", + "RpcReqWifiStart", + "RpcReqWifiStart", + "", + sizeof(RpcReqWifiStart), + 0, + rpc__req__wifi_start__field_descriptors, + rpc__req__wifi_start__field_indices_by_name, + 0, rpc__req__wifi_start__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_start__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_start__field_descriptors[1] = { { - "enable", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(RpcReqConfigHeartbeat, enable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "duration", - 2, - PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqConfigHeartbeat, duration), + offsetof(RpcRespWifiStart, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__config_heartbeat__field_indices_by_name[] = { - 1, /* field[1] = duration */ - 0, /* field[0] = enable */ +static const unsigned rpc__resp__wifi_start__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__config_heartbeat__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_start__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__config_heartbeat__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_start__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_ConfigHeartbeat", - "RpcReqConfigHeartbeat", - "RpcReqConfigHeartbeat", + "Rpc_Resp_WifiStart", + "RpcRespWifiStart", + "RpcRespWifiStart", "", - sizeof(RpcReqConfigHeartbeat), - 2, - rpc__req__config_heartbeat__field_descriptors, - rpc__req__config_heartbeat__field_indices_by_name, - 1, rpc__req__config_heartbeat__number_ranges, - (ProtobufCMessageInit) rpc__req__config_heartbeat__init, + sizeof(RpcRespWifiStart), + 1, + rpc__resp__wifi_start__field_descriptors, + rpc__resp__wifi_start__field_indices_by_name, + 1, rpc__resp__wifi_start__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_start__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__config_heartbeat__field_descriptors[1] = +#define rpc__req__wifi_stop__field_descriptors NULL +#define rpc__req__wifi_stop__field_indices_by_name NULL +#define rpc__req__wifi_stop__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_stop__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStop", + "RpcReqWifiStop", + "RpcReqWifiStop", + "", + sizeof(RpcReqWifiStop), + 0, + rpc__req__wifi_stop__field_descriptors, + rpc__req__wifi_stop__field_indices_by_name, + 0, rpc__req__wifi_stop__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_stop__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_stop__field_descriptors[1] = { { "resp", @@ -13600,75 +14822,101 @@ static const ProtobufCFieldDescriptor rpc__resp__config_heartbeat__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespConfigHeartbeat, resp), + offsetof(RpcRespWifiStop, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__config_heartbeat__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_stop__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__config_heartbeat__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_stop__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__config_heartbeat__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_stop__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_ConfigHeartbeat", - "RpcRespConfigHeartbeat", - "RpcRespConfigHeartbeat", + "Rpc_Resp_WifiStop", + "RpcRespWifiStop", + "RpcRespWifiStop", "", - sizeof(RpcRespConfigHeartbeat), + sizeof(RpcRespWifiStop), 1, - rpc__resp__config_heartbeat__field_descriptors, - rpc__resp__config_heartbeat__field_indices_by_name, - 1, rpc__resp__config_heartbeat__number_ranges, - (ProtobufCMessageInit) rpc__resp__config_heartbeat__init, + rpc__resp__wifi_stop__field_descriptors, + rpc__resp__wifi_stop__field_indices_by_name, + 1, rpc__resp__wifi_stop__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_stop__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_init__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_scan_start__field_descriptors[3] = { { - "cfg", + "config", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqWifiInit, cfg), - &wifi_init_config__descriptor, + offsetof(RpcReqWifiScanStart, config), + &wifi_scan_config__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "block", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiScanStart, block), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "config_set", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiScanStart, config_set), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_init__field_indices_by_name[] = { - 0, /* field[0] = cfg */ +static const unsigned rpc__req__wifi_scan_start__field_indices_by_name[] = { + 1, /* field[1] = block */ + 0, /* field[0] = config */ + 2, /* field[2] = config_set */ }; -static const ProtobufCIntRange rpc__req__wifi_init__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_scan_start__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 3 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_init__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_scan_start__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiInit", - "RpcReqWifiInit", - "RpcReqWifiInit", + "Rpc_Req_WifiScanStart", + "RpcReqWifiScanStart", + "RpcReqWifiScanStart", "", - sizeof(RpcReqWifiInit), - 1, - rpc__req__wifi_init__field_descriptors, - rpc__req__wifi_init__field_indices_by_name, - 1, rpc__req__wifi_init__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_init__init, + sizeof(RpcReqWifiScanStart), + 3, + rpc__req__wifi_scan_start__field_descriptors, + rpc__req__wifi_scan_start__field_indices_by_name, + 1, rpc__req__wifi_scan_start__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_scan_start__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_init__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_start__field_descriptors[1] = { { "resp", @@ -13676,55 +14924,55 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_init__field_descriptors[1] PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiInit, resp), + offsetof(RpcRespWifiScanStart, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_init__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_scan_start__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_init__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_scan_start__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_init__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_scan_start__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiInit", - "RpcRespWifiInit", - "RpcRespWifiInit", + "Rpc_Resp_WifiScanStart", + "RpcRespWifiScanStart", + "RpcRespWifiScanStart", "", - sizeof(RpcRespWifiInit), + sizeof(RpcRespWifiScanStart), 1, - rpc__resp__wifi_init__field_descriptors, - rpc__resp__wifi_init__field_indices_by_name, - 1, rpc__resp__wifi_init__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_init__init, + rpc__resp__wifi_scan_start__field_descriptors, + rpc__resp__wifi_scan_start__field_indices_by_name, + 1, rpc__resp__wifi_scan_start__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_scan_start__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_deinit__field_descriptors NULL -#define rpc__req__wifi_deinit__field_indices_by_name NULL -#define rpc__req__wifi_deinit__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_deinit__descriptor = +#define rpc__req__wifi_scan_stop__field_descriptors NULL +#define rpc__req__wifi_scan_stop__field_indices_by_name NULL +#define rpc__req__wifi_scan_stop__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_scan_stop__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiDeinit", - "RpcReqWifiDeinit", - "RpcReqWifiDeinit", + "Rpc_Req_WifiScanStop", + "RpcReqWifiScanStop", + "RpcReqWifiScanStop", "", - sizeof(RpcReqWifiDeinit), + sizeof(RpcReqWifiScanStop), 0, - rpc__req__wifi_deinit__field_descriptors, - rpc__req__wifi_deinit__field_indices_by_name, - 0, rpc__req__wifi_deinit__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_deinit__init, + rpc__req__wifi_scan_stop__field_descriptors, + rpc__req__wifi_scan_stop__field_indices_by_name, + 0, rpc__req__wifi_scan_stop__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_scan_stop__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_deinit__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_stop__field_descriptors[1] = { { "resp", @@ -13732,164 +14980,226 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_deinit__field_descriptors[ PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiDeinit, resp), + offsetof(RpcRespWifiScanStop, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_deinit__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_scan_stop__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_deinit__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_scan_stop__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_deinit__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_scan_stop__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiDeinit", - "RpcRespWifiDeinit", - "RpcRespWifiDeinit", + "Rpc_Resp_WifiScanStop", + "RpcRespWifiScanStop", + "RpcRespWifiScanStop", "", - sizeof(RpcRespWifiDeinit), + sizeof(RpcRespWifiScanStop), 1, - rpc__resp__wifi_deinit__field_descriptors, - rpc__resp__wifi_deinit__field_indices_by_name, - 1, rpc__resp__wifi_deinit__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_deinit__init, + rpc__resp__wifi_scan_stop__field_descriptors, + rpc__resp__wifi_scan_stop__field_indices_by_name, + 1, rpc__resp__wifi_scan_stop__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_scan_stop__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_config__field_descriptors[2] = +#define rpc__req__wifi_scan_get_ap_num__field_descriptors NULL +#define rpc__req__wifi_scan_get_ap_num__field_indices_by_name NULL +#define rpc__req__wifi_scan_get_ap_num__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_num__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiScanGetApNum", + "RpcReqWifiScanGetApNum", + "RpcReqWifiScanGetApNum", + "", + sizeof(RpcReqWifiScanGetApNum), + 0, + rpc__req__wifi_scan_get_ap_num__field_descriptors, + rpc__req__wifi_scan_get_ap_num__field_indices_by_name, + 0, rpc__req__wifi_scan_get_ap_num__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_num__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_num__field_descriptors[2] = { { - "iface", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetConfig, iface), + offsetof(RpcRespWifiScanGetApNum, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "cfg", + "number", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetConfig, cfg), - &wifi_config__descriptor, + offsetof(RpcRespWifiScanGetApNum, number), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_config__field_indices_by_name[] = { - 1, /* field[1] = cfg */ - 0, /* field[0] = iface */ +static const unsigned rpc__resp__wifi_scan_get_ap_num__field_indices_by_name[] = { + 1, /* field[1] = number */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_num__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_config__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_num__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetConfig", - "RpcReqWifiSetConfig", - "RpcReqWifiSetConfig", + "Rpc_Resp_WifiScanGetApNum", + "RpcRespWifiScanGetApNum", + "RpcRespWifiScanGetApNum", "", - sizeof(RpcReqWifiSetConfig), + sizeof(RpcRespWifiScanGetApNum), 2, - rpc__req__wifi_set_config__field_descriptors, - rpc__req__wifi_set_config__field_indices_by_name, - 1, rpc__req__wifi_set_config__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_config__init, + rpc__resp__wifi_scan_get_ap_num__field_descriptors, + rpc__resp__wifi_scan_get_ap_num__field_indices_by_name, + 1, rpc__resp__wifi_scan_get_ap_num__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_num__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_config__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_scan_get_ap_records__field_descriptors[1] = { { - "resp", + "number", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetConfig, resp), + offsetof(RpcReqWifiScanGetApRecords, number), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_config__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_scan_get_ap_records__field_indices_by_name[] = { + 0, /* field[0] = number */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_scan_get_ap_records__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_config__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_records__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetConfig", - "RpcRespWifiSetConfig", - "RpcRespWifiSetConfig", + "Rpc_Req_WifiScanGetApRecords", + "RpcReqWifiScanGetApRecords", + "RpcReqWifiScanGetApRecords", "", - sizeof(RpcRespWifiSetConfig), + sizeof(RpcReqWifiScanGetApRecords), 1, - rpc__resp__wifi_set_config__field_descriptors, - rpc__resp__wifi_set_config__field_indices_by_name, - 1, rpc__resp__wifi_set_config__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_config__init, + rpc__req__wifi_scan_get_ap_records__field_descriptors, + rpc__req__wifi_scan_get_ap_records__field_indices_by_name, + 1, rpc__req__wifi_scan_get_ap_records__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_records__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_config__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_records__field_descriptors[3] = { { - "iface", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetConfig, iface), + offsetof(RpcRespWifiScanGetApRecords, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "number", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiScanGetApRecords, number), + NULL, NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ap_records", + 3, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(RpcRespWifiScanGetApRecords, n_ap_records), + offsetof(RpcRespWifiScanGetApRecords, ap_records), + &wifi_ap_record__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_config__field_indices_by_name[] = { - 0, /* field[0] = iface */ +static const unsigned rpc__resp__wifi_scan_get_ap_records__field_indices_by_name[] = { + 2, /* field[2] = ap_records */ + 1, /* field[1] = number */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_get_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_records__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 3 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_config__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_records__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetConfig", - "RpcReqWifiGetConfig", - "RpcReqWifiGetConfig", + "Rpc_Resp_WifiScanGetApRecords", + "RpcRespWifiScanGetApRecords", + "RpcRespWifiScanGetApRecords", "", - sizeof(RpcReqWifiGetConfig), - 1, - rpc__req__wifi_get_config__field_descriptors, - rpc__req__wifi_get_config__field_indices_by_name, - 1, rpc__req__wifi_get_config__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_config__init, + sizeof(RpcRespWifiScanGetApRecords), + 3, + rpc__resp__wifi_scan_get_ap_records__field_descriptors, + rpc__resp__wifi_scan_get_ap_records__field_indices_by_name, + 1, rpc__resp__wifi_scan_get_ap_records__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_records__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__wifi_scan_get_ap_record__field_descriptors NULL +#define rpc__req__wifi_scan_get_ap_record__field_indices_by_name NULL +#define rpc__req__wifi_scan_get_ap_record__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_record__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiScanGetApRecord", + "RpcReqWifiScanGetApRecord", + "RpcReqWifiScanGetApRecord", + "", + sizeof(RpcReqWifiScanGetApRecord), + 0, + rpc__req__wifi_scan_get_ap_record__field_descriptors, + rpc__req__wifi_scan_get_ap_record__field_indices_by_name, + 0, rpc__req__wifi_scan_get_ap_record__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_record__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_config__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_record__field_descriptors[2] = { { "resp", @@ -13897,81 +15207,124 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_config__field_descript PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetConfig, resp), + offsetof(RpcRespWifiScanGetApRecord, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "iface", + "ap_record", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetConfig, iface), - NULL, + offsetof(RpcRespWifiScanGetApRecord, ap_record), + &wifi_ap_record__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__wifi_scan_get_ap_record__field_indices_by_name[] = { + 1, /* field[1] = ap_record */ + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_record__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_record__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_WifiScanGetApRecord", + "RpcRespWifiScanGetApRecord", + "RpcRespWifiScanGetApRecord", + "", + sizeof(RpcRespWifiScanGetApRecord), + 2, + rpc__resp__wifi_scan_get_ap_record__field_descriptors, + rpc__resp__wifi_scan_get_ap_record__field_indices_by_name, + 1, rpc__resp__wifi_scan_get_ap_record__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_record__init, + NULL,NULL,NULL /* reserved[123] */ +}; +#define rpc__req__wifi_clear_ap_list__field_descriptors NULL +#define rpc__req__wifi_clear_ap_list__field_indices_by_name NULL +#define rpc__req__wifi_clear_ap_list__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_clear_ap_list__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiClearApList", + "RpcReqWifiClearApList", + "RpcReqWifiClearApList", + "", + sizeof(RpcReqWifiClearApList), + 0, + rpc__req__wifi_clear_ap_list__field_descriptors, + rpc__req__wifi_clear_ap_list__field_indices_by_name, + 0, rpc__req__wifi_clear_ap_list__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_clear_ap_list__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_clear_ap_list__field_descriptors[1] = +{ { - "cfg", - 3, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetConfig, cfg), - &wifi_config__descriptor, + offsetof(RpcRespWifiClearApList, resp), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_config__field_indices_by_name[] = { - 2, /* field[2] = cfg */ - 1, /* field[1] = iface */ +static const unsigned rpc__resp__wifi_clear_ap_list__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_clear_ap_list__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_config__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_clear_ap_list__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetConfig", - "RpcRespWifiGetConfig", - "RpcRespWifiGetConfig", + "Rpc_Resp_WifiClearApList", + "RpcRespWifiClearApList", + "RpcRespWifiClearApList", "", - sizeof(RpcRespWifiGetConfig), - 3, - rpc__resp__wifi_get_config__field_descriptors, - rpc__resp__wifi_get_config__field_indices_by_name, - 1, rpc__resp__wifi_get_config__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_config__init, + sizeof(RpcRespWifiClearApList), + 1, + rpc__resp__wifi_clear_ap_list__field_descriptors, + rpc__resp__wifi_clear_ap_list__field_indices_by_name, + 1, rpc__resp__wifi_clear_ap_list__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_clear_ap_list__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_connect__field_descriptors NULL -#define rpc__req__wifi_connect__field_indices_by_name NULL -#define rpc__req__wifi_connect__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_connect__descriptor = +#define rpc__req__wifi_restore__field_descriptors NULL +#define rpc__req__wifi_restore__field_indices_by_name NULL +#define rpc__req__wifi_restore__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_restore__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiConnect", - "RpcReqWifiConnect", - "RpcReqWifiConnect", + "Rpc_Req_WifiRestore", + "RpcReqWifiRestore", + "RpcReqWifiRestore", "", - sizeof(RpcReqWifiConnect), + sizeof(RpcReqWifiRestore), 0, - rpc__req__wifi_connect__field_descriptors, - rpc__req__wifi_connect__field_indices_by_name, - 0, rpc__req__wifi_connect__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_connect__init, + rpc__req__wifi_restore__field_descriptors, + rpc__req__wifi_restore__field_indices_by_name, + 0, rpc__req__wifi_restore__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_restore__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_connect__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_restore__field_descriptors[1] = { { "resp", @@ -13979,55 +15332,55 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_connect__field_descriptors PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiConnect, resp), + offsetof(RpcRespWifiRestore, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_connect__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_restore__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_connect__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_restore__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_connect__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_restore__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiConnect", - "RpcRespWifiConnect", - "RpcRespWifiConnect", + "Rpc_Resp_WifiRestore", + "RpcRespWifiRestore", + "RpcRespWifiRestore", "", - sizeof(RpcRespWifiConnect), + sizeof(RpcRespWifiRestore), 1, - rpc__resp__wifi_connect__field_descriptors, - rpc__resp__wifi_connect__field_indices_by_name, - 1, rpc__resp__wifi_connect__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_connect__init, + rpc__resp__wifi_restore__field_descriptors, + rpc__resp__wifi_restore__field_indices_by_name, + 1, rpc__resp__wifi_restore__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_restore__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_disconnect__field_descriptors NULL -#define rpc__req__wifi_disconnect__field_indices_by_name NULL -#define rpc__req__wifi_disconnect__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_disconnect__descriptor = +#define rpc__req__wifi_clear_fast_connect__field_descriptors NULL +#define rpc__req__wifi_clear_fast_connect__field_indices_by_name NULL +#define rpc__req__wifi_clear_fast_connect__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_clear_fast_connect__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiDisconnect", - "RpcReqWifiDisconnect", - "RpcReqWifiDisconnect", + "Rpc_Req_WifiClearFastConnect", + "RpcReqWifiClearFastConnect", + "RpcReqWifiClearFastConnect", "", - sizeof(RpcReqWifiDisconnect), + sizeof(RpcReqWifiClearFastConnect), 0, - rpc__req__wifi_disconnect__field_descriptors, - rpc__req__wifi_disconnect__field_indices_by_name, - 0, rpc__req__wifi_disconnect__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_disconnect__init, + rpc__req__wifi_clear_fast_connect__field_descriptors, + rpc__req__wifi_clear_fast_connect__field_indices_by_name, + 0, rpc__req__wifi_clear_fast_connect__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_clear_fast_connect__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_disconnect__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_clear_fast_connect__field_descriptors[1] = { { "resp", @@ -14035,55 +15388,75 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_disconnect__field_descript PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiDisconnect, resp), + offsetof(RpcRespWifiClearFastConnect, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_disconnect__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_clear_fast_connect__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_disconnect__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_clear_fast_connect__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_disconnect__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_clear_fast_connect__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiDisconnect", - "RpcRespWifiDisconnect", - "RpcRespWifiDisconnect", + "Rpc_Resp_WifiClearFastConnect", + "RpcRespWifiClearFastConnect", + "RpcRespWifiClearFastConnect", "", - sizeof(RpcRespWifiDisconnect), + sizeof(RpcRespWifiClearFastConnect), 1, - rpc__resp__wifi_disconnect__field_descriptors, - rpc__resp__wifi_disconnect__field_indices_by_name, - 1, rpc__resp__wifi_disconnect__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_disconnect__init, + rpc__resp__wifi_clear_fast_connect__field_descriptors, + rpc__resp__wifi_clear_fast_connect__field_indices_by_name, + 1, rpc__resp__wifi_clear_fast_connect__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_clear_fast_connect__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_start__field_descriptors NULL -#define rpc__req__wifi_start__field_indices_by_name NULL -#define rpc__req__wifi_start__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_start__descriptor = +static const ProtobufCFieldDescriptor rpc__req__wifi_deauth_sta__field_descriptors[1] = +{ + { + "aid", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiDeauthSta, aid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned rpc__req__wifi_deauth_sta__field_indices_by_name[] = { + 0, /* field[0] = aid */ +}; +static const ProtobufCIntRange rpc__req__wifi_deauth_sta__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__req__wifi_deauth_sta__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStart", - "RpcReqWifiStart", - "RpcReqWifiStart", + "Rpc_Req_WifiDeauthSta", + "RpcReqWifiDeauthSta", + "RpcReqWifiDeauthSta", "", - sizeof(RpcReqWifiStart), - 0, - rpc__req__wifi_start__field_descriptors, - rpc__req__wifi_start__field_indices_by_name, - 0, rpc__req__wifi_start__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_start__init, + sizeof(RpcReqWifiDeauthSta), + 1, + rpc__req__wifi_deauth_sta__field_descriptors, + rpc__req__wifi_deauth_sta__field_indices_by_name, + 1, rpc__req__wifi_deauth_sta__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_deauth_sta__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_start__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_deauth_sta__field_descriptors[2] = { { "resp", @@ -14091,55 +15464,68 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_start__field_descriptors[1 PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStart, resp), + offsetof(RpcRespWifiDeauthSta, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "aid", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiDeauthSta, aid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_start__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_deauth_sta__field_indices_by_name[] = { + 1, /* field[1] = aid */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_start__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_deauth_sta__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_start__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_deauth_sta__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStart", - "RpcRespWifiStart", - "RpcRespWifiStart", + "Rpc_Resp_WifiDeauthSta", + "RpcRespWifiDeauthSta", + "RpcRespWifiDeauthSta", "", - sizeof(RpcRespWifiStart), - 1, - rpc__resp__wifi_start__field_descriptors, - rpc__resp__wifi_start__field_indices_by_name, - 1, rpc__resp__wifi_start__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_start__init, + sizeof(RpcRespWifiDeauthSta), + 2, + rpc__resp__wifi_deauth_sta__field_descriptors, + rpc__resp__wifi_deauth_sta__field_indices_by_name, + 1, rpc__resp__wifi_deauth_sta__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_deauth_sta__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_stop__field_descriptors NULL -#define rpc__req__wifi_stop__field_indices_by_name NULL -#define rpc__req__wifi_stop__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_stop__descriptor = +#define rpc__req__wifi_sta_get_ap_info__field_descriptors NULL +#define rpc__req__wifi_sta_get_ap_info__field_indices_by_name NULL +#define rpc__req__wifi_sta_get_ap_info__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_ap_info__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStop", - "RpcReqWifiStop", - "RpcReqWifiStop", + "Rpc_Req_WifiStaGetApInfo", + "RpcReqWifiStaGetApInfo", + "RpcReqWifiStaGetApInfo", "", - sizeof(RpcReqWifiStop), + sizeof(RpcReqWifiStaGetApInfo), 0, - rpc__req__wifi_stop__field_descriptors, - rpc__req__wifi_stop__field_indices_by_name, - 0, rpc__req__wifi_stop__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_stop__init, + rpc__req__wifi_sta_get_ap_info__field_descriptors, + rpc__req__wifi_sta_get_ap_info__field_indices_by_name, + 0, rpc__req__wifi_sta_get_ap_info__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_get_ap_info__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_stop__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_ap_info__field_descriptors[2] = { { "resp", @@ -14147,101 +15533,101 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_stop__field_descriptors[1] PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStop, resp), + offsetof(RpcRespWifiStaGetApInfo, resp), + NULL, NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ap_record", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiStaGetApInfo, ap_record), + &wifi_ap_record__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_stop__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_sta_get_ap_info__field_indices_by_name[] = { + 1, /* field[1] = ap_record */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_stop__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_get_ap_info__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_stop__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_ap_info__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStop", - "RpcRespWifiStop", - "RpcRespWifiStop", + "Rpc_Resp_WifiStaGetApInfo", + "RpcRespWifiStaGetApInfo", + "RpcRespWifiStaGetApInfo", "", - sizeof(RpcRespWifiStop), - 1, - rpc__resp__wifi_stop__field_descriptors, - rpc__resp__wifi_stop__field_indices_by_name, - 1, rpc__resp__wifi_stop__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_stop__init, + sizeof(RpcRespWifiStaGetApInfo), + 2, + rpc__resp__wifi_sta_get_ap_info__field_descriptors, + rpc__resp__wifi_sta_get_ap_info__field_indices_by_name, + 1, rpc__resp__wifi_sta_get_ap_info__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_get_ap_info__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_scan_start__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_protocol__field_descriptors[2] = { { - "config", + "ifx", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcReqWifiScanStart, config), - &wifi_scan_config__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "block", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiScanStart, block), + offsetof(RpcReqWifiSetProtocol, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "config_set", - 3, + "protocol_bitmap", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiScanStart, config_set), + offsetof(RpcReqWifiSetProtocol, protocol_bitmap), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_scan_start__field_indices_by_name[] = { - 1, /* field[1] = block */ - 0, /* field[0] = config */ - 2, /* field[2] = config_set */ +static const unsigned rpc__req__wifi_set_protocol__field_indices_by_name[] = { + 0, /* field[0] = ifx */ + 1, /* field[1] = protocol_bitmap */ }; -static const ProtobufCIntRange rpc__req__wifi_scan_start__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_protocol__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_scan_start__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_protocol__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiScanStart", - "RpcReqWifiScanStart", - "RpcReqWifiScanStart", + "Rpc_Req_WifiSetProtocol", + "RpcReqWifiSetProtocol", + "RpcReqWifiSetProtocol", "", - sizeof(RpcReqWifiScanStart), - 3, - rpc__req__wifi_scan_start__field_descriptors, - rpc__req__wifi_scan_start__field_indices_by_name, - 1, rpc__req__wifi_scan_start__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_scan_start__init, + sizeof(RpcReqWifiSetProtocol), + 2, + rpc__req__wifi_set_protocol__field_descriptors, + rpc__req__wifi_set_protocol__field_indices_by_name, + 1, rpc__req__wifi_set_protocol__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_protocol__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_start__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_protocol__field_descriptors[1] = { { "resp", @@ -14249,351 +15635,355 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_start__field_descript PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanStart, resp), + offsetof(RpcRespWifiSetProtocol, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_scan_start__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_set_protocol__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_scan_start__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_protocol__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_scan_start__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_protocol__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiScanStart", - "RpcRespWifiScanStart", - "RpcRespWifiScanStart", + "Rpc_Resp_WifiSetProtocol", + "RpcRespWifiSetProtocol", + "RpcRespWifiSetProtocol", "", - sizeof(RpcRespWifiScanStart), + sizeof(RpcRespWifiSetProtocol), 1, - rpc__resp__wifi_scan_start__field_descriptors, - rpc__resp__wifi_scan_start__field_indices_by_name, - 1, rpc__resp__wifi_scan_start__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_scan_start__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_scan_stop__field_descriptors NULL -#define rpc__req__wifi_scan_stop__field_indices_by_name NULL -#define rpc__req__wifi_scan_stop__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_scan_stop__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiScanStop", - "RpcReqWifiScanStop", - "RpcReqWifiScanStop", - "", - sizeof(RpcReqWifiScanStop), - 0, - rpc__req__wifi_scan_stop__field_descriptors, - rpc__req__wifi_scan_stop__field_indices_by_name, - 0, rpc__req__wifi_scan_stop__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_scan_stop__init, + rpc__resp__wifi_set_protocol__field_descriptors, + rpc__resp__wifi_set_protocol__field_indices_by_name, + 1, rpc__resp__wifi_set_protocol__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_protocol__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_stop__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_get_protocol__field_descriptors[1] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanStop, resp), + offsetof(RpcReqWifiGetProtocol, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_scan_stop__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_get_protocol__field_indices_by_name[] = { + 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__resp__wifi_scan_stop__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_get_protocol__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_scan_stop__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_get_protocol__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiScanStop", - "RpcRespWifiScanStop", - "RpcRespWifiScanStop", + "Rpc_Req_WifiGetProtocol", + "RpcReqWifiGetProtocol", + "RpcReqWifiGetProtocol", "", - sizeof(RpcRespWifiScanStop), + sizeof(RpcReqWifiGetProtocol), 1, - rpc__resp__wifi_scan_stop__field_descriptors, - rpc__resp__wifi_scan_stop__field_indices_by_name, - 1, rpc__resp__wifi_scan_stop__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_scan_stop__init, + rpc__req__wifi_get_protocol__field_descriptors, + rpc__req__wifi_get_protocol__field_indices_by_name, + 1, rpc__req__wifi_get_protocol__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_protocol__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_scan_get_ap_num__field_descriptors NULL -#define rpc__req__wifi_scan_get_ap_num__field_indices_by_name NULL -#define rpc__req__wifi_scan_get_ap_num__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_num__descriptor = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocol__field_descriptors[2] = +{ + { + "resp", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetProtocol, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "protocol_bitmap", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetProtocol, protocol_bitmap), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned rpc__resp__wifi_get_protocol__field_indices_by_name[] = { + 1, /* field[1] = protocol_bitmap */ + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__wifi_get_protocol__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor rpc__resp__wifi_get_protocol__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiScanGetApNum", - "RpcReqWifiScanGetApNum", - "RpcReqWifiScanGetApNum", + "Rpc_Resp_WifiGetProtocol", + "RpcRespWifiGetProtocol", + "RpcRespWifiGetProtocol", "", - sizeof(RpcReqWifiScanGetApNum), - 0, - rpc__req__wifi_scan_get_ap_num__field_descriptors, - rpc__req__wifi_scan_get_ap_num__field_indices_by_name, - 0, rpc__req__wifi_scan_get_ap_num__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_num__init, + sizeof(RpcRespWifiGetProtocol), + 2, + rpc__resp__wifi_get_protocol__field_descriptors, + rpc__resp__wifi_get_protocol__field_indices_by_name, + 1, rpc__resp__wifi_get_protocol__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_protocol__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_num__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_bandwidth__field_descriptors[2] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApNum, resp), + offsetof(RpcReqWifiSetBandwidth, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "number", + "bw", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApNum, number), + offsetof(RpcReqWifiSetBandwidth, bw), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_scan_get_ap_num__field_indices_by_name[] = { - 1, /* field[1] = number */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_bandwidth__field_indices_by_name[] = { + 1, /* field[1] = bw */ + 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_num__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_bandwidth__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_num__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_bandwidth__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiScanGetApNum", - "RpcRespWifiScanGetApNum", - "RpcRespWifiScanGetApNum", + "Rpc_Req_WifiSetBandwidth", + "RpcReqWifiSetBandwidth", + "RpcReqWifiSetBandwidth", "", - sizeof(RpcRespWifiScanGetApNum), + sizeof(RpcReqWifiSetBandwidth), 2, - rpc__resp__wifi_scan_get_ap_num__field_descriptors, - rpc__resp__wifi_scan_get_ap_num__field_indices_by_name, - 1, rpc__resp__wifi_scan_get_ap_num__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_num__init, + rpc__req__wifi_set_bandwidth__field_descriptors, + rpc__req__wifi_set_bandwidth__field_indices_by_name, + 1, rpc__req__wifi_set_bandwidth__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_bandwidth__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_scan_get_ap_records__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_bandwidth__field_descriptors[1] = { { - "number", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiScanGetApRecords, number), + offsetof(RpcRespWifiSetBandwidth, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_scan_get_ap_records__field_indices_by_name[] = { - 0, /* field[0] = number */ +static const unsigned rpc__resp__wifi_set_bandwidth__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_scan_get_ap_records__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_bandwidth__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_records__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_bandwidth__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiScanGetApRecords", - "RpcReqWifiScanGetApRecords", - "RpcReqWifiScanGetApRecords", + "Rpc_Resp_WifiSetBandwidth", + "RpcRespWifiSetBandwidth", + "RpcRespWifiSetBandwidth", "", - sizeof(RpcReqWifiScanGetApRecords), + sizeof(RpcRespWifiSetBandwidth), 1, - rpc__req__wifi_scan_get_ap_records__field_descriptors, - rpc__req__wifi_scan_get_ap_records__field_indices_by_name, - 1, rpc__req__wifi_scan_get_ap_records__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_records__init, + rpc__resp__wifi_set_bandwidth__field_descriptors, + rpc__resp__wifi_set_bandwidth__field_indices_by_name, + 1, rpc__resp__wifi_set_bandwidth__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_bandwidth__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_records__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__req__wifi_get_bandwidth__field_descriptors[1] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApRecords, resp), + offsetof(RpcReqWifiGetBandwidth, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__req__wifi_get_bandwidth__field_indices_by_name[] = { + 0, /* field[0] = ifx */ +}; +static const ProtobufCIntRange rpc__req__wifi_get_bandwidth__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__req__wifi_get_bandwidth__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiGetBandwidth", + "RpcReqWifiGetBandwidth", + "RpcReqWifiGetBandwidth", + "", + sizeof(RpcReqWifiGetBandwidth), + 1, + rpc__req__wifi_get_bandwidth__field_descriptors, + rpc__req__wifi_get_bandwidth__field_indices_by_name, + 1, rpc__req__wifi_get_bandwidth__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_bandwidth__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidth__field_descriptors[2] = +{ { - "number", - 2, + "resp", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApRecords, number), + offsetof(RpcRespWifiGetBandwidth, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ap_records", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(RpcRespWifiScanGetApRecords, n_ap_records), - offsetof(RpcRespWifiScanGetApRecords, ap_records), - &wifi_ap_record__descriptor, + "bw", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetBandwidth, bw), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_scan_get_ap_records__field_indices_by_name[] = { - 2, /* field[2] = ap_records */ - 1, /* field[1] = number */ +static const unsigned rpc__resp__wifi_get_bandwidth__field_indices_by_name[] = { + 1, /* field[1] = bw */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_records__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_bandwidth__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_records__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiScanGetApRecords", - "RpcRespWifiScanGetApRecords", - "RpcRespWifiScanGetApRecords", - "", - sizeof(RpcRespWifiScanGetApRecords), - 3, - rpc__resp__wifi_scan_get_ap_records__field_descriptors, - rpc__resp__wifi_scan_get_ap_records__field_indices_by_name, - 1, rpc__resp__wifi_scan_get_ap_records__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_records__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 2 } }; -#define rpc__req__wifi_scan_get_ap_record__field_descriptors NULL -#define rpc__req__wifi_scan_get_ap_record__field_indices_by_name NULL -#define rpc__req__wifi_scan_get_ap_record__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_scan_get_ap_record__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_bandwidth__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiScanGetApRecord", - "RpcReqWifiScanGetApRecord", - "RpcReqWifiScanGetApRecord", + "Rpc_Resp_WifiGetBandwidth", + "RpcRespWifiGetBandwidth", + "RpcRespWifiGetBandwidth", "", - sizeof(RpcReqWifiScanGetApRecord), - 0, - rpc__req__wifi_scan_get_ap_record__field_descriptors, - rpc__req__wifi_scan_get_ap_record__field_indices_by_name, - 0, rpc__req__wifi_scan_get_ap_record__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_scan_get_ap_record__init, + sizeof(RpcRespWifiGetBandwidth), + 2, + rpc__resp__wifi_get_bandwidth__field_descriptors, + rpc__resp__wifi_get_bandwidth__field_indices_by_name, + 1, rpc__resp__wifi_get_bandwidth__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_bandwidth__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_scan_get_ap_record__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_channel__field_descriptors[2] = { { - "resp", + "primary", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApRecord, resp), + offsetof(RpcReqWifiSetChannel, primary), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ap_record", + "second", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiScanGetApRecord, ap_record), - &wifi_ap_record__descriptor, + offsetof(RpcReqWifiSetChannel, second), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_scan_get_ap_record__field_indices_by_name[] = { - 1, /* field[1] = ap_record */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_channel__field_indices_by_name[] = { + 0, /* field[0] = primary */ + 1, /* field[1] = second */ }; -static const ProtobufCIntRange rpc__resp__wifi_scan_get_ap_record__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_channel__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_scan_get_ap_record__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_channel__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiScanGetApRecord", - "RpcRespWifiScanGetApRecord", - "RpcRespWifiScanGetApRecord", + "Rpc_Req_WifiSetChannel", + "RpcReqWifiSetChannel", + "RpcReqWifiSetChannel", "", - sizeof(RpcRespWifiScanGetApRecord), + sizeof(RpcReqWifiSetChannel), 2, - rpc__resp__wifi_scan_get_ap_record__field_descriptors, - rpc__resp__wifi_scan_get_ap_record__field_indices_by_name, - 1, rpc__resp__wifi_scan_get_ap_record__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_scan_get_ap_record__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_clear_ap_list__field_descriptors NULL -#define rpc__req__wifi_clear_ap_list__field_indices_by_name NULL -#define rpc__req__wifi_clear_ap_list__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_clear_ap_list__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiClearApList", - "RpcReqWifiClearApList", - "RpcReqWifiClearApList", - "", - sizeof(RpcReqWifiClearApList), - 0, - rpc__req__wifi_clear_ap_list__field_descriptors, - rpc__req__wifi_clear_ap_list__field_indices_by_name, - 0, rpc__req__wifi_clear_ap_list__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_clear_ap_list__init, + rpc__req__wifi_set_channel__field_descriptors, + rpc__req__wifi_set_channel__field_indices_by_name, + 1, rpc__req__wifi_set_channel__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_channel__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_clear_ap_list__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_channel__field_descriptors[1] = { { "resp", @@ -14601,55 +15991,55 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_clear_ap_list__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiClearApList, resp), + offsetof(RpcRespWifiSetChannel, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_clear_ap_list__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_set_channel__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_clear_ap_list__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_channel__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_clear_ap_list__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_channel__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiClearApList", - "RpcRespWifiClearApList", - "RpcRespWifiClearApList", + "Rpc_Resp_WifiSetChannel", + "RpcRespWifiSetChannel", + "RpcRespWifiSetChannel", "", - sizeof(RpcRespWifiClearApList), + sizeof(RpcRespWifiSetChannel), 1, - rpc__resp__wifi_clear_ap_list__field_descriptors, - rpc__resp__wifi_clear_ap_list__field_indices_by_name, - 1, rpc__resp__wifi_clear_ap_list__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_clear_ap_list__init, + rpc__resp__wifi_set_channel__field_descriptors, + rpc__resp__wifi_set_channel__field_indices_by_name, + 1, rpc__resp__wifi_set_channel__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_channel__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_restore__field_descriptors NULL -#define rpc__req__wifi_restore__field_indices_by_name NULL -#define rpc__req__wifi_restore__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_restore__descriptor = +#define rpc__req__wifi_get_channel__field_descriptors NULL +#define rpc__req__wifi_get_channel__field_indices_by_name NULL +#define rpc__req__wifi_get_channel__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_channel__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiRestore", - "RpcReqWifiRestore", - "RpcReqWifiRestore", + "Rpc_Req_WifiGetChannel", + "RpcReqWifiGetChannel", + "RpcReqWifiGetChannel", "", - sizeof(RpcReqWifiRestore), + sizeof(RpcReqWifiGetChannel), 0, - rpc__req__wifi_restore__field_descriptors, - rpc__req__wifi_restore__field_indices_by_name, - 0, rpc__req__wifi_restore__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_restore__init, + rpc__req__wifi_get_channel__field_descriptors, + rpc__req__wifi_get_channel__field_indices_by_name, + 0, rpc__req__wifi_get_channel__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_channel__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_restore__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_channel__field_descriptors[3] = { { "resp", @@ -14657,200 +16047,190 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_restore__field_descriptors PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiRestore, resp), + offsetof(RpcRespWifiGetChannel, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "primary", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetChannel, primary), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "second", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetChannel, second), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_restore__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_get_channel__field_indices_by_name[] = { + 1, /* field[1] = primary */ 0, /* field[0] = resp */ + 2, /* field[2] = second */ }; -static const ProtobufCIntRange rpc__resp__wifi_restore__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_channel__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_restore__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiRestore", - "RpcRespWifiRestore", - "RpcRespWifiRestore", - "", - sizeof(RpcRespWifiRestore), - 1, - rpc__resp__wifi_restore__field_descriptors, - rpc__resp__wifi_restore__field_indices_by_name, - 1, rpc__resp__wifi_restore__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_restore__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 3 } }; -#define rpc__req__wifi_clear_fast_connect__field_descriptors NULL -#define rpc__req__wifi_clear_fast_connect__field_indices_by_name NULL -#define rpc__req__wifi_clear_fast_connect__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_clear_fast_connect__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_channel__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiClearFastConnect", - "RpcReqWifiClearFastConnect", - "RpcReqWifiClearFastConnect", + "Rpc_Resp_WifiGetChannel", + "RpcRespWifiGetChannel", + "RpcRespWifiGetChannel", "", - sizeof(RpcReqWifiClearFastConnect), - 0, - rpc__req__wifi_clear_fast_connect__field_descriptors, - rpc__req__wifi_clear_fast_connect__field_indices_by_name, - 0, rpc__req__wifi_clear_fast_connect__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_clear_fast_connect__init, + sizeof(RpcRespWifiGetChannel), + 3, + rpc__resp__wifi_get_channel__field_descriptors, + rpc__resp__wifi_get_channel__field_indices_by_name, + 1, rpc__resp__wifi_get_channel__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_channel__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_clear_fast_connect__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_storage__field_descriptors[1] = { { - "resp", + "storage", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiClearFastConnect, resp), + offsetof(RpcReqWifiSetStorage, storage), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_clear_fast_connect__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_storage__field_indices_by_name[] = { + 0, /* field[0] = storage */ }; -static const ProtobufCIntRange rpc__resp__wifi_clear_fast_connect__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_storage__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_clear_fast_connect__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_storage__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiClearFastConnect", - "RpcRespWifiClearFastConnect", - "RpcRespWifiClearFastConnect", + "Rpc_Req_WifiSetStorage", + "RpcReqWifiSetStorage", + "RpcReqWifiSetStorage", "", - sizeof(RpcRespWifiClearFastConnect), + sizeof(RpcReqWifiSetStorage), 1, - rpc__resp__wifi_clear_fast_connect__field_descriptors, - rpc__resp__wifi_clear_fast_connect__field_indices_by_name, - 1, rpc__resp__wifi_clear_fast_connect__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_clear_fast_connect__init, + rpc__req__wifi_set_storage__field_descriptors, + rpc__req__wifi_set_storage__field_indices_by_name, + 1, rpc__req__wifi_set_storage__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_storage__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_deauth_sta__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_storage__field_descriptors[1] = { { - "aid", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiDeauthSta, aid), + offsetof(RpcRespWifiSetStorage, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_deauth_sta__field_indices_by_name[] = { - 0, /* field[0] = aid */ +static const unsigned rpc__resp__wifi_set_storage__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_deauth_sta__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_storage__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_deauth_sta__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_storage__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiDeauthSta", - "RpcReqWifiDeauthSta", - "RpcReqWifiDeauthSta", + "Rpc_Resp_WifiSetStorage", + "RpcRespWifiSetStorage", + "RpcRespWifiSetStorage", "", - sizeof(RpcReqWifiDeauthSta), + sizeof(RpcRespWifiSetStorage), 1, - rpc__req__wifi_deauth_sta__field_descriptors, - rpc__req__wifi_deauth_sta__field_indices_by_name, - 1, rpc__req__wifi_deauth_sta__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_deauth_sta__init, + rpc__resp__wifi_set_storage__field_descriptors, + rpc__resp__wifi_set_storage__field_indices_by_name, + 1, rpc__resp__wifi_set_storage__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_storage__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_deauth_sta__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_country_code__field_descriptors[2] = { { - "resp", + "country", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcRespWifiDeauthSta, resp), + offsetof(RpcReqWifiSetCountryCode, country), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "aid", + "ieee80211d_enabled", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcRespWifiDeauthSta, aid), + offsetof(RpcReqWifiSetCountryCode, ieee80211d_enabled), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_deauth_sta__field_indices_by_name[] = { - 1, /* field[1] = aid */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_country_code__field_indices_by_name[] = { + 0, /* field[0] = country */ + 1, /* field[1] = ieee80211d_enabled */ }; -static const ProtobufCIntRange rpc__resp__wifi_deauth_sta__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_country_code__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_deauth_sta__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_country_code__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiDeauthSta", - "RpcRespWifiDeauthSta", - "RpcRespWifiDeauthSta", + "Rpc_Req_WifiSetCountryCode", + "RpcReqWifiSetCountryCode", + "RpcReqWifiSetCountryCode", "", - sizeof(RpcRespWifiDeauthSta), + sizeof(RpcReqWifiSetCountryCode), 2, - rpc__resp__wifi_deauth_sta__field_descriptors, - rpc__resp__wifi_deauth_sta__field_indices_by_name, - 1, rpc__resp__wifi_deauth_sta__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_deauth_sta__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_sta_get_ap_info__field_descriptors NULL -#define rpc__req__wifi_sta_get_ap_info__field_indices_by_name NULL -#define rpc__req__wifi_sta_get_ap_info__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_ap_info__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaGetApInfo", - "RpcReqWifiStaGetApInfo", - "RpcReqWifiStaGetApInfo", - "", - sizeof(RpcReqWifiStaGetApInfo), - 0, - rpc__req__wifi_sta_get_ap_info__field_descriptors, - rpc__req__wifi_sta_get_ap_info__field_indices_by_name, - 0, rpc__req__wifi_sta_get_ap_info__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_get_ap_info__init, + rpc__req__wifi_set_country_code__field_descriptors, + rpc__req__wifi_set_country_code__field_indices_by_name, + 1, rpc__req__wifi_set_country_code__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_country_code__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_ap_info__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_country_code__field_descriptors[1] = { { "resp", @@ -14858,177 +16238,200 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_ap_info__field_des PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetApInfo, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ap_record", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetApInfo, ap_record), - &wifi_ap_record__descriptor, + offsetof(RpcRespWifiSetCountryCode, resp), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_get_ap_info__field_indices_by_name[] = { - 1, /* field[1] = ap_record */ +static const unsigned rpc__resp__wifi_set_country_code__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_get_ap_info__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_country_code__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_ap_info__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_country_code__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaGetApInfo", - "RpcRespWifiStaGetApInfo", - "RpcRespWifiStaGetApInfo", + "Rpc_Resp_WifiSetCountryCode", + "RpcRespWifiSetCountryCode", + "RpcRespWifiSetCountryCode", "", - sizeof(RpcRespWifiStaGetApInfo), - 2, - rpc__resp__wifi_sta_get_ap_info__field_descriptors, - rpc__resp__wifi_sta_get_ap_info__field_indices_by_name, - 1, rpc__resp__wifi_sta_get_ap_info__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_get_ap_info__init, + sizeof(RpcRespWifiSetCountryCode), + 1, + rpc__resp__wifi_set_country_code__field_descriptors, + rpc__resp__wifi_set_country_code__field_indices_by_name, + 1, rpc__resp__wifi_set_country_code__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_country_code__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_protocol__field_descriptors[2] = +#define rpc__req__wifi_get_country_code__field_descriptors NULL +#define rpc__req__wifi_get_country_code__field_indices_by_name NULL +#define rpc__req__wifi_get_country_code__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_country_code__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiGetCountryCode", + "RpcReqWifiGetCountryCode", + "RpcReqWifiGetCountryCode", + "", + sizeof(RpcReqWifiGetCountryCode), + 0, + rpc__req__wifi_get_country_code__field_descriptors, + rpc__req__wifi_get_country_code__field_indices_by_name, + 0, rpc__req__wifi_get_country_code__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_country_code__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_country_code__field_descriptors[2] = { { - "ifx", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetProtocol, ifx), + offsetof(RpcRespWifiGetCountryCode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "protocol_bitmap", + "country", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetProtocol, protocol_bitmap), + offsetof(RpcRespWifiGetCountryCode, country), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_protocol__field_indices_by_name[] = { - 0, /* field[0] = ifx */ - 1, /* field[1] = protocol_bitmap */ +static const unsigned rpc__resp__wifi_get_country_code__field_indices_by_name[] = { + 1, /* field[1] = country */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_protocol__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_country_code__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_protocol__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_country_code__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetProtocol", - "RpcReqWifiSetProtocol", - "RpcReqWifiSetProtocol", + "Rpc_Resp_WifiGetCountryCode", + "RpcRespWifiGetCountryCode", + "RpcRespWifiGetCountryCode", "", - sizeof(RpcReqWifiSetProtocol), + sizeof(RpcRespWifiGetCountryCode), 2, - rpc__req__wifi_set_protocol__field_descriptors, - rpc__req__wifi_set_protocol__field_indices_by_name, - 1, rpc__req__wifi_set_protocol__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_protocol__init, + rpc__resp__wifi_get_country_code__field_descriptors, + rpc__resp__wifi_get_country_code__field_indices_by_name, + 1, rpc__resp__wifi_get_country_code__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_country_code__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_protocol__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_country__field_descriptors[1] = { { - "resp", + "country", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetProtocol, resp), - NULL, + offsetof(RpcReqWifiSetCountry, country), + &wifi_country__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_protocol__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_country__field_indices_by_name[] = { + 0, /* field[0] = country */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_protocol__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_country__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_protocol__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_country__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetProtocol", - "RpcRespWifiSetProtocol", - "RpcRespWifiSetProtocol", + "Rpc_Req_WifiSetCountry", + "RpcReqWifiSetCountry", + "RpcReqWifiSetCountry", "", - sizeof(RpcRespWifiSetProtocol), + sizeof(RpcReqWifiSetCountry), 1, - rpc__resp__wifi_set_protocol__field_descriptors, - rpc__resp__wifi_set_protocol__field_indices_by_name, - 1, rpc__resp__wifi_set_protocol__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_protocol__init, + rpc__req__wifi_set_country__field_descriptors, + rpc__req__wifi_set_country__field_indices_by_name, + 1, rpc__req__wifi_set_country__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_country__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_protocol__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_country__field_descriptors[1] = { { - "ifx", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetProtocol, ifx), + offsetof(RpcRespWifiSetCountry, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_protocol__field_indices_by_name[] = { - 0, /* field[0] = ifx */ +static const unsigned rpc__resp__wifi_set_country__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_get_protocol__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_country__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_protocol__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_country__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetProtocol", - "RpcReqWifiGetProtocol", - "RpcReqWifiGetProtocol", + "Rpc_Resp_WifiSetCountry", + "RpcRespWifiSetCountry", + "RpcRespWifiSetCountry", "", - sizeof(RpcReqWifiGetProtocol), + sizeof(RpcRespWifiSetCountry), 1, - rpc__req__wifi_get_protocol__field_descriptors, - rpc__req__wifi_get_protocol__field_indices_by_name, - 1, rpc__req__wifi_get_protocol__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_protocol__init, + rpc__resp__wifi_set_country__field_descriptors, + rpc__resp__wifi_set_country__field_indices_by_name, + 1, rpc__resp__wifi_set_country__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_country__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocol__field_descriptors[2] = +#define rpc__req__wifi_get_country__field_descriptors NULL +#define rpc__req__wifi_get_country__field_indices_by_name NULL +#define rpc__req__wifi_get_country__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_country__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiGetCountry", + "RpcReqWifiGetCountry", + "RpcReqWifiGetCountry", + "", + sizeof(RpcReqWifiGetCountry), + 0, + rpc__req__wifi_get_country__field_descriptors, + rpc__req__wifi_get_country__field_indices_by_name, + 0, rpc__req__wifi_get_country__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_country__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_country__field_descriptors[2] = { { "resp", @@ -15036,101 +16439,68 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocol__field_descri PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetProtocol, resp), + offsetof(RpcRespWifiGetCountry, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "protocol_bitmap", + "country", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetProtocol, protocol_bitmap), - NULL, + offsetof(RpcRespWifiGetCountry, country), + &wifi_country__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_protocol__field_indices_by_name[] = { - 1, /* field[1] = protocol_bitmap */ +static const unsigned rpc__resp__wifi_get_country__field_indices_by_name[] = { + 1, /* field[1] = country */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_protocol__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_country__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_protocol__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_country__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetProtocol", - "RpcRespWifiGetProtocol", - "RpcRespWifiGetProtocol", + "Rpc_Resp_WifiGetCountry", + "RpcRespWifiGetCountry", + "RpcRespWifiGetCountry", "", - sizeof(RpcRespWifiGetProtocol), + sizeof(RpcRespWifiGetCountry), 2, - rpc__resp__wifi_get_protocol__field_descriptors, - rpc__resp__wifi_get_protocol__field_indices_by_name, - 1, rpc__resp__wifi_get_protocol__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_protocol__init, + rpc__resp__wifi_get_country__field_descriptors, + rpc__resp__wifi_get_country__field_indices_by_name, + 1, rpc__resp__wifi_get_country__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_country__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_bandwidth__field_descriptors[2] = -{ - { - "ifx", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBandwidth, ifx), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bw", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBandwidth, bw), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned rpc__req__wifi_set_bandwidth__field_indices_by_name[] = { - 1, /* field[1] = bw */ - 0, /* field[0] = ifx */ -}; -static const ProtobufCIntRange rpc__req__wifi_set_bandwidth__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__req__wifi_set_bandwidth__descriptor = +#define rpc__req__wifi_ap_get_sta_list__field_descriptors NULL +#define rpc__req__wifi_ap_get_sta_list__field_indices_by_name NULL +#define rpc__req__wifi_ap_get_sta_list__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_ap_get_sta_list__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetBandwidth", - "RpcReqWifiSetBandwidth", - "RpcReqWifiSetBandwidth", - "", - sizeof(RpcReqWifiSetBandwidth), - 2, - rpc__req__wifi_set_bandwidth__field_descriptors, - rpc__req__wifi_set_bandwidth__field_indices_by_name, - 1, rpc__req__wifi_set_bandwidth__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_bandwidth__init, + "Rpc_Req_WifiApGetStaList", + "RpcReqWifiApGetStaList", + "RpcReqWifiApGetStaList", + "", + sizeof(RpcReqWifiApGetStaList), + 0, + rpc__req__wifi_ap_get_sta_list__field_descriptors, + rpc__req__wifi_ap_get_sta_list__field_indices_by_name, + 0, rpc__req__wifi_ap_get_sta_list__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_ap_get_sta_list__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_bandwidth__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_ap_get_sta_list__field_descriptors[2] = { { "resp", @@ -15138,75 +16508,106 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_bandwidth__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetBandwidth, resp), + offsetof(RpcRespWifiApGetStaList, resp), + NULL, NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sta_list", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiApGetStaList, sta_list), + &wifi_sta_list__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_bandwidth__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_ap_get_sta_list__field_indices_by_name[] = { 0, /* field[0] = resp */ + 1, /* field[1] = sta_list */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_bandwidth__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_ap_get_sta_list__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_bandwidth__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_ap_get_sta_list__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetBandwidth", - "RpcRespWifiSetBandwidth", - "RpcRespWifiSetBandwidth", + "Rpc_Resp_WifiApGetStaList", + "RpcRespWifiApGetStaList", + "RpcRespWifiApGetStaList", "", - sizeof(RpcRespWifiSetBandwidth), - 1, - rpc__resp__wifi_set_bandwidth__field_descriptors, - rpc__resp__wifi_set_bandwidth__field_indices_by_name, - 1, rpc__resp__wifi_set_bandwidth__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_bandwidth__init, + sizeof(RpcRespWifiApGetStaList), + 2, + rpc__resp__wifi_ap_get_sta_list__field_descriptors, + rpc__resp__wifi_ap_get_sta_list__field_indices_by_name, + 1, rpc__resp__wifi_ap_get_sta_list__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_ap_get_sta_list__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_bandwidth__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_ap_get_sta_aid__field_descriptors[1] = { { - "ifx", + "mac", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetBandwidth, ifx), + offsetof(RpcReqWifiApGetStaAid, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_bandwidth__field_indices_by_name[] = { - 0, /* field[0] = ifx */ +static const unsigned rpc__req__wifi_ap_get_sta_aid__field_indices_by_name[] = { + 0, /* field[0] = mac */ }; -static const ProtobufCIntRange rpc__req__wifi_get_bandwidth__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_ap_get_sta_aid__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_bandwidth__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_ap_get_sta_aid__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetBandwidth", - "RpcReqWifiGetBandwidth", - "RpcReqWifiGetBandwidth", + "Rpc_Req_WifiApGetStaAid", + "RpcReqWifiApGetStaAid", + "RpcReqWifiApGetStaAid", "", - sizeof(RpcReqWifiGetBandwidth), + sizeof(RpcReqWifiApGetStaAid), 1, - rpc__req__wifi_get_bandwidth__field_descriptors, - rpc__req__wifi_get_bandwidth__field_indices_by_name, - 1, rpc__req__wifi_get_bandwidth__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_bandwidth__init, + rpc__req__wifi_ap_get_sta_aid__field_descriptors, + rpc__req__wifi_ap_get_sta_aid__field_indices_by_name, + 1, rpc__req__wifi_ap_get_sta_aid__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_ap_get_sta_aid__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidth__field_descriptors[2] = +#define rpc__req__wifi_sta_get_negotiated_phymode__field_descriptors NULL +#define rpc__req__wifi_sta_get_negotiated_phymode__field_indices_by_name NULL +#define rpc__req__wifi_sta_get_negotiated_phymode__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_negotiated_phymode__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStaGetNegotiatedPhymode", + "RpcReqWifiStaGetNegotiatedPhymode", + "RpcReqWifiStaGetNegotiatedPhymode", + "", + sizeof(RpcReqWifiStaGetNegotiatedPhymode), + 0, + rpc__req__wifi_sta_get_negotiated_phymode__field_descriptors, + rpc__req__wifi_sta_get_negotiated_phymode__field_indices_by_name, + 0, rpc__req__wifi_sta_get_negotiated_phymode__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_get_negotiated_phymode__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_negotiated_phymode__field_descriptors[2] = { { "resp", @@ -15214,101 +16615,119 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidth__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandwidth, resp), + offsetof(RpcRespWifiStaGetNegotiatedPhymode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "bw", + "phymode", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandwidth, bw), + offsetof(RpcRespWifiStaGetNegotiatedPhymode, phymode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_bandwidth__field_indices_by_name[] = { - 1, /* field[1] = bw */ +static const unsigned rpc__resp__wifi_sta_get_negotiated_phymode__field_indices_by_name[] = { + 1, /* field[1] = phymode */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_bandwidth__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_get_negotiated_phymode__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_bandwidth__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_negotiated_phymode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetBandwidth", - "RpcRespWifiGetBandwidth", - "RpcRespWifiGetBandwidth", + "Rpc_Resp_WifiStaGetNegotiatedPhymode", + "RpcRespWifiStaGetNegotiatedPhymode", + "RpcRespWifiStaGetNegotiatedPhymode", "", - sizeof(RpcRespWifiGetBandwidth), + sizeof(RpcRespWifiStaGetNegotiatedPhymode), 2, - rpc__resp__wifi_get_bandwidth__field_descriptors, - rpc__resp__wifi_get_bandwidth__field_indices_by_name, - 1, rpc__resp__wifi_get_bandwidth__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_bandwidth__init, + rpc__resp__wifi_sta_get_negotiated_phymode__field_descriptors, + rpc__resp__wifi_sta_get_negotiated_phymode__field_indices_by_name, + 1, rpc__resp__wifi_sta_get_negotiated_phymode__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_get_negotiated_phymode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_channel__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_ap_get_sta_aid__field_descriptors[2] = { { - "primary", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetChannel, primary), + offsetof(RpcRespWifiApGetStaAid, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "second", + "aid", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetChannel, second), + offsetof(RpcRespWifiApGetStaAid, aid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_channel__field_indices_by_name[] = { - 0, /* field[0] = primary */ - 1, /* field[1] = second */ +static const unsigned rpc__resp__wifi_ap_get_sta_aid__field_indices_by_name[] = { + 1, /* field[1] = aid */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_channel__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_ap_get_sta_aid__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_channel__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_ap_get_sta_aid__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetChannel", - "RpcReqWifiSetChannel", - "RpcReqWifiSetChannel", + "Rpc_Resp_WifiApGetStaAid", + "RpcRespWifiApGetStaAid", + "RpcRespWifiApGetStaAid", "", - sizeof(RpcReqWifiSetChannel), + sizeof(RpcRespWifiApGetStaAid), 2, - rpc__req__wifi_set_channel__field_descriptors, - rpc__req__wifi_set_channel__field_indices_by_name, - 1, rpc__req__wifi_set_channel__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_channel__init, + rpc__resp__wifi_ap_get_sta_aid__field_descriptors, + rpc__resp__wifi_ap_get_sta_aid__field_indices_by_name, + 1, rpc__resp__wifi_ap_get_sta_aid__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_ap_get_sta_aid__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_channel__field_descriptors[1] = +#define rpc__req__wifi_sta_get_rssi__field_descriptors NULL +#define rpc__req__wifi_sta_get_rssi__field_indices_by_name NULL +#define rpc__req__wifi_sta_get_rssi__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_rssi__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStaGetRssi", + "RpcReqWifiStaGetRssi", + "RpcReqWifiStaGetRssi", + "", + sizeof(RpcReqWifiStaGetRssi), + 0, + rpc__req__wifi_sta_get_rssi__field_descriptors, + rpc__req__wifi_sta_get_rssi__field_indices_by_name, + 0, rpc__req__wifi_sta_get_rssi__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_get_rssi__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_rssi__field_descriptors[2] = { { "resp", @@ -15316,55 +16735,68 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_channel__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetChannel, resp), + offsetof(RpcRespWifiStaGetRssi, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "rssi", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiStaGetRssi, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_channel__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_sta_get_rssi__field_indices_by_name[] = { 0, /* field[0] = resp */ + 1, /* field[1] = rssi */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_channel__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_get_rssi__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_channel__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_rssi__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetChannel", - "RpcRespWifiSetChannel", - "RpcRespWifiSetChannel", + "Rpc_Resp_WifiStaGetRssi", + "RpcRespWifiStaGetRssi", + "RpcRespWifiStaGetRssi", "", - sizeof(RpcRespWifiSetChannel), - 1, - rpc__resp__wifi_set_channel__field_descriptors, - rpc__resp__wifi_set_channel__field_indices_by_name, - 1, rpc__resp__wifi_set_channel__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_channel__init, + sizeof(RpcRespWifiStaGetRssi), + 2, + rpc__resp__wifi_sta_get_rssi__field_descriptors, + rpc__resp__wifi_sta_get_rssi__field_indices_by_name, + 1, rpc__resp__wifi_sta_get_rssi__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_get_rssi__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_get_channel__field_descriptors NULL -#define rpc__req__wifi_get_channel__field_indices_by_name NULL -#define rpc__req__wifi_get_channel__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_channel__descriptor = +#define rpc__req__wifi_sta_get_aid__field_descriptors NULL +#define rpc__req__wifi_sta_get_aid__field_indices_by_name NULL +#define rpc__req__wifi_sta_get_aid__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_aid__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetChannel", - "RpcReqWifiGetChannel", - "RpcReqWifiGetChannel", + "Rpc_Req_WifiStaGetAid", + "RpcReqWifiStaGetAid", + "RpcReqWifiStaGetAid", "", - sizeof(RpcReqWifiGetChannel), + sizeof(RpcReqWifiStaGetAid), 0, - rpc__req__wifi_get_channel__field_descriptors, - rpc__req__wifi_get_channel__field_indices_by_name, - 0, rpc__req__wifi_get_channel__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_channel__init, + rpc__req__wifi_sta_get_aid__field_descriptors, + rpc__req__wifi_sta_get_aid__field_indices_by_name, + 0, rpc__req__wifi_sta_get_aid__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_get_aid__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_channel__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_aid__field_descriptors[2] = { { "resp", @@ -15372,391 +16804,394 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_channel__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetChannel, resp), + offsetof(RpcRespWifiStaGetAid, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "primary", + "aid", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetChannel, primary), + offsetof(RpcRespWifiStaGetAid, aid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__wifi_sta_get_aid__field_indices_by_name[] = { + 1, /* field[1] = aid */ + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__wifi_sta_get_aid__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_aid__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_WifiStaGetAid", + "RpcRespWifiStaGetAid", + "RpcRespWifiStaGetAid", + "", + sizeof(RpcRespWifiStaGetAid), + 2, + rpc__resp__wifi_sta_get_aid__field_descriptors, + rpc__resp__wifi_sta_get_aid__field_indices_by_name, + 1, rpc__resp__wifi_sta_get_aid__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_get_aid__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__req__wifi_set_protocols__field_descriptors[2] = +{ { - "second", - 3, + "ifx", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetChannel, second), + offsetof(RpcReqWifiSetProtocols, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "protocols", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiSetProtocols, protocols), + &wifi_protocols__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; -static const unsigned rpc__resp__wifi_get_channel__field_indices_by_name[] = { - 1, /* field[1] = primary */ - 0, /* field[0] = resp */ - 2, /* field[2] = second */ +static const unsigned rpc__req__wifi_set_protocols__field_indices_by_name[] = { + 0, /* field[0] = ifx */ + 1, /* field[1] = protocols */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_channel__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_protocols__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_channel__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_protocols__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetChannel", - "RpcRespWifiGetChannel", - "RpcRespWifiGetChannel", + "Rpc_Req_WifiSetProtocols", + "RpcReqWifiSetProtocols", + "RpcReqWifiSetProtocols", "", - sizeof(RpcRespWifiGetChannel), - 3, - rpc__resp__wifi_get_channel__field_descriptors, - rpc__resp__wifi_get_channel__field_indices_by_name, - 1, rpc__resp__wifi_get_channel__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_channel__init, + sizeof(RpcReqWifiSetProtocols), + 2, + rpc__req__wifi_set_protocols__field_descriptors, + rpc__req__wifi_set_protocols__field_indices_by_name, + 1, rpc__req__wifi_set_protocols__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_protocols__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_storage__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_protocols__field_descriptors[2] = { { - "storage", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetStorage, storage), + offsetof(RpcRespWifiSetProtocols, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ifx", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiSetProtocols, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_storage__field_indices_by_name[] = { - 0, /* field[0] = storage */ +static const unsigned rpc__resp__wifi_set_protocols__field_indices_by_name[] = { + 1, /* field[1] = ifx */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_storage__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_protocols__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_storage__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_protocols__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetStorage", - "RpcReqWifiSetStorage", - "RpcReqWifiSetStorage", + "Rpc_Resp_WifiSetProtocols", + "RpcRespWifiSetProtocols", + "RpcRespWifiSetProtocols", "", - sizeof(RpcReqWifiSetStorage), - 1, - rpc__req__wifi_set_storage__field_descriptors, - rpc__req__wifi_set_storage__field_indices_by_name, - 1, rpc__req__wifi_set_storage__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_storage__init, + sizeof(RpcRespWifiSetProtocols), + 2, + rpc__resp__wifi_set_protocols__field_descriptors, + rpc__resp__wifi_set_protocols__field_indices_by_name, + 1, rpc__resp__wifi_set_protocols__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_protocols__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_storage__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_get_protocols__field_descriptors[1] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetStorage, resp), + offsetof(RpcReqWifiGetProtocols, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_storage__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_get_protocols__field_indices_by_name[] = { + 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_storage__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_get_protocols__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_storage__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_get_protocols__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetStorage", - "RpcRespWifiSetStorage", - "RpcRespWifiSetStorage", + "Rpc_Req_WifiGetProtocols", + "RpcReqWifiGetProtocols", + "RpcReqWifiGetProtocols", "", - sizeof(RpcRespWifiSetStorage), + sizeof(RpcReqWifiGetProtocols), 1, - rpc__resp__wifi_set_storage__field_descriptors, - rpc__resp__wifi_set_storage__field_indices_by_name, - 1, rpc__resp__wifi_set_storage__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_storage__init, + rpc__req__wifi_get_protocols__field_descriptors, + rpc__req__wifi_get_protocols__field_indices_by_name, + 1, rpc__req__wifi_get_protocols__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_protocols__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_country_code__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocols__field_descriptors[3] = { { - "country", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetCountryCode, country), + offsetof(RpcRespWifiGetProtocols, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ieee80211d_enabled", + "ifx", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetCountryCode, ieee80211d_enabled), + offsetof(RpcRespWifiGetProtocols, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__wifi_set_country_code__field_indices_by_name[] = { - 0, /* field[0] = country */ - 1, /* field[1] = ieee80211d_enabled */ -}; -static const ProtobufCIntRange rpc__req__wifi_set_country_code__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__req__wifi_set_country_code__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetCountryCode", - "RpcReqWifiSetCountryCode", - "RpcReqWifiSetCountryCode", - "", - sizeof(RpcReqWifiSetCountryCode), - 2, - rpc__req__wifi_set_country_code__field_descriptors, - rpc__req__wifi_set_country_code__field_indices_by_name, - 1, rpc__req__wifi_set_country_code__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_country_code__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_country_code__field_descriptors[1] = -{ { - "resp", - 1, + "protocols", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetCountryCode, resp), - NULL, + offsetof(RpcRespWifiGetProtocols, protocols), + &wifi_protocols__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_country_code__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_get_protocols__field_indices_by_name[] = { + 1, /* field[1] = ifx */ + 2, /* field[2] = protocols */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_country_code__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_protocols__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_country_code__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetCountryCode", - "RpcRespWifiSetCountryCode", - "RpcRespWifiSetCountryCode", - "", - sizeof(RpcRespWifiSetCountryCode), - 1, - rpc__resp__wifi_set_country_code__field_descriptors, - rpc__resp__wifi_set_country_code__field_indices_by_name, - 1, rpc__resp__wifi_set_country_code__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_country_code__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 3 } }; -#define rpc__req__wifi_get_country_code__field_descriptors NULL -#define rpc__req__wifi_get_country_code__field_indices_by_name NULL -#define rpc__req__wifi_get_country_code__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_country_code__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_protocols__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetCountryCode", - "RpcReqWifiGetCountryCode", - "RpcReqWifiGetCountryCode", + "Rpc_Resp_WifiGetProtocols", + "RpcRespWifiGetProtocols", + "RpcRespWifiGetProtocols", "", - sizeof(RpcReqWifiGetCountryCode), - 0, - rpc__req__wifi_get_country_code__field_descriptors, - rpc__req__wifi_get_country_code__field_indices_by_name, - 0, rpc__req__wifi_get_country_code__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_country_code__init, + sizeof(RpcRespWifiGetProtocols), + 3, + rpc__resp__wifi_get_protocols__field_descriptors, + rpc__resp__wifi_get_protocols__field_indices_by_name, + 1, rpc__resp__wifi_get_protocols__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_protocols__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_country_code__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_bandwidths__field_descriptors[2] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetCountryCode, resp), + offsetof(RpcReqWifiSetBandwidths, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "country", + "bandwidths", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetCountryCode, country), - NULL, + offsetof(RpcReqWifiSetBandwidths, bandwidths), + &wifi_bandwidths__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_country_code__field_indices_by_name[] = { - 1, /* field[1] = country */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_bandwidths__field_indices_by_name[] = { + 1, /* field[1] = bandwidths */ + 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_country_code__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_bandwidths__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_country_code__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_bandwidths__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetCountryCode", - "RpcRespWifiGetCountryCode", - "RpcRespWifiGetCountryCode", + "Rpc_Req_WifiSetBandwidths", + "RpcReqWifiSetBandwidths", + "RpcReqWifiSetBandwidths", "", - sizeof(RpcRespWifiGetCountryCode), + sizeof(RpcReqWifiSetBandwidths), 2, - rpc__resp__wifi_get_country_code__field_descriptors, - rpc__resp__wifi_get_country_code__field_indices_by_name, - 1, rpc__resp__wifi_get_country_code__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_country_code__init, + rpc__req__wifi_set_bandwidths__field_descriptors, + rpc__req__wifi_set_bandwidths__field_indices_by_name, + 1, rpc__req__wifi_set_bandwidths__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_bandwidths__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_country__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_bandwidths__field_descriptors[2] = { { - "country", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetCountry, country), - &wifi_country__descriptor, + offsetof(RpcRespWifiSetBandwidths, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "ifx", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiSetBandwidths, ifx), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_country__field_indices_by_name[] = { - 0, /* field[0] = country */ +static const unsigned rpc__resp__wifi_set_bandwidths__field_indices_by_name[] = { + 1, /* field[1] = ifx */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_country__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_bandwidths__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_country__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_bandwidths__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetCountry", - "RpcReqWifiSetCountry", - "RpcReqWifiSetCountry", + "Rpc_Resp_WifiSetBandwidths", + "RpcRespWifiSetBandwidths", + "RpcRespWifiSetBandwidths", "", - sizeof(RpcReqWifiSetCountry), - 1, - rpc__req__wifi_set_country__field_descriptors, - rpc__req__wifi_set_country__field_indices_by_name, - 1, rpc__req__wifi_set_country__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_country__init, + sizeof(RpcRespWifiSetBandwidths), + 2, + rpc__resp__wifi_set_bandwidths__field_descriptors, + rpc__resp__wifi_set_bandwidths__field_indices_by_name, + 1, rpc__resp__wifi_set_bandwidths__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_bandwidths__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_country__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_get_bandwidths__field_descriptors[1] = { { - "resp", + "ifx", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetCountry, resp), + offsetof(RpcReqWifiGetBandwidths, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_country__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_get_bandwidths__field_indices_by_name[] = { + 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_country__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_get_bandwidths__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_country__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_get_bandwidths__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetCountry", - "RpcRespWifiSetCountry", - "RpcRespWifiSetCountry", + "Rpc_Req_WifiGetBandwidths", + "RpcReqWifiGetBandwidths", + "RpcReqWifiGetBandwidths", "", - sizeof(RpcRespWifiSetCountry), + sizeof(RpcReqWifiGetBandwidths), 1, - rpc__resp__wifi_set_country__field_descriptors, - rpc__resp__wifi_set_country__field_indices_by_name, - 1, rpc__resp__wifi_set_country__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_country__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_get_country__field_descriptors NULL -#define rpc__req__wifi_get_country__field_indices_by_name NULL -#define rpc__req__wifi_get_country__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_country__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetCountry", - "RpcReqWifiGetCountry", - "RpcReqWifiGetCountry", - "", - sizeof(RpcReqWifiGetCountry), - 0, - rpc__req__wifi_get_country__field_descriptors, - rpc__req__wifi_get_country__field_indices_by_name, - 0, rpc__req__wifi_get_country__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_country__init, + rpc__req__wifi_get_bandwidths__field_descriptors, + rpc__req__wifi_get_bandwidths__field_indices_by_name, + 1, rpc__req__wifi_get_bandwidths__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_bandwidths__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_country__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidths__field_descriptors[3] = { { "resp", @@ -15764,175 +17199,157 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_country__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetCountry, resp), + offsetof(RpcRespWifiGetBandwidths, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "country", + "ifx", 2, PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespWifiGetBandwidths, ifx), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "bandwidths", + 3, + PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetCountry, country), - &wifi_country__descriptor, + offsetof(RpcRespWifiGetBandwidths, bandwidths), + &wifi_bandwidths__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_country__field_indices_by_name[] = { - 1, /* field[1] = country */ +static const unsigned rpc__resp__wifi_get_bandwidths__field_indices_by_name[] = { + 2, /* field[2] = bandwidths */ + 1, /* field[1] = ifx */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_country__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_bandwidths__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_country__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetCountry", - "RpcRespWifiGetCountry", - "RpcRespWifiGetCountry", - "", - sizeof(RpcRespWifiGetCountry), - 2, - rpc__resp__wifi_get_country__field_descriptors, - rpc__resp__wifi_get_country__field_indices_by_name, - 1, rpc__resp__wifi_get_country__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_country__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 3 } }; -#define rpc__req__wifi_ap_get_sta_list__field_descriptors NULL -#define rpc__req__wifi_ap_get_sta_list__field_indices_by_name NULL -#define rpc__req__wifi_ap_get_sta_list__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_ap_get_sta_list__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_bandwidths__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiApGetStaList", - "RpcReqWifiApGetStaList", - "RpcReqWifiApGetStaList", + "Rpc_Resp_WifiGetBandwidths", + "RpcRespWifiGetBandwidths", + "RpcRespWifiGetBandwidths", "", - sizeof(RpcReqWifiApGetStaList), - 0, - rpc__req__wifi_ap_get_sta_list__field_descriptors, - rpc__req__wifi_ap_get_sta_list__field_indices_by_name, - 0, rpc__req__wifi_ap_get_sta_list__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_ap_get_sta_list__init, + sizeof(RpcRespWifiGetBandwidths), + 3, + rpc__resp__wifi_get_bandwidths__field_descriptors, + rpc__resp__wifi_get_bandwidths__field_indices_by_name, + 1, rpc__resp__wifi_get_bandwidths__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_bandwidths__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_ap_get_sta_list__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_band__field_descriptors[1] = { { - "resp", + "band", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiApGetStaList, resp), - NULL, + offsetof(RpcReqWifiSetBand, band), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sta_list", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiApGetStaList, sta_list), - &wifi_sta_list__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_ap_get_sta_list__field_indices_by_name[] = { - 0, /* field[0] = resp */ - 1, /* field[1] = sta_list */ +static const unsigned rpc__req__wifi_set_band__field_indices_by_name[] = { + 0, /* field[0] = band */ }; -static const ProtobufCIntRange rpc__resp__wifi_ap_get_sta_list__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_band__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_ap_get_sta_list__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_band__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiApGetStaList", - "RpcRespWifiApGetStaList", - "RpcRespWifiApGetStaList", - "", - sizeof(RpcRespWifiApGetStaList), - 2, - rpc__resp__wifi_ap_get_sta_list__field_descriptors, - rpc__resp__wifi_ap_get_sta_list__field_indices_by_name, - 1, rpc__resp__wifi_ap_get_sta_list__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_ap_get_sta_list__init, + "Rpc_Req_WifiSetBand", + "RpcReqWifiSetBand", + "RpcReqWifiSetBand", + "", + sizeof(RpcReqWifiSetBand), + 1, + rpc__req__wifi_set_band__field_descriptors, + rpc__req__wifi_set_band__field_indices_by_name, + 1, rpc__req__wifi_set_band__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_band__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_ap_get_sta_aid__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_band__field_descriptors[1] = { { - "mac", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiApGetStaAid, mac), + offsetof(RpcRespWifiSetBand, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_ap_get_sta_aid__field_indices_by_name[] = { - 0, /* field[0] = mac */ +static const unsigned rpc__resp__wifi_set_band__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_ap_get_sta_aid__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_band__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_ap_get_sta_aid__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_band__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiApGetStaAid", - "RpcReqWifiApGetStaAid", - "RpcReqWifiApGetStaAid", + "Rpc_Resp_WifiSetBand", + "RpcRespWifiSetBand", + "RpcRespWifiSetBand", "", - sizeof(RpcReqWifiApGetStaAid), + sizeof(RpcRespWifiSetBand), 1, - rpc__req__wifi_ap_get_sta_aid__field_descriptors, - rpc__req__wifi_ap_get_sta_aid__field_indices_by_name, - 1, rpc__req__wifi_ap_get_sta_aid__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_ap_get_sta_aid__init, + rpc__resp__wifi_set_band__field_descriptors, + rpc__resp__wifi_set_band__field_indices_by_name, + 1, rpc__resp__wifi_set_band__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_band__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_sta_get_negotiated_phymode__field_descriptors NULL -#define rpc__req__wifi_sta_get_negotiated_phymode__field_indices_by_name NULL -#define rpc__req__wifi_sta_get_negotiated_phymode__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_negotiated_phymode__descriptor = +#define rpc__req__wifi_get_band__field_descriptors NULL +#define rpc__req__wifi_get_band__field_indices_by_name NULL +#define rpc__req__wifi_get_band__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_band__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaGetNegotiatedPhymode", - "RpcReqWifiStaGetNegotiatedPhymode", - "RpcReqWifiStaGetNegotiatedPhymode", + "Rpc_Req_WifiGetBand", + "RpcReqWifiGetBand", + "RpcReqWifiGetBand", "", - sizeof(RpcReqWifiStaGetNegotiatedPhymode), + sizeof(RpcReqWifiGetBand), 0, - rpc__req__wifi_sta_get_negotiated_phymode__field_descriptors, - rpc__req__wifi_sta_get_negotiated_phymode__field_indices_by_name, - 0, rpc__req__wifi_sta_get_negotiated_phymode__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_get_negotiated_phymode__init, + rpc__req__wifi_get_band__field_descriptors, + rpc__req__wifi_get_band__field_indices_by_name, + 0, rpc__req__wifi_get_band__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_band__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_negotiated_phymode__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_band__field_descriptors[2] = { { "resp", @@ -15940,119 +17357,88 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_negotiated_phymode PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetNegotiatedPhymode, resp), + offsetof(RpcRespWifiGetBand, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "phymode", + "band", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetNegotiatedPhymode, phymode), + offsetof(RpcRespWifiGetBand, band), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_get_negotiated_phymode__field_indices_by_name[] = { - 1, /* field[1] = phymode */ +static const unsigned rpc__resp__wifi_get_band__field_indices_by_name[] = { + 1, /* field[1] = band */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_get_negotiated_phymode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_band__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_negotiated_phymode__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_band__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaGetNegotiatedPhymode", - "RpcRespWifiStaGetNegotiatedPhymode", - "RpcRespWifiStaGetNegotiatedPhymode", + "Rpc_Resp_WifiGetBand", + "RpcRespWifiGetBand", + "RpcRespWifiGetBand", "", - sizeof(RpcRespWifiStaGetNegotiatedPhymode), + sizeof(RpcRespWifiGetBand), 2, - rpc__resp__wifi_sta_get_negotiated_phymode__field_descriptors, - rpc__resp__wifi_sta_get_negotiated_phymode__field_indices_by_name, - 1, rpc__resp__wifi_sta_get_negotiated_phymode__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_get_negotiated_phymode__init, + rpc__resp__wifi_get_band__field_descriptors, + rpc__resp__wifi_get_band__field_indices_by_name, + 1, rpc__resp__wifi_get_band__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_band__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_ap_get_sta_aid__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_band_mode__field_descriptors[1] = { { - "resp", + "bandmode", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiApGetStaAid, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aid", - 2, - PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiApGetStaAid, aid), + offsetof(RpcReqWifiSetBandMode, bandmode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_ap_get_sta_aid__field_indices_by_name[] = { - 1, /* field[1] = aid */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_set_band_mode__field_indices_by_name[] = { + 0, /* field[0] = bandmode */ }; -static const ProtobufCIntRange rpc__resp__wifi_ap_get_sta_aid__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_band_mode__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_ap_get_sta_aid__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiApGetStaAid", - "RpcRespWifiApGetStaAid", - "RpcRespWifiApGetStaAid", - "", - sizeof(RpcRespWifiApGetStaAid), - 2, - rpc__resp__wifi_ap_get_sta_aid__field_descriptors, - rpc__resp__wifi_ap_get_sta_aid__field_indices_by_name, - 1, rpc__resp__wifi_ap_get_sta_aid__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_ap_get_sta_aid__init, - NULL,NULL,NULL /* reserved[123] */ + { 0, 1 } }; -#define rpc__req__wifi_sta_get_rssi__field_descriptors NULL -#define rpc__req__wifi_sta_get_rssi__field_indices_by_name NULL -#define rpc__req__wifi_sta_get_rssi__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_rssi__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_band_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaGetRssi", - "RpcReqWifiStaGetRssi", - "RpcReqWifiStaGetRssi", + "Rpc_Req_WifiSetBandMode", + "RpcReqWifiSetBandMode", + "RpcReqWifiSetBandMode", "", - sizeof(RpcReqWifiStaGetRssi), - 0, - rpc__req__wifi_sta_get_rssi__field_descriptors, - rpc__req__wifi_sta_get_rssi__field_indices_by_name, - 0, rpc__req__wifi_sta_get_rssi__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_get_rssi__init, + sizeof(RpcReqWifiSetBandMode), + 1, + rpc__req__wifi_set_band_mode__field_descriptors, + rpc__req__wifi_set_band_mode__field_indices_by_name, + 1, rpc__req__wifi_set_band_mode__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_band_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_rssi__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_band_mode__field_descriptors[1] = { { "resp", @@ -16060,68 +17446,55 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_rssi__field_descri PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetRssi, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rssi", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetRssi, rssi), + offsetof(RpcRespWifiSetBandMode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_get_rssi__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_set_band_mode__field_indices_by_name[] = { 0, /* field[0] = resp */ - 1, /* field[1] = rssi */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_get_rssi__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_band_mode__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_rssi__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_band_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaGetRssi", - "RpcRespWifiStaGetRssi", - "RpcRespWifiStaGetRssi", + "Rpc_Resp_WifiSetBandMode", + "RpcRespWifiSetBandMode", + "RpcRespWifiSetBandMode", "", - sizeof(RpcRespWifiStaGetRssi), - 2, - rpc__resp__wifi_sta_get_rssi__field_descriptors, - rpc__resp__wifi_sta_get_rssi__field_indices_by_name, - 1, rpc__resp__wifi_sta_get_rssi__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_get_rssi__init, + sizeof(RpcRespWifiSetBandMode), + 1, + rpc__resp__wifi_set_band_mode__field_descriptors, + rpc__resp__wifi_set_band_mode__field_indices_by_name, + 1, rpc__resp__wifi_set_band_mode__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_band_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_sta_get_aid__field_descriptors NULL -#define rpc__req__wifi_sta_get_aid__field_indices_by_name NULL -#define rpc__req__wifi_sta_get_aid__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_get_aid__descriptor = +#define rpc__req__wifi_get_band_mode__field_descriptors NULL +#define rpc__req__wifi_get_band_mode__field_indices_by_name NULL +#define rpc__req__wifi_get_band_mode__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_get_band_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaGetAid", - "RpcReqWifiStaGetAid", - "RpcReqWifiStaGetAid", + "Rpc_Req_WifiGetBandMode", + "RpcReqWifiGetBandMode", + "RpcReqWifiGetBandMode", "", - sizeof(RpcReqWifiStaGetAid), + sizeof(RpcReqWifiGetBandMode), 0, - rpc__req__wifi_sta_get_aid__field_descriptors, - rpc__req__wifi_sta_get_aid__field_indices_by_name, - 0, rpc__req__wifi_sta_get_aid__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_get_aid__init, + rpc__req__wifi_get_band_mode__field_descriptors, + rpc__req__wifi_get_band_mode__field_indices_by_name, + 0, rpc__req__wifi_get_band_mode__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_band_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_aid__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_band_mode__field_descriptors[2] = { { "resp", @@ -16129,101 +17502,101 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_get_aid__field_descrip PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetAid, resp), + offsetof(RpcRespWifiGetBandMode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "aid", + "bandmode", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaGetAid, aid), + offsetof(RpcRespWifiGetBandMode, bandmode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_get_aid__field_indices_by_name[] = { - 1, /* field[1] = aid */ +static const unsigned rpc__resp__wifi_get_band_mode__field_indices_by_name[] = { + 1, /* field[1] = bandmode */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_get_aid__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_band_mode__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_get_aid__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_band_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaGetAid", - "RpcRespWifiStaGetAid", - "RpcRespWifiStaGetAid", + "Rpc_Resp_WifiGetBandMode", + "RpcRespWifiGetBandMode", + "RpcRespWifiGetBandMode", "", - sizeof(RpcRespWifiStaGetAid), - 2, - rpc__resp__wifi_sta_get_aid__field_descriptors, - rpc__resp__wifi_sta_get_aid__field_indices_by_name, - 1, rpc__resp__wifi_sta_get_aid__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_get_aid__init, + sizeof(RpcRespWifiGetBandMode), + 2, + rpc__resp__wifi_get_band_mode__field_descriptors, + rpc__resp__wifi_get_band_mode__field_indices_by_name, + 1, rpc__resp__wifi_get_band_mode__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_band_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_protocols__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_set_inactive_time__field_descriptors[2] = { { "ifx", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetProtocols, ifx), + offsetof(RpcReqWifiSetInactiveTime, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "protocols", + "sec", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetProtocols, protocols), - &wifi_protocols__descriptor, + offsetof(RpcReqWifiSetInactiveTime, sec), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_protocols__field_indices_by_name[] = { +static const unsigned rpc__req__wifi_set_inactive_time__field_indices_by_name[] = { 0, /* field[0] = ifx */ - 1, /* field[1] = protocols */ + 1, /* field[1] = sec */ }; -static const ProtobufCIntRange rpc__req__wifi_set_protocols__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_set_inactive_time__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_protocols__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_set_inactive_time__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetProtocols", - "RpcReqWifiSetProtocols", - "RpcReqWifiSetProtocols", + "Rpc_Req_WifiSetInactiveTime", + "RpcReqWifiSetInactiveTime", + "RpcReqWifiSetInactiveTime", "", - sizeof(RpcReqWifiSetProtocols), + sizeof(RpcReqWifiSetInactiveTime), 2, - rpc__req__wifi_set_protocols__field_descriptors, - rpc__req__wifi_set_protocols__field_indices_by_name, - 1, rpc__req__wifi_set_protocols__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_protocols__init, + rpc__req__wifi_set_inactive_time__field_descriptors, + rpc__req__wifi_set_inactive_time__field_indices_by_name, + 1, rpc__req__wifi_set_inactive_time__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_set_inactive_time__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_protocols__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_set_inactive_time__field_descriptors[1] = { { "resp", @@ -16231,88 +17604,75 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_protocols__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetProtocols, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ifx", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetProtocols, ifx), + offsetof(RpcRespWifiSetInactiveTime, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_protocols__field_indices_by_name[] = { - 1, /* field[1] = ifx */ +static const unsigned rpc__resp__wifi_set_inactive_time__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_protocols__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_set_inactive_time__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_protocols__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_set_inactive_time__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetProtocols", - "RpcRespWifiSetProtocols", - "RpcRespWifiSetProtocols", + "Rpc_Resp_WifiSetInactiveTime", + "RpcRespWifiSetInactiveTime", + "RpcRespWifiSetInactiveTime", "", - sizeof(RpcRespWifiSetProtocols), - 2, - rpc__resp__wifi_set_protocols__field_descriptors, - rpc__resp__wifi_set_protocols__field_indices_by_name, - 1, rpc__resp__wifi_set_protocols__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_protocols__init, + sizeof(RpcRespWifiSetInactiveTime), + 1, + rpc__resp__wifi_set_inactive_time__field_descriptors, + rpc__resp__wifi_set_inactive_time__field_indices_by_name, + 1, rpc__resp__wifi_set_inactive_time__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_set_inactive_time__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_protocols__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_get_inactive_time__field_descriptors[1] = { { "ifx", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetProtocols, ifx), + offsetof(RpcReqWifiGetInactiveTime, ifx), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_protocols__field_indices_by_name[] = { +static const unsigned rpc__req__wifi_get_inactive_time__field_indices_by_name[] = { 0, /* field[0] = ifx */ }; -static const ProtobufCIntRange rpc__req__wifi_get_protocols__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_get_inactive_time__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_protocols__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_get_inactive_time__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetProtocols", - "RpcReqWifiGetProtocols", - "RpcReqWifiGetProtocols", + "Rpc_Req_WifiGetInactiveTime", + "RpcReqWifiGetInactiveTime", + "RpcReqWifiGetInactiveTime", "", - sizeof(RpcReqWifiGetProtocols), + sizeof(RpcReqWifiGetInactiveTime), 1, - rpc__req__wifi_get_protocols__field_descriptors, - rpc__req__wifi_get_protocols__field_indices_by_name, - 1, rpc__req__wifi_get_protocols__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_protocols__init, + rpc__req__wifi_get_inactive_time__field_descriptors, + rpc__req__wifi_get_inactive_time__field_indices_by_name, + 1, rpc__req__wifi_get_inactive_time__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_get_inactive_time__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocols__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_get_inactive_time__field_descriptors[2] = { { "resp", @@ -16320,114 +17680,88 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_protocols__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetProtocols, resp), + offsetof(RpcRespWifiGetInactiveTime, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "ifx", + "sec", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetProtocols, ifx), - NULL, + offsetof(RpcRespWifiGetInactiveTime, sec), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "protocols", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetProtocols, protocols), - &wifi_protocols__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_protocols__field_indices_by_name[] = { - 1, /* field[1] = ifx */ - 2, /* field[2] = protocols */ +static const unsigned rpc__resp__wifi_get_inactive_time__field_indices_by_name[] = { 0, /* field[0] = resp */ + 1, /* field[1] = sec */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_protocols__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_get_inactive_time__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_protocols__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_get_inactive_time__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetProtocols", - "RpcRespWifiGetProtocols", - "RpcRespWifiGetProtocols", + "Rpc_Resp_WifiGetInactiveTime", + "RpcRespWifiGetInactiveTime", + "RpcRespWifiGetInactiveTime", "", - sizeof(RpcRespWifiGetProtocols), - 3, - rpc__resp__wifi_get_protocols__field_descriptors, - rpc__resp__wifi_get_protocols__field_indices_by_name, - 1, rpc__resp__wifi_get_protocols__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_protocols__init, + sizeof(RpcRespWifiGetInactiveTime), + 2, + rpc__resp__wifi_get_inactive_time__field_descriptors, + rpc__resp__wifi_get_inactive_time__field_indices_by_name, + 1, rpc__resp__wifi_get_inactive_time__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_get_inactive_time__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_bandwidths__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_setup__field_descriptors[1] = { { - "ifx", + "setup_config", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBandwidths, ifx), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bandwidths", - 2, - PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBandwidths, bandwidths), - &wifi_bandwidths__descriptor, + offsetof(RpcReqWifiStaItwtSetup, setup_config), + &wifi_itwt_setup_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_bandwidths__field_indices_by_name[] = { - 1, /* field[1] = bandwidths */ - 0, /* field[0] = ifx */ +static const unsigned rpc__req__wifi_sta_itwt_setup__field_indices_by_name[] = { + 0, /* field[0] = setup_config */ }; -static const ProtobufCIntRange rpc__req__wifi_set_bandwidths__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_sta_itwt_setup__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_bandwidths__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_setup__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetBandwidths", - "RpcReqWifiSetBandwidths", - "RpcReqWifiSetBandwidths", + "Rpc_Req_WifiStaItwtSetup", + "RpcReqWifiStaItwtSetup", + "RpcReqWifiStaItwtSetup", "", - sizeof(RpcReqWifiSetBandwidths), - 2, - rpc__req__wifi_set_bandwidths__field_descriptors, - rpc__req__wifi_set_bandwidths__field_indices_by_name, - 1, rpc__req__wifi_set_bandwidths__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_bandwidths__init, + sizeof(RpcReqWifiStaItwtSetup), + 1, + rpc__req__wifi_sta_itwt_setup__field_descriptors, + rpc__req__wifi_sta_itwt_setup__field_indices_by_name, + 1, rpc__req__wifi_sta_itwt_setup__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_setup__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_bandwidths__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_setup__field_descriptors[1] = { { "resp", @@ -16435,88 +17769,75 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_bandwidths__field_desc PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetBandwidths, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ifx", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetBandwidths, ifx), + offsetof(RpcRespWifiStaItwtSetup, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_bandwidths__field_indices_by_name[] = { - 1, /* field[1] = ifx */ +static const unsigned rpc__resp__wifi_sta_itwt_setup__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_bandwidths__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_setup__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_bandwidths__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_setup__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetBandwidths", - "RpcRespWifiSetBandwidths", - "RpcRespWifiSetBandwidths", + "Rpc_Resp_WifiStaItwtSetup", + "RpcRespWifiStaItwtSetup", + "RpcRespWifiStaItwtSetup", "", - sizeof(RpcRespWifiSetBandwidths), - 2, - rpc__resp__wifi_set_bandwidths__field_descriptors, - rpc__resp__wifi_set_bandwidths__field_indices_by_name, - 1, rpc__resp__wifi_set_bandwidths__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_bandwidths__init, + sizeof(RpcRespWifiStaItwtSetup), + 1, + rpc__resp__wifi_sta_itwt_setup__field_descriptors, + rpc__resp__wifi_sta_itwt_setup__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_setup__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_setup__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_bandwidths__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_teardown__field_descriptors[1] = { { - "ifx", + "flow_id", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetBandwidths, ifx), + offsetof(RpcReqWifiStaItwtTeardown, flow_id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_bandwidths__field_indices_by_name[] = { - 0, /* field[0] = ifx */ +static const unsigned rpc__req__wifi_sta_itwt_teardown__field_indices_by_name[] = { + 0, /* field[0] = flow_id */ }; -static const ProtobufCIntRange rpc__req__wifi_get_bandwidths__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_sta_itwt_teardown__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_bandwidths__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_teardown__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetBandwidths", - "RpcReqWifiGetBandwidths", - "RpcReqWifiGetBandwidths", + "Rpc_Req_WifiStaItwtTeardown", + "RpcReqWifiStaItwtTeardown", + "RpcReqWifiStaItwtTeardown", "", - sizeof(RpcReqWifiGetBandwidths), + sizeof(RpcReqWifiStaItwtTeardown), 1, - rpc__req__wifi_get_bandwidths__field_descriptors, - rpc__req__wifi_get_bandwidths__field_indices_by_name, - 1, rpc__req__wifi_get_bandwidths__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_bandwidths__init, + rpc__req__wifi_sta_itwt_teardown__field_descriptors, + rpc__req__wifi_sta_itwt_teardown__field_indices_by_name, + 1, rpc__req__wifi_sta_itwt_teardown__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_teardown__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidths__field_descriptors[3] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_teardown__field_descriptors[1] = { { "resp", @@ -16524,101 +17845,88 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_bandwidths__field_desc PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandwidths, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ifx", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandwidths, ifx), - NULL, + offsetof(RpcRespWifiStaItwtTeardown, resp), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bandwidths", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandwidths, bandwidths), - &wifi_bandwidths__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_bandwidths__field_indices_by_name[] = { - 2, /* field[2] = bandwidths */ - 1, /* field[1] = ifx */ +static const unsigned rpc__resp__wifi_sta_itwt_teardown__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_bandwidths__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_teardown__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 3 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_bandwidths__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_teardown__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetBandwidths", - "RpcRespWifiGetBandwidths", - "RpcRespWifiGetBandwidths", + "Rpc_Resp_WifiStaItwtTeardown", + "RpcRespWifiStaItwtTeardown", + "RpcRespWifiStaItwtTeardown", "", - sizeof(RpcRespWifiGetBandwidths), - 3, - rpc__resp__wifi_get_bandwidths__field_descriptors, - rpc__resp__wifi_get_bandwidths__field_indices_by_name, - 1, rpc__resp__wifi_get_bandwidths__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_bandwidths__init, + sizeof(RpcRespWifiStaItwtTeardown), + 1, + rpc__resp__wifi_sta_itwt_teardown__field_descriptors, + rpc__resp__wifi_sta_itwt_teardown__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_teardown__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_teardown__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_band__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_suspend__field_descriptors[2] = { { - "band", + "flow_id", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBand, band), + offsetof(RpcReqWifiStaItwtSuspend, flow_id), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "suspend_time_ms", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiStaItwtSuspend, suspend_time_ms), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_band__field_indices_by_name[] = { - 0, /* field[0] = band */ +static const unsigned rpc__req__wifi_sta_itwt_suspend__field_indices_by_name[] = { + 0, /* field[0] = flow_id */ + 1, /* field[1] = suspend_time_ms */ }; -static const ProtobufCIntRange rpc__req__wifi_set_band__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_sta_itwt_suspend__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_band__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_suspend__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetBand", - "RpcReqWifiSetBand", - "RpcReqWifiSetBand", + "Rpc_Req_WifiStaItwtSuspend", + "RpcReqWifiStaItwtSuspend", + "RpcReqWifiStaItwtSuspend", "", - sizeof(RpcReqWifiSetBand), - 1, - rpc__req__wifi_set_band__field_descriptors, - rpc__req__wifi_set_band__field_indices_by_name, - 1, rpc__req__wifi_set_band__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_band__init, + sizeof(RpcReqWifiStaItwtSuspend), + 2, + rpc__req__wifi_sta_itwt_suspend__field_descriptors, + rpc__req__wifi_sta_itwt_suspend__field_indices_by_name, + 1, rpc__req__wifi_sta_itwt_suspend__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_suspend__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_band__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_suspend__field_descriptors[1] = { { "resp", @@ -16626,55 +17934,55 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_band__field_descriptor PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetBand, resp), + offsetof(RpcRespWifiStaItwtSuspend, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_band__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_sta_itwt_suspend__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_band__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_suspend__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_band__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_suspend__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetBand", - "RpcRespWifiSetBand", - "RpcRespWifiSetBand", + "Rpc_Resp_WifiStaItwtSuspend", + "RpcRespWifiStaItwtSuspend", + "RpcRespWifiStaItwtSuspend", "", - sizeof(RpcRespWifiSetBand), + sizeof(RpcRespWifiStaItwtSuspend), 1, - rpc__resp__wifi_set_band__field_descriptors, - rpc__resp__wifi_set_band__field_indices_by_name, - 1, rpc__resp__wifi_set_band__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_band__init, + rpc__resp__wifi_sta_itwt_suspend__field_descriptors, + rpc__resp__wifi_sta_itwt_suspend__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_suspend__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_suspend__init, NULL,NULL,NULL /* reserved[123] */ }; -#define rpc__req__wifi_get_band__field_descriptors NULL -#define rpc__req__wifi_get_band__field_indices_by_name NULL -#define rpc__req__wifi_get_band__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_band__descriptor = +#define rpc__req__wifi_sta_itwt_get_flow_id_status__field_descriptors NULL +#define rpc__req__wifi_sta_itwt_get_flow_id_status__field_indices_by_name NULL +#define rpc__req__wifi_sta_itwt_get_flow_id_status__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_get_flow_id_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetBand", - "RpcReqWifiGetBand", - "RpcReqWifiGetBand", + "Rpc_Req_WifiStaItwtGetFlowIdStatus", + "RpcReqWifiStaItwtGetFlowIdStatus", + "RpcReqWifiStaItwtGetFlowIdStatus", "", - sizeof(RpcReqWifiGetBand), + sizeof(RpcReqWifiStaItwtGetFlowIdStatus), 0, - rpc__req__wifi_get_band__field_descriptors, - rpc__req__wifi_get_band__field_indices_by_name, - 0, rpc__req__wifi_get_band__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_band__init, + rpc__req__wifi_sta_itwt_get_flow_id_status__field_descriptors, + rpc__req__wifi_sta_itwt_get_flow_id_status__field_indices_by_name, + 0, rpc__req__wifi_sta_itwt_get_flow_id_status__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_get_flow_id_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_band__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_get_flow_id_status__field_descriptors[2] = { { "resp", @@ -16682,144 +17990,164 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_band__field_descriptor PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBand, resp), + offsetof(RpcRespWifiStaItwtGetFlowIdStatus, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "band", + "flow_id_bitmap", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBand, band), + offsetof(RpcRespWifiStaItwtGetFlowIdStatus, flow_id_bitmap), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_band__field_indices_by_name[] = { - 1, /* field[1] = band */ +static const unsigned rpc__resp__wifi_sta_itwt_get_flow_id_status__field_indices_by_name[] = { + 1, /* field[1] = flow_id_bitmap */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_band__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_get_flow_id_status__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_band__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_get_flow_id_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetBand", - "RpcRespWifiGetBand", - "RpcRespWifiGetBand", + "Rpc_Resp_WifiStaItwtGetFlowIdStatus", + "RpcRespWifiStaItwtGetFlowIdStatus", + "RpcRespWifiStaItwtGetFlowIdStatus", "", - sizeof(RpcRespWifiGetBand), + sizeof(RpcRespWifiStaItwtGetFlowIdStatus), 2, - rpc__resp__wifi_get_band__field_descriptors, - rpc__resp__wifi_get_band__field_indices_by_name, - 1, rpc__resp__wifi_get_band__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_band__init, + rpc__resp__wifi_sta_itwt_get_flow_id_status__field_descriptors, + rpc__resp__wifi_sta_itwt_get_flow_id_status__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_get_flow_id_status__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_get_flow_id_status__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_send_probe_req__field_descriptors[1] = +{ + { + "timeout_ms", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcReqWifiStaItwtSendProbeReq, timeout_ms), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned rpc__req__wifi_sta_itwt_send_probe_req__field_indices_by_name[] = { + 0, /* field[0] = timeout_ms */ +}; +static const ProtobufCIntRange rpc__req__wifi_sta_itwt_send_probe_req__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_send_probe_req__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_WifiStaItwtSendProbeReq", + "RpcReqWifiStaItwtSendProbeReq", + "RpcReqWifiStaItwtSendProbeReq", + "", + sizeof(RpcReqWifiStaItwtSendProbeReq), + 1, + rpc__req__wifi_sta_itwt_send_probe_req__field_descriptors, + rpc__req__wifi_sta_itwt_send_probe_req__field_indices_by_name, + 1, rpc__req__wifi_sta_itwt_send_probe_req__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_send_probe_req__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_band_mode__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_send_probe_req__field_descriptors[1] = { { - "bandmode", + "resp", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetBandMode, bandmode), + offsetof(RpcRespWifiStaItwtSendProbeReq, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_band_mode__field_indices_by_name[] = { - 0, /* field[0] = bandmode */ +static const unsigned rpc__resp__wifi_sta_itwt_send_probe_req__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_set_band_mode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_send_probe_req__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_band_mode__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_send_probe_req__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetBandMode", - "RpcReqWifiSetBandMode", - "RpcReqWifiSetBandMode", + "Rpc_Resp_WifiStaItwtSendProbeReq", + "RpcRespWifiStaItwtSendProbeReq", + "RpcRespWifiStaItwtSendProbeReq", "", - sizeof(RpcReqWifiSetBandMode), + sizeof(RpcRespWifiStaItwtSendProbeReq), 1, - rpc__req__wifi_set_band_mode__field_descriptors, - rpc__req__wifi_set_band_mode__field_indices_by_name, - 1, rpc__req__wifi_set_band_mode__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_band_mode__init, + rpc__resp__wifi_sta_itwt_send_probe_req__field_descriptors, + rpc__resp__wifi_sta_itwt_send_probe_req__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_send_probe_req__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_send_probe_req__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_band_mode__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors[1] = { { - "resp", + "offset_us", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetBandMode, resp), + offsetof(RpcReqWifiStaItwtSetTargetWakeTimeOffset, offset_us), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_band_mode__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name[] = { + 0, /* field[0] = offset_us */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_band_mode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_sta_itwt_set_target_wake_time_offset__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_band_mode__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_set_target_wake_time_offset__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetBandMode", - "RpcRespWifiSetBandMode", - "RpcRespWifiSetBandMode", + "Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset", + "RpcReqWifiStaItwtSetTargetWakeTimeOffset", + "RpcReqWifiStaItwtSetTargetWakeTimeOffset", "", - sizeof(RpcRespWifiSetBandMode), + sizeof(RpcReqWifiStaItwtSetTargetWakeTimeOffset), 1, - rpc__resp__wifi_set_band_mode__field_descriptors, - rpc__resp__wifi_set_band_mode__field_indices_by_name, - 1, rpc__resp__wifi_set_band_mode__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_band_mode__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_get_band_mode__field_descriptors NULL -#define rpc__req__wifi_get_band_mode__field_indices_by_name NULL -#define rpc__req__wifi_get_band_mode__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_get_band_mode__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetBandMode", - "RpcReqWifiGetBandMode", - "RpcReqWifiGetBandMode", - "", - sizeof(RpcReqWifiGetBandMode), - 0, - rpc__req__wifi_get_band_mode__field_descriptors, - rpc__req__wifi_get_band_mode__field_indices_by_name, - 0, rpc__req__wifi_get_band_mode__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_band_mode__init, + rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors, + rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name, + 1, rpc__req__wifi_sta_itwt_set_target_wake_time_offset__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_set_target_wake_time_offset__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_band_mode__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors[1] = { { "resp", @@ -16827,101 +18155,75 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_get_band_mode__field_descr PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandMode, resp), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bandmode", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetBandMode, bandmode), + offsetof(RpcRespWifiStaItwtSetTargetWakeTimeOffset, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_get_band_mode__field_indices_by_name[] = { - 1, /* field[1] = bandmode */ +static const unsigned rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_get_band_mode__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_band_mode__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetBandMode", - "RpcRespWifiGetBandMode", - "RpcRespWifiGetBandMode", + "Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset", + "RpcRespWifiStaItwtSetTargetWakeTimeOffset", + "RpcRespWifiStaItwtSetTargetWakeTimeOffset", "", - sizeof(RpcRespWifiGetBandMode), - 2, - rpc__resp__wifi_get_band_mode__field_descriptors, - rpc__resp__wifi_get_band_mode__field_indices_by_name, - 1, rpc__resp__wifi_get_band_mode__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_band_mode__init, + sizeof(RpcRespWifiStaItwtSetTargetWakeTimeOffset), + 1, + rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors, + rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name, + 1, rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_set_inactive_time__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__wifi_sta_twt_config__field_descriptors[1] = { { - "ifx", + "config", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetInactiveTime, ifx), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sec", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqWifiSetInactiveTime, sec), - NULL, + offsetof(RpcReqWifiStaTwtConfig, config), + &wifi_twt_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_set_inactive_time__field_indices_by_name[] = { - 0, /* field[0] = ifx */ - 1, /* field[1] = sec */ +static const unsigned rpc__req__wifi_sta_twt_config__field_indices_by_name[] = { + 0, /* field[0] = config */ }; -static const ProtobufCIntRange rpc__req__wifi_set_inactive_time__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__wifi_sta_twt_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_set_inactive_time__descriptor = +const ProtobufCMessageDescriptor rpc__req__wifi_sta_twt_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiSetInactiveTime", - "RpcReqWifiSetInactiveTime", - "RpcReqWifiSetInactiveTime", + "Rpc_Req_WifiStaTwtConfig", + "RpcReqWifiStaTwtConfig", + "RpcReqWifiStaTwtConfig", "", - sizeof(RpcReqWifiSetInactiveTime), - 2, - rpc__req__wifi_set_inactive_time__field_descriptors, - rpc__req__wifi_set_inactive_time__field_indices_by_name, - 1, rpc__req__wifi_set_inactive_time__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_set_inactive_time__init, + sizeof(RpcReqWifiStaTwtConfig), + 1, + rpc__req__wifi_sta_twt_config__field_descriptors, + rpc__req__wifi_sta_twt_config__field_indices_by_name, + 1, rpc__req__wifi_sta_twt_config__number_ranges, + (ProtobufCMessageInit) rpc__req__wifi_sta_twt_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_set_inactive_time__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_twt_config__field_descriptors[1] = { { "resp", @@ -16929,682 +18231,632 @@ static const ProtobufCFieldDescriptor rpc__resp__wifi_set_inactive_time__field_d PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiSetInactiveTime, resp), + offsetof(RpcRespWifiStaTwtConfig, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_set_inactive_time__field_indices_by_name[] = { +static const unsigned rpc__resp__wifi_sta_twt_config__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_set_inactive_time__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__wifi_sta_twt_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_set_inactive_time__descriptor = +const ProtobufCMessageDescriptor rpc__resp__wifi_sta_twt_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiSetInactiveTime", - "RpcRespWifiSetInactiveTime", - "RpcRespWifiSetInactiveTime", + "Rpc_Resp_WifiStaTwtConfig", + "RpcRespWifiStaTwtConfig", + "RpcRespWifiStaTwtConfig", "", - sizeof(RpcRespWifiSetInactiveTime), + sizeof(RpcRespWifiStaTwtConfig), 1, - rpc__resp__wifi_set_inactive_time__field_descriptors, - rpc__resp__wifi_set_inactive_time__field_indices_by_name, - 1, rpc__resp__wifi_set_inactive_time__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_set_inactive_time__init, + rpc__resp__wifi_sta_twt_config__field_descriptors, + rpc__resp__wifi_sta_twt_config__field_indices_by_name, + 1, rpc__resp__wifi_sta_twt_config__number_ranges, + (ProtobufCMessageInit) rpc__resp__wifi_sta_twt_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_get_inactive_time__field_descriptors[1] = +#define rpc__req__get_coprocessor_fw_version__field_descriptors NULL +#define rpc__req__get_coprocessor_fw_version__field_indices_by_name NULL +#define rpc__req__get_coprocessor_fw_version__number_ranges NULL +const ProtobufCMessageDescriptor rpc__req__get_coprocessor_fw_version__descriptor = { + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_GetCoprocessorFwVersion", + "RpcReqGetCoprocessorFwVersion", + "RpcReqGetCoprocessorFwVersion", + "", + sizeof(RpcReqGetCoprocessorFwVersion), + 0, + rpc__req__get_coprocessor_fw_version__field_descriptors, + rpc__req__get_coprocessor_fw_version__field_indices_by_name, + 0, rpc__req__get_coprocessor_fw_version__number_ranges, + (ProtobufCMessageInit) rpc__req__get_coprocessor_fw_version__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__get_coprocessor_fw_version__field_descriptors[4] = +{ + { + "resp", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespGetCoprocessorFwVersion, resp), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "major1", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(RpcRespGetCoprocessorFwVersion, major1), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "minor1", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_UINT32, + 0, /* quantifier_offset */ + offsetof(RpcRespGetCoprocessorFwVersion, minor1), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, { - "ifx", - 1, + "patch1", + 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiGetInactiveTime, ifx), + offsetof(RpcRespGetCoprocessorFwVersion, patch1), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_get_inactive_time__field_indices_by_name[] = { - 0, /* field[0] = ifx */ +static const unsigned rpc__resp__get_coprocessor_fw_version__field_indices_by_name[] = { + 1, /* field[1] = major1 */ + 2, /* field[2] = minor1 */ + 3, /* field[3] = patch1 */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_get_inactive_time__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__get_coprocessor_fw_version__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 4 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_get_inactive_time__descriptor = +const ProtobufCMessageDescriptor rpc__resp__get_coprocessor_fw_version__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiGetInactiveTime", - "RpcReqWifiGetInactiveTime", - "RpcReqWifiGetInactiveTime", + "Rpc_Resp_GetCoprocessorFwVersion", + "RpcRespGetCoprocessorFwVersion", + "RpcRespGetCoprocessorFwVersion", "", - sizeof(RpcReqWifiGetInactiveTime), - 1, - rpc__req__wifi_get_inactive_time__field_descriptors, - rpc__req__wifi_get_inactive_time__field_indices_by_name, - 1, rpc__req__wifi_get_inactive_time__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_get_inactive_time__init, + sizeof(RpcRespGetCoprocessorFwVersion), + 4, + rpc__resp__get_coprocessor_fw_version__field_descriptors, + rpc__resp__get_coprocessor_fw_version__field_indices_by_name, + 1, rpc__resp__get_coprocessor_fw_version__number_ranges, + (ProtobufCMessageInit) rpc__resp__get_coprocessor_fw_version__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_get_inactive_time__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__set_dhcp_dns_status__field_descriptors[9] = { { - "resp", + "iface", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetInactiveTime, resp), + offsetof(RpcReqSetDhcpDnsStatus, iface), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sec", + "net_link_up", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiGetInactiveTime, sec), + offsetof(RpcReqSetDhcpDnsStatus, net_link_up), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__wifi_get_inactive_time__field_indices_by_name[] = { - 0, /* field[0] = resp */ - 1, /* field[1] = sec */ -}; -static const ProtobufCIntRange rpc__resp__wifi_get_inactive_time__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_get_inactive_time__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiGetInactiveTime", - "RpcRespWifiGetInactiveTime", - "RpcRespWifiGetInactiveTime", - "", - sizeof(RpcRespWifiGetInactiveTime), - 2, - rpc__resp__wifi_get_inactive_time__field_descriptors, - rpc__resp__wifi_get_inactive_time__field_indices_by_name, - 1, rpc__resp__wifi_get_inactive_time__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_get_inactive_time__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_setup__field_descriptors[1] = -{ { - "setup_config", - 1, + "dhcp_up", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtSetup, setup_config), - &wifi_itwt_setup_config__descriptor, + offsetof(RpcReqSetDhcpDnsStatus, dhcp_up), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__wifi_sta_itwt_setup__field_indices_by_name[] = { - 0, /* field[0] = setup_config */ -}; -static const ProtobufCIntRange rpc__req__wifi_sta_itwt_setup__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_setup__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtSetup", - "RpcReqWifiStaItwtSetup", - "RpcReqWifiStaItwtSetup", - "", - sizeof(RpcReqWifiStaItwtSetup), - 1, - rpc__req__wifi_sta_itwt_setup__field_descriptors, - rpc__req__wifi_sta_itwt_setup__field_indices_by_name, - 1, rpc__req__wifi_sta_itwt_setup__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_setup__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_setup__field_descriptors[1] = -{ { - "resp", - 1, + "dhcp_ip", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dhcp_ip), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dhcp_nm", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dhcp_nm), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dhcp_gw", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dhcp_gw), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dns_up", + 7, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtSetup, resp), + offsetof(RpcReqSetDhcpDnsStatus, dns_up), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dns_ip", + 8, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dns_ip), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dns_type", + 9, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcReqSetDhcpDnsStatus, dns_type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_itwt_setup__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__set_dhcp_dns_status__field_indices_by_name[] = { + 5, /* field[5] = dhcp_gw */ + 3, /* field[3] = dhcp_ip */ + 4, /* field[4] = dhcp_nm */ + 2, /* field[2] = dhcp_up */ + 7, /* field[7] = dns_ip */ + 8, /* field[8] = dns_type */ + 6, /* field[6] = dns_up */ + 0, /* field[0] = iface */ + 1, /* field[1] = net_link_up */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_setup__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__set_dhcp_dns_status__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 9 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_setup__descriptor = +const ProtobufCMessageDescriptor rpc__req__set_dhcp_dns_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtSetup", - "RpcRespWifiStaItwtSetup", - "RpcRespWifiStaItwtSetup", + "Rpc_Req_SetDhcpDnsStatus", + "RpcReqSetDhcpDnsStatus", + "RpcReqSetDhcpDnsStatus", "", - sizeof(RpcRespWifiStaItwtSetup), - 1, - rpc__resp__wifi_sta_itwt_setup__field_descriptors, - rpc__resp__wifi_sta_itwt_setup__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_setup__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_setup__init, + sizeof(RpcReqSetDhcpDnsStatus), + 9, + rpc__req__set_dhcp_dns_status__field_descriptors, + rpc__req__set_dhcp_dns_status__field_indices_by_name, + 1, rpc__req__set_dhcp_dns_status__number_ranges, + (ProtobufCMessageInit) rpc__req__set_dhcp_dns_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_teardown__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__set_dhcp_dns_status__field_descriptors[1] = { { - "flow_id", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtTeardown, flow_id), + offsetof(RpcRespSetDhcpDnsStatus, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_sta_itwt_teardown__field_indices_by_name[] = { - 0, /* field[0] = flow_id */ +static const unsigned rpc__resp__set_dhcp_dns_status__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__wifi_sta_itwt_teardown__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__set_dhcp_dns_status__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_teardown__descriptor = +const ProtobufCMessageDescriptor rpc__resp__set_dhcp_dns_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtTeardown", - "RpcReqWifiStaItwtTeardown", - "RpcReqWifiStaItwtTeardown", + "Rpc_Resp_SetDhcpDnsStatus", + "RpcRespSetDhcpDnsStatus", + "RpcRespSetDhcpDnsStatus", "", - sizeof(RpcReqWifiStaItwtTeardown), + sizeof(RpcRespSetDhcpDnsStatus), 1, - rpc__req__wifi_sta_itwt_teardown__field_descriptors, - rpc__req__wifi_sta_itwt_teardown__field_indices_by_name, - 1, rpc__req__wifi_sta_itwt_teardown__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_teardown__init, + rpc__resp__set_dhcp_dns_status__field_descriptors, + rpc__resp__set_dhcp_dns_status__field_indices_by_name, + 1, rpc__resp__set_dhcp_dns_status__number_ranges, + (ProtobufCMessageInit) rpc__resp__set_dhcp_dns_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_teardown__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__get_dhcp_dns_status__field_descriptors[1] = { { - "resp", + "iface", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtTeardown, resp), + offsetof(RpcReqGetDhcpDnsStatus, iface), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_itwt_teardown__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__req__get_dhcp_dns_status__field_indices_by_name[] = { + 0, /* field[0] = iface */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_teardown__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__get_dhcp_dns_status__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_teardown__descriptor = +const ProtobufCMessageDescriptor rpc__req__get_dhcp_dns_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtTeardown", - "RpcRespWifiStaItwtTeardown", - "RpcRespWifiStaItwtTeardown", + "Rpc_Req_GetDhcpDnsStatus", + "RpcReqGetDhcpDnsStatus", + "RpcReqGetDhcpDnsStatus", "", - sizeof(RpcRespWifiStaItwtTeardown), + sizeof(RpcReqGetDhcpDnsStatus), 1, - rpc__resp__wifi_sta_itwt_teardown__field_descriptors, - rpc__resp__wifi_sta_itwt_teardown__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_teardown__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_teardown__init, + rpc__req__get_dhcp_dns_status__field_descriptors, + rpc__req__get_dhcp_dns_status__field_indices_by_name, + 1, rpc__req__get_dhcp_dns_status__number_ranges, + (ProtobufCMessageInit) rpc__req__get_dhcp_dns_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_suspend__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__get_dhcp_dns_status__field_descriptors[10] = { { - "flow_id", + "iface", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtSuspend, flow_id), + offsetof(RpcRespGetDhcpDnsStatus, iface), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "suspend_time_ms", + "net_link_up", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtSuspend, suspend_time_ms), + offsetof(RpcRespGetDhcpDnsStatus, net_link_up), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__wifi_sta_itwt_suspend__field_indices_by_name[] = { - 0, /* field[0] = flow_id */ - 1, /* field[1] = suspend_time_ms */ -}; -static const ProtobufCIntRange rpc__req__wifi_sta_itwt_suspend__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_suspend__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtSuspend", - "RpcReqWifiStaItwtSuspend", - "RpcReqWifiStaItwtSuspend", - "", - sizeof(RpcReqWifiStaItwtSuspend), - 2, - rpc__req__wifi_sta_itwt_suspend__field_descriptors, - rpc__req__wifi_sta_itwt_suspend__field_indices_by_name, - 1, rpc__req__wifi_sta_itwt_suspend__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_suspend__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_suspend__field_descriptors[1] = -{ { - "resp", - 1, + "dhcp_up", + 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtSuspend, resp), + offsetof(RpcRespGetDhcpDnsStatus, dhcp_up), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__wifi_sta_itwt_suspend__field_indices_by_name[] = { - 0, /* field[0] = resp */ -}; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_suspend__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_suspend__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtSuspend", - "RpcRespWifiStaItwtSuspend", - "RpcRespWifiStaItwtSuspend", - "", - sizeof(RpcRespWifiStaItwtSuspend), - 1, - rpc__resp__wifi_sta_itwt_suspend__field_descriptors, - rpc__resp__wifi_sta_itwt_suspend__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_suspend__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_suspend__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__wifi_sta_itwt_get_flow_id_status__field_descriptors NULL -#define rpc__req__wifi_sta_itwt_get_flow_id_status__field_indices_by_name NULL -#define rpc__req__wifi_sta_itwt_get_flow_id_status__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_get_flow_id_status__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtGetFlowIdStatus", - "RpcReqWifiStaItwtGetFlowIdStatus", - "RpcReqWifiStaItwtGetFlowIdStatus", - "", - sizeof(RpcReqWifiStaItwtGetFlowIdStatus), - 0, - rpc__req__wifi_sta_itwt_get_flow_id_status__field_descriptors, - rpc__req__wifi_sta_itwt_get_flow_id_status__field_indices_by_name, - 0, rpc__req__wifi_sta_itwt_get_flow_id_status__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_get_flow_id_status__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_get_flow_id_status__field_descriptors[2] = -{ { - "resp", - 1, + "dhcp_ip", + 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtGetFlowIdStatus, resp), + offsetof(RpcRespGetDhcpDnsStatus, dhcp_ip), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "flow_id_bitmap", - 2, + "dhcp_nm", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcRespGetDhcpDnsStatus, dhcp_nm), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dhcp_gw", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcRespGetDhcpDnsStatus, dhcp_gw), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dns_up", + 7, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtGetFlowIdStatus, flow_id_bitmap), + offsetof(RpcRespGetDhcpDnsStatus, dns_up), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__wifi_sta_itwt_get_flow_id_status__field_indices_by_name[] = { - 1, /* field[1] = flow_id_bitmap */ - 0, /* field[0] = resp */ -}; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_get_flow_id_status__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_get_flow_id_status__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtGetFlowIdStatus", - "RpcRespWifiStaItwtGetFlowIdStatus", - "RpcRespWifiStaItwtGetFlowIdStatus", - "", - sizeof(RpcRespWifiStaItwtGetFlowIdStatus), - 2, - rpc__resp__wifi_sta_itwt_get_flow_id_status__field_descriptors, - rpc__resp__wifi_sta_itwt_get_flow_id_status__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_get_flow_id_status__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_get_flow_id_status__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_send_probe_req__field_descriptors[1] = -{ { - "timeout_ms", - 1, + "dns_ip", + 8, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_BYTES, + 0, /* quantifier_offset */ + offsetof(RpcRespGetDhcpDnsStatus, dns_ip), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "dns_type", + 9, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtSendProbeReq, timeout_ms), + offsetof(RpcRespGetDhcpDnsStatus, dns_type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__wifi_sta_itwt_send_probe_req__field_indices_by_name[] = { - 0, /* field[0] = timeout_ms */ -}; -static const ProtobufCIntRange rpc__req__wifi_sta_itwt_send_probe_req__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_send_probe_req__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtSendProbeReq", - "RpcReqWifiStaItwtSendProbeReq", - "RpcReqWifiStaItwtSendProbeReq", - "", - sizeof(RpcReqWifiStaItwtSendProbeReq), - 1, - rpc__req__wifi_sta_itwt_send_probe_req__field_descriptors, - rpc__req__wifi_sta_itwt_send_probe_req__field_indices_by_name, - 1, rpc__req__wifi_sta_itwt_send_probe_req__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_send_probe_req__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_send_probe_req__field_descriptors[1] = -{ { "resp", - 1, + 10, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtSendProbeReq, resp), + offsetof(RpcRespGetDhcpDnsStatus, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_itwt_send_probe_req__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__resp__get_dhcp_dns_status__field_indices_by_name[] = { + 5, /* field[5] = dhcp_gw */ + 3, /* field[3] = dhcp_ip */ + 4, /* field[4] = dhcp_nm */ + 2, /* field[2] = dhcp_up */ + 7, /* field[7] = dns_ip */ + 8, /* field[8] = dns_type */ + 6, /* field[6] = dns_up */ + 0, /* field[0] = iface */ + 1, /* field[1] = net_link_up */ + 9, /* field[9] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_send_probe_req__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__get_dhcp_dns_status__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 10 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_send_probe_req__descriptor = +const ProtobufCMessageDescriptor rpc__resp__get_dhcp_dns_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtSendProbeReq", - "RpcRespWifiStaItwtSendProbeReq", - "RpcRespWifiStaItwtSendProbeReq", + "Rpc_Resp_GetDhcpDnsStatus", + "RpcRespGetDhcpDnsStatus", + "RpcRespGetDhcpDnsStatus", "", - sizeof(RpcRespWifiStaItwtSendProbeReq), - 1, - rpc__resp__wifi_sta_itwt_send_probe_req__field_descriptors, - rpc__resp__wifi_sta_itwt_send_probe_req__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_send_probe_req__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_send_probe_req__init, + sizeof(RpcRespGetDhcpDnsStatus), + 10, + rpc__resp__get_dhcp_dns_status__field_descriptors, + rpc__resp__get_dhcp_dns_status__field_indices_by_name, + 1, rpc__resp__get_dhcp_dns_status__number_ranges, + (ProtobufCMessageInit) rpc__resp__get_dhcp_dns_status__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__wifi_event_no_args__field_descriptors[2] = { { - "offset_us", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaItwtSetTargetWakeTimeOffset, offset_us), + offsetof(RpcEventWifiEventNoArgs, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name[] = { - 0, /* field[0] = offset_us */ -}; -static const ProtobufCIntRange rpc__req__wifi_sta_itwt_set_target_wake_time_offset__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_itwt_set_target_wake_time_offset__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset", - "RpcReqWifiStaItwtSetTargetWakeTimeOffset", - "RpcReqWifiStaItwtSetTargetWakeTimeOffset", - "", - sizeof(RpcReqWifiStaItwtSetTargetWakeTimeOffset), - 1, - rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors, - rpc__req__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name, - 1, rpc__req__wifi_sta_itwt_set_target_wake_time_offset__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_itwt_set_target_wake_time_offset__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors[1] = -{ { - "resp", - 1, + "event_id", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaItwtSetTargetWakeTimeOffset, resp), + offsetof(RpcEventWifiEventNoArgs, event_id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name[] = { +static const unsigned rpc__event__wifi_event_no_args__field_indices_by_name[] = { + 1, /* field[1] = event_id */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__wifi_event_no_args__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__descriptor = +const ProtobufCMessageDescriptor rpc__event__wifi_event_no_args__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset", - "RpcRespWifiStaItwtSetTargetWakeTimeOffset", - "RpcRespWifiStaItwtSetTargetWakeTimeOffset", + "Rpc_Event_WifiEventNoArgs", + "RpcEventWifiEventNoArgs", + "RpcEventWifiEventNoArgs", "", - sizeof(RpcRespWifiStaItwtSetTargetWakeTimeOffset), - 1, - rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_descriptors, - rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__field_indices_by_name, - 1, rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__init, + sizeof(RpcEventWifiEventNoArgs), + 2, + rpc__event__wifi_event_no_args__field_descriptors, + rpc__event__wifi_event_no_args__field_indices_by_name, + 1, rpc__event__wifi_event_no_args__number_ranges, + (ProtobufCMessageInit) rpc__event__wifi_event_no_args__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__req__wifi_sta_twt_config__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__espinit__field_descriptors[1] = { { - "config", + "init_data", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqWifiStaTwtConfig, config), - &wifi_twt_config__descriptor, + offsetof(RpcEventESPInit, init_data), + NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__wifi_sta_twt_config__field_indices_by_name[] = { - 0, /* field[0] = config */ +static const unsigned rpc__event__espinit__field_indices_by_name[] = { + 0, /* field[0] = init_data */ }; -static const ProtobufCIntRange rpc__req__wifi_sta_twt_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__espinit__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__req__wifi_sta_twt_config__descriptor = +const ProtobufCMessageDescriptor rpc__event__espinit__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_WifiStaTwtConfig", - "RpcReqWifiStaTwtConfig", - "RpcReqWifiStaTwtConfig", + "Rpc_Event_ESPInit", + "RpcEventESPInit", + "RpcEventESPInit", "", - sizeof(RpcReqWifiStaTwtConfig), + sizeof(RpcEventESPInit), 1, - rpc__req__wifi_sta_twt_config__field_descriptors, - rpc__req__wifi_sta_twt_config__field_indices_by_name, - 1, rpc__req__wifi_sta_twt_config__number_ranges, - (ProtobufCMessageInit) rpc__req__wifi_sta_twt_config__init, + rpc__event__espinit__field_descriptors, + rpc__event__espinit__field_indices_by_name, + 1, rpc__event__espinit__number_ranges, + (ProtobufCMessageInit) rpc__event__espinit__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__wifi_sta_twt_config__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__heartbeat__field_descriptors[1] = { { - "resp", + "hb_num", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespWifiStaTwtConfig, resp), + offsetof(RpcEventHeartbeat, hb_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__wifi_sta_twt_config__field_indices_by_name[] = { - 0, /* field[0] = resp */ +static const unsigned rpc__event__heartbeat__field_indices_by_name[] = { + 0, /* field[0] = hb_num */ }; -static const ProtobufCIntRange rpc__resp__wifi_sta_twt_config__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__heartbeat__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__resp__wifi_sta_twt_config__descriptor = +const ProtobufCMessageDescriptor rpc__event__heartbeat__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_WifiStaTwtConfig", - "RpcRespWifiStaTwtConfig", - "RpcRespWifiStaTwtConfig", + "Rpc_Event_Heartbeat", + "RpcEventHeartbeat", + "RpcEventHeartbeat", "", - sizeof(RpcRespWifiStaTwtConfig), + sizeof(RpcEventHeartbeat), 1, - rpc__resp__wifi_sta_twt_config__field_descriptors, - rpc__resp__wifi_sta_twt_config__field_indices_by_name, - 1, rpc__resp__wifi_sta_twt_config__number_ranges, - (ProtobufCMessageInit) rpc__resp__wifi_sta_twt_config__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define rpc__req__get_coprocessor_fw_version__field_descriptors NULL -#define rpc__req__get_coprocessor_fw_version__field_indices_by_name NULL -#define rpc__req__get_coprocessor_fw_version__number_ranges NULL -const ProtobufCMessageDescriptor rpc__req__get_coprocessor_fw_version__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_GetCoprocessorFwVersion", - "RpcReqGetCoprocessorFwVersion", - "RpcReqGetCoprocessorFwVersion", - "", - sizeof(RpcReqGetCoprocessorFwVersion), - 0, - rpc__req__get_coprocessor_fw_version__field_descriptors, - rpc__req__get_coprocessor_fw_version__field_indices_by_name, - 0, rpc__req__get_coprocessor_fw_version__number_ranges, - (ProtobufCMessageInit) rpc__req__get_coprocessor_fw_version__init, + rpc__event__heartbeat__field_descriptors, + rpc__event__heartbeat__field_indices_by_name, + 1, rpc__event__heartbeat__number_ranges, + (ProtobufCMessageInit) rpc__event__heartbeat__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__get_coprocessor_fw_version__field_descriptors[4] = +static const ProtobufCFieldDescriptor rpc__event__ap__sta_disconnected__field_descriptors[5] = { { "resp", @@ -17612,218 +18864,166 @@ static const ProtobufCFieldDescriptor rpc__resp__get_coprocessor_fw_version__fie PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetCoprocessorFwVersion, resp), + offsetof(RpcEventAPStaDisconnected, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "major1", + "mac", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcRespGetCoprocessorFwVersion, major1), + offsetof(RpcEventAPStaDisconnected, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "minor1", + "aid", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetCoprocessorFwVersion, minor1), + offsetof(RpcEventAPStaDisconnected, aid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "patch1", + "is_mesh_child", 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(RpcRespGetCoprocessorFwVersion, patch1), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned rpc__resp__get_coprocessor_fw_version__field_indices_by_name[] = { - 1, /* field[1] = major1 */ - 2, /* field[2] = minor1 */ - 3, /* field[3] = patch1 */ - 0, /* field[0] = resp */ -}; -static const ProtobufCIntRange rpc__resp__get_coprocessor_fw_version__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor rpc__resp__get_coprocessor_fw_version__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_GetCoprocessorFwVersion", - "RpcRespGetCoprocessorFwVersion", - "RpcRespGetCoprocessorFwVersion", - "", - sizeof(RpcRespGetCoprocessorFwVersion), - 4, - rpc__resp__get_coprocessor_fw_version__field_descriptors, - rpc__resp__get_coprocessor_fw_version__field_indices_by_name, - 1, rpc__resp__get_coprocessor_fw_version__number_ranges, - (ProtobufCMessageInit) rpc__resp__get_coprocessor_fw_version__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__req__set_dhcp_dns_status__field_descriptors[9] = -{ - { - "iface", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, iface), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "net_link_up", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, net_link_up), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dhcp_up", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dhcp_up), + offsetof(RpcEventAPStaDisconnected, is_mesh_child), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dhcp_ip", - 4, + "reason", + 5, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dhcp_ip), + offsetof(RpcEventAPStaDisconnected, reason), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__event__ap__sta_disconnected__field_indices_by_name[] = { + 2, /* field[2] = aid */ + 3, /* field[3] = is_mesh_child */ + 1, /* field[1] = mac */ + 4, /* field[4] = reason */ + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__event__ap__sta_disconnected__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 5 } +}; +const ProtobufCMessageDescriptor rpc__event__ap__sta_disconnected__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Event_AP_StaDisconnected", + "RpcEventAPStaDisconnected", + "RpcEventAPStaDisconnected", + "", + sizeof(RpcEventAPStaDisconnected), + 5, + rpc__event__ap__sta_disconnected__field_descriptors, + rpc__event__ap__sta_disconnected__field_indices_by_name, + 1, rpc__event__ap__sta_disconnected__number_ranges, + (ProtobufCMessageInit) rpc__event__ap__sta_disconnected__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__event__ap__sta_connected__field_descriptors[4] = +{ { - "dhcp_nm", - 5, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dhcp_nm), + offsetof(RpcEventAPStaConnected, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dhcp_gw", - 6, + "mac", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dhcp_gw), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dns_up", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dns_up), + offsetof(RpcEventAPStaConnected, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dns_ip", - 8, + "aid", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dns_ip), + offsetof(RpcEventAPStaConnected, aid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dns_type", - 9, + "is_mesh_child", + 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcReqSetDhcpDnsStatus, dns_type), + offsetof(RpcEventAPStaConnected, is_mesh_child), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__set_dhcp_dns_status__field_indices_by_name[] = { - 5, /* field[5] = dhcp_gw */ - 3, /* field[3] = dhcp_ip */ - 4, /* field[4] = dhcp_nm */ - 2, /* field[2] = dhcp_up */ - 7, /* field[7] = dns_ip */ - 8, /* field[8] = dns_type */ - 6, /* field[6] = dns_up */ - 0, /* field[0] = iface */ - 1, /* field[1] = net_link_up */ +static const unsigned rpc__event__ap__sta_connected__field_indices_by_name[] = { + 2, /* field[2] = aid */ + 3, /* field[3] = is_mesh_child */ + 1, /* field[1] = mac */ + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__req__set_dhcp_dns_status__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__ap__sta_connected__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 9 } + { 0, 4 } }; -const ProtobufCMessageDescriptor rpc__req__set_dhcp_dns_status__descriptor = +const ProtobufCMessageDescriptor rpc__event__ap__sta_connected__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_SetDhcpDnsStatus", - "RpcReqSetDhcpDnsStatus", - "RpcReqSetDhcpDnsStatus", + "Rpc_Event_AP_StaConnected", + "RpcEventAPStaConnected", + "RpcEventAPStaConnected", "", - sizeof(RpcReqSetDhcpDnsStatus), - 9, - rpc__req__set_dhcp_dns_status__field_descriptors, - rpc__req__set_dhcp_dns_status__field_indices_by_name, - 1, rpc__req__set_dhcp_dns_status__number_ranges, - (ProtobufCMessageInit) rpc__req__set_dhcp_dns_status__init, + sizeof(RpcEventAPStaConnected), + 4, + rpc__event__ap__sta_connected__field_descriptors, + rpc__event__ap__sta_connected__field_indices_by_name, + 1, rpc__event__ap__sta_connected__number_ranges, + (ProtobufCMessageInit) rpc__event__ap__sta_connected__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__set_dhcp_dns_status__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__event__sta_scan_done__field_descriptors[2] = { { "resp", @@ -17831,524 +19031,699 @@ static const ProtobufCFieldDescriptor rpc__resp__set_dhcp_dns_status__field_desc PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespSetDhcpDnsStatus, resp), + offsetof(RpcEventStaScanDone, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, -}; -static const unsigned rpc__resp__set_dhcp_dns_status__field_indices_by_name[] = { - 0, /* field[0] = resp */ -}; -static const ProtobufCIntRange rpc__resp__set_dhcp_dns_status__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor rpc__resp__set_dhcp_dns_status__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_SetDhcpDnsStatus", - "RpcRespSetDhcpDnsStatus", - "RpcRespSetDhcpDnsStatus", - "", - sizeof(RpcRespSetDhcpDnsStatus), - 1, - rpc__resp__set_dhcp_dns_status__field_descriptors, - rpc__resp__set_dhcp_dns_status__field_indices_by_name, - 1, rpc__resp__set_dhcp_dns_status__number_ranges, - (ProtobufCMessageInit) rpc__resp__set_dhcp_dns_status__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor rpc__req__get_dhcp_dns_status__field_descriptors[1] = -{ { - "iface", - 1, + "scan_done", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcReqGetDhcpDnsStatus, iface), - NULL, + offsetof(RpcEventStaScanDone, scan_done), + &wifi_event_sta_scan_done__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__req__get_dhcp_dns_status__field_indices_by_name[] = { - 0, /* field[0] = iface */ +static const unsigned rpc__event__sta_scan_done__field_indices_by_name[] = { + 0, /* field[0] = resp */ + 1, /* field[1] = scan_done */ }; -static const ProtobufCIntRange rpc__req__get_dhcp_dns_status__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__event__sta_scan_done__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 1 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__req__get_dhcp_dns_status__descriptor = +const ProtobufCMessageDescriptor rpc__event__sta_scan_done__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Req_GetDhcpDnsStatus", - "RpcReqGetDhcpDnsStatus", - "RpcReqGetDhcpDnsStatus", + "Rpc_Event_StaScanDone", + "RpcEventStaScanDone", + "RpcEventStaScanDone", "", - sizeof(RpcReqGetDhcpDnsStatus), - 1, - rpc__req__get_dhcp_dns_status__field_descriptors, - rpc__req__get_dhcp_dns_status__field_indices_by_name, - 1, rpc__req__get_dhcp_dns_status__number_ranges, - (ProtobufCMessageInit) rpc__req__get_dhcp_dns_status__init, + sizeof(RpcEventStaScanDone), + 2, + rpc__event__sta_scan_done__field_descriptors, + rpc__event__sta_scan_done__field_indices_by_name, + 1, rpc__event__sta_scan_done__number_ranges, + (ProtobufCMessageInit) rpc__event__sta_scan_done__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__resp__get_dhcp_dns_status__field_descriptors[10] = +static const ProtobufCFieldDescriptor rpc__event__sta_connected__field_descriptors[2] = { { - "iface", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, iface), + offsetof(RpcEventStaConnected, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "net_link_up", + "sta_connected", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, net_link_up), - NULL, + offsetof(RpcEventStaConnected, sta_connected), + &wifi_event_sta_connected__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__event__sta_connected__field_indices_by_name[] = { + 0, /* field[0] = resp */ + 1, /* field[1] = sta_connected */ +}; +static const ProtobufCIntRange rpc__event__sta_connected__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor rpc__event__sta_connected__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Event_StaConnected", + "RpcEventStaConnected", + "RpcEventStaConnected", + "", + sizeof(RpcEventStaConnected), + 2, + rpc__event__sta_connected__field_descriptors, + rpc__event__sta_connected__field_indices_by_name, + 1, rpc__event__sta_connected__number_ranges, + (ProtobufCMessageInit) rpc__event__sta_connected__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__event__sta_disconnected__field_descriptors[2] = +{ { - "dhcp_up", - 3, + "resp", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dhcp_up), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dhcp_ip", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, - 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dhcp_ip), + offsetof(RpcEventStaDisconnected, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dhcp_nm", - 5, + "sta_disconnected", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dhcp_nm), - NULL, + offsetof(RpcEventStaDisconnected, sta_disconnected), + &wifi_event_sta_disconnected__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__event__sta_disconnected__field_indices_by_name[] = { + 0, /* field[0] = resp */ + 1, /* field[1] = sta_disconnected */ +}; +static const ProtobufCIntRange rpc__event__sta_disconnected__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor rpc__event__sta_disconnected__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Event_StaDisconnected", + "RpcEventStaDisconnected", + "RpcEventStaDisconnected", + "", + sizeof(RpcEventStaDisconnected), + 2, + rpc__event__sta_disconnected__field_descriptors, + rpc__event__sta_disconnected__field_indices_by_name, + 1, rpc__event__sta_disconnected__number_ranges, + (ProtobufCMessageInit) rpc__event__sta_disconnected__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__gpio_config__field_descriptors[5] = +{ { - "dhcp_gw", - 6, + "pin_bit_mask", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT64, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dhcp_gw), + offsetof(RpcGpioConfig, pin_bit_mask), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dns_up", - 7, + "mode", + 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dns_up), - NULL, + offsetof(RpcGpioConfig, mode), + &rpc__gpio_mode__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dns_ip", - 8, + "pull_up_en", + 3, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dns_ip), + offsetof(RpcGpioConfig, pull_up_en), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "dns_type", - 9, + "pull_down_en", + 4, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, dns_type), + offsetof(RpcGpioConfig, pull_down_en), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "resp", - 10, + "intr_type", + 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcRespGetDhcpDnsStatus, resp), + offsetof(RpcGpioConfig, intr_type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__resp__get_dhcp_dns_status__field_indices_by_name[] = { - 5, /* field[5] = dhcp_gw */ - 3, /* field[3] = dhcp_ip */ - 4, /* field[4] = dhcp_nm */ - 2, /* field[2] = dhcp_up */ - 7, /* field[7] = dns_ip */ - 8, /* field[8] = dns_type */ - 6, /* field[6] = dns_up */ - 0, /* field[0] = iface */ - 1, /* field[1] = net_link_up */ - 9, /* field[9] = resp */ +static const unsigned rpc__gpio_config__field_indices_by_name[] = { + 4, /* field[4] = intr_type */ + 1, /* field[1] = mode */ + 0, /* field[0] = pin_bit_mask */ + 3, /* field[3] = pull_down_en */ + 2, /* field[2] = pull_up_en */ }; -static const ProtobufCIntRange rpc__resp__get_dhcp_dns_status__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__gpio_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 10 } + { 0, 5 } }; -const ProtobufCMessageDescriptor rpc__resp__get_dhcp_dns_status__descriptor = +const ProtobufCMessageDescriptor rpc__gpio_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Resp_GetDhcpDnsStatus", - "RpcRespGetDhcpDnsStatus", - "RpcRespGetDhcpDnsStatus", + "Rpc_GpioConfig", + "RpcGpioConfig", + "RpcGpioConfig", "", - sizeof(RpcRespGetDhcpDnsStatus), - 10, - rpc__resp__get_dhcp_dns_status__field_descriptors, - rpc__resp__get_dhcp_dns_status__field_indices_by_name, - 1, rpc__resp__get_dhcp_dns_status__number_ranges, - (ProtobufCMessageInit) rpc__resp__get_dhcp_dns_status__init, + sizeof(RpcGpioConfig), + 5, + rpc__gpio_config__field_descriptors, + rpc__gpio_config__field_indices_by_name, + 1, rpc__gpio_config__number_ranges, + (ProtobufCMessageInit) rpc__gpio_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__wifi_event_no_args__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__gpio_config__field_descriptors[1] = { { - "resp", + "config", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, + PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ - offsetof(RpcEventWifiEventNoArgs, resp), - NULL, + offsetof(RpcReqGpioConfig, config), + &rpc__gpio_config__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__req__gpio_config__field_indices_by_name[] = { + 0, /* field[0] = config */ +}; +static const ProtobufCIntRange rpc__req__gpio_config__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__req__gpio_config__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_GpioConfig", + "RpcReqGpioConfig", + "RpcReqGpioConfig", + "", + sizeof(RpcReqGpioConfig), + 1, + rpc__req__gpio_config__field_descriptors, + rpc__req__gpio_config__field_indices_by_name, + 1, rpc__req__gpio_config__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_config__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__gpio_config__field_descriptors[1] = +{ { - "event_id", - 2, + "resp", + 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventWifiEventNoArgs, event_id), + offsetof(RpcRespGpioConfig, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__wifi_event_no_args__field_indices_by_name[] = { - 1, /* field[1] = event_id */ +static const unsigned rpc__resp__gpio_config__field_indices_by_name[] = { 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__event__wifi_event_no_args__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_config__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__wifi_event_no_args__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_WifiEventNoArgs", - "RpcEventWifiEventNoArgs", - "RpcEventWifiEventNoArgs", + "Rpc_Resp_GpioConfig", + "RpcRespGpioConfig", + "RpcRespGpioConfig", "", - sizeof(RpcEventWifiEventNoArgs), - 2, - rpc__event__wifi_event_no_args__field_descriptors, - rpc__event__wifi_event_no_args__field_indices_by_name, - 1, rpc__event__wifi_event_no_args__number_ranges, - (ProtobufCMessageInit) rpc__event__wifi_event_no_args__init, + sizeof(RpcRespGpioConfig), + 1, + rpc__resp__gpio_config__field_descriptors, + rpc__resp__gpio_config__field_indices_by_name, + 1, rpc__resp__gpio_config__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_config__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__espinit__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__req__gpio_reset__field_descriptors[1] = { { - "init_data", + "gpio_num", 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventESPInit, init_data), + offsetof(RpcReqGpioReset, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__espinit__field_indices_by_name[] = { - 0, /* field[0] = init_data */ +static const unsigned rpc__req__gpio_reset__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ }; -static const ProtobufCIntRange rpc__event__espinit__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__gpio_reset__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__espinit__descriptor = +const ProtobufCMessageDescriptor rpc__req__gpio_reset__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_ESPInit", - "RpcEventESPInit", - "RpcEventESPInit", + "Rpc_Req_GpioReset", + "RpcReqGpioReset", + "RpcReqGpioReset", "", - sizeof(RpcEventESPInit), + sizeof(RpcReqGpioReset), 1, - rpc__event__espinit__field_descriptors, - rpc__event__espinit__field_indices_by_name, - 1, rpc__event__espinit__number_ranges, - (ProtobufCMessageInit) rpc__event__espinit__init, + rpc__req__gpio_reset__field_descriptors, + rpc__req__gpio_reset__field_indices_by_name, + 1, rpc__req__gpio_reset__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_reset__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__heartbeat__field_descriptors[1] = +static const ProtobufCFieldDescriptor rpc__resp__gpio_reset_pin__field_descriptors[1] = { { - "hb_num", + "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventHeartbeat, hb_num), + offsetof(RpcRespGpioResetPin, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__heartbeat__field_indices_by_name[] = { - 0, /* field[0] = hb_num */ +static const unsigned rpc__resp__gpio_reset_pin__field_indices_by_name[] = { + 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__event__heartbeat__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_reset_pin__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__heartbeat__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_reset_pin__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_Heartbeat", - "RpcEventHeartbeat", - "RpcEventHeartbeat", + "Rpc_Resp_GpioResetPin", + "RpcRespGpioResetPin", + "RpcRespGpioResetPin", "", - sizeof(RpcEventHeartbeat), + sizeof(RpcRespGpioResetPin), 1, - rpc__event__heartbeat__field_descriptors, - rpc__event__heartbeat__field_indices_by_name, - 1, rpc__event__heartbeat__number_ranges, - (ProtobufCMessageInit) rpc__event__heartbeat__init, + rpc__resp__gpio_reset_pin__field_descriptors, + rpc__resp__gpio_reset_pin__field_indices_by_name, + 1, rpc__resp__gpio_reset_pin__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_reset_pin__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__ap__sta_disconnected__field_descriptors[5] = +static const ProtobufCFieldDescriptor rpc__req__gpio_set_level__field_descriptors[2] = { { - "resp", + "gpio_num", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaDisconnected, resp), + offsetof(RpcReqGpioSetLevel, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "mac", + "level", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaDisconnected, mac), + offsetof(RpcReqGpioSetLevel, level), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__req__gpio_set_level__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ + 1, /* field[1] = level */ +}; +static const ProtobufCIntRange rpc__req__gpio_set_level__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor rpc__req__gpio_set_level__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_GpioSetLevel", + "RpcReqGpioSetLevel", + "RpcReqGpioSetLevel", + "", + sizeof(RpcReqGpioSetLevel), + 2, + rpc__req__gpio_set_level__field_descriptors, + rpc__req__gpio_set_level__field_indices_by_name, + 1, rpc__req__gpio_set_level__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_set_level__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__gpio_set_level__field_descriptors[1] = +{ { - "aid", - 3, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaDisconnected, aid), + offsetof(RpcRespGpioSetLevel, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__gpio_set_level__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__gpio_set_level__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__gpio_set_level__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_GpioSetLevel", + "RpcRespGpioSetLevel", + "RpcRespGpioSetLevel", + "", + sizeof(RpcRespGpioSetLevel), + 1, + rpc__resp__gpio_set_level__field_descriptors, + rpc__resp__gpio_set_level__field_indices_by_name, + 1, rpc__resp__gpio_set_level__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_set_level__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__req__gpio_get_level__field_descriptors[1] = +{ { - "is_mesh_child", - 4, + "gpio_num", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaDisconnected, is_mesh_child), + offsetof(RpcReqGpioGetLevel, gpio_num), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned rpc__req__gpio_get_level__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ +}; +static const ProtobufCIntRange rpc__req__gpio_get_level__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__req__gpio_get_level__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_GpioGetLevel", + "RpcReqGpioGetLevel", + "RpcReqGpioGetLevel", + "", + sizeof(RpcReqGpioGetLevel), + 1, + rpc__req__gpio_get_level__field_descriptors, + rpc__req__gpio_get_level__field_indices_by_name, + 1, rpc__req__gpio_get_level__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_get_level__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__gpio_get_level__field_descriptors[2] = +{ + { + "resp", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_INT32, + 0, /* quantifier_offset */ + offsetof(RpcRespGpioGetLevel, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "reason", - 5, + "level", + 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaDisconnected, reason), + offsetof(RpcRespGpioGetLevel, level), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__ap__sta_disconnected__field_indices_by_name[] = { - 2, /* field[2] = aid */ - 3, /* field[3] = is_mesh_child */ - 1, /* field[1] = mac */ - 4, /* field[4] = reason */ +static const unsigned rpc__resp__gpio_get_level__field_indices_by_name[] = { + 1, /* field[1] = level */ 0, /* field[0] = resp */ }; -static const ProtobufCIntRange rpc__event__ap__sta_disconnected__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_get_level__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 5 } + { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__event__ap__sta_disconnected__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_get_level__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_AP_StaDisconnected", - "RpcEventAPStaDisconnected", - "RpcEventAPStaDisconnected", + "Rpc_Resp_GpioGetLevel", + "RpcRespGpioGetLevel", + "RpcRespGpioGetLevel", "", - sizeof(RpcEventAPStaDisconnected), - 5, - rpc__event__ap__sta_disconnected__field_descriptors, - rpc__event__ap__sta_disconnected__field_indices_by_name, - 1, rpc__event__ap__sta_disconnected__number_ranges, - (ProtobufCMessageInit) rpc__event__ap__sta_disconnected__init, + sizeof(RpcRespGpioGetLevel), + 2, + rpc__resp__gpio_get_level__field_descriptors, + rpc__resp__gpio_get_level__field_indices_by_name, + 1, rpc__resp__gpio_get_level__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_get_level__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__ap__sta_connected__field_descriptors[4] = +static const ProtobufCFieldDescriptor rpc__req__gpio_set_direction__field_descriptors[2] = { { - "resp", + "gpio_num", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaConnected, resp), + offsetof(RpcReqGpioSetDirection, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "mac", + "mode", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BYTES, + PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaConnected, mac), - NULL, + offsetof(RpcReqGpioSetDirection, mode), + &rpc__gpio_mode__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__req__gpio_set_direction__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ + 1, /* field[1] = mode */ +}; +static const ProtobufCIntRange rpc__req__gpio_set_direction__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor rpc__req__gpio_set_direction__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Req_GpioSetDirection", + "RpcReqGpioSetDirection", + "RpcReqGpioSetDirection", + "", + sizeof(RpcReqGpioSetDirection), + 2, + rpc__req__gpio_set_direction__field_descriptors, + rpc__req__gpio_set_direction__field_indices_by_name, + 1, rpc__req__gpio_set_direction__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_set_direction__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__resp__gpio_set_direction__field_descriptors[1] = +{ { - "aid", - 3, + "resp", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaConnected, aid), + offsetof(RpcRespGpioSetDirection, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, +}; +static const unsigned rpc__resp__gpio_set_direction__field_indices_by_name[] = { + 0, /* field[0] = resp */ +}; +static const ProtobufCIntRange rpc__resp__gpio_set_direction__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor rpc__resp__gpio_set_direction__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "Rpc_Resp_GpioSetDirection", + "RpcRespGpioSetDirection", + "RpcRespGpioSetDirection", + "", + sizeof(RpcRespGpioSetDirection), + 1, + rpc__resp__gpio_set_direction__field_descriptors, + rpc__resp__gpio_set_direction__field_indices_by_name, + 1, rpc__resp__gpio_set_direction__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_set_direction__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor rpc__req__gpio_input_enable__field_descriptors[1] = +{ { - "is_mesh_child", - 4, + "gpio_num", + 1, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, + PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventAPStaConnected, is_mesh_child), + offsetof(RpcReqGpioInputEnable, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__ap__sta_connected__field_indices_by_name[] = { - 2, /* field[2] = aid */ - 3, /* field[3] = is_mesh_child */ - 1, /* field[1] = mac */ - 0, /* field[0] = resp */ +static const unsigned rpc__req__gpio_input_enable__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ }; -static const ProtobufCIntRange rpc__event__ap__sta_connected__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__gpio_input_enable__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 4 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__ap__sta_connected__descriptor = +const ProtobufCMessageDescriptor rpc__req__gpio_input_enable__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_AP_StaConnected", - "RpcEventAPStaConnected", - "RpcEventAPStaConnected", + "Rpc_Req_GpioInputEnable", + "RpcReqGpioInputEnable", + "RpcReqGpioInputEnable", "", - sizeof(RpcEventAPStaConnected), - 4, - rpc__event__ap__sta_connected__field_descriptors, - rpc__event__ap__sta_connected__field_indices_by_name, - 1, rpc__event__ap__sta_connected__number_ranges, - (ProtobufCMessageInit) rpc__event__ap__sta_connected__init, + sizeof(RpcReqGpioInputEnable), + 1, + rpc__req__gpio_input_enable__field_descriptors, + rpc__req__gpio_input_enable__field_indices_by_name, + 1, rpc__req__gpio_input_enable__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_input_enable__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__sta_scan_done__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__gpio_input_enable__field_descriptors[1] = { { "resp", @@ -18356,101 +19731,88 @@ static const ProtobufCFieldDescriptor rpc__event__sta_scan_done__field_descripto PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaScanDone, resp), - NULL, + offsetof(RpcRespGpioInputEnable, resp), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "scan_done", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcEventStaScanDone, scan_done), - &wifi_event_sta_scan_done__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__sta_scan_done__field_indices_by_name[] = { +static const unsigned rpc__resp__gpio_input_enable__field_indices_by_name[] = { 0, /* field[0] = resp */ - 1, /* field[1] = scan_done */ }; -static const ProtobufCIntRange rpc__event__sta_scan_done__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_input_enable__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__sta_scan_done__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_input_enable__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_StaScanDone", - "RpcEventStaScanDone", - "RpcEventStaScanDone", + "Rpc_Resp_GpioInputEnable", + "RpcRespGpioInputEnable", + "RpcRespGpioInputEnable", "", - sizeof(RpcEventStaScanDone), - 2, - rpc__event__sta_scan_done__field_descriptors, - rpc__event__sta_scan_done__field_indices_by_name, - 1, rpc__event__sta_scan_done__number_ranges, - (ProtobufCMessageInit) rpc__event__sta_scan_done__init, + sizeof(RpcRespGpioInputEnable), + 1, + rpc__resp__gpio_input_enable__field_descriptors, + rpc__resp__gpio_input_enable__field_indices_by_name, + 1, rpc__resp__gpio_input_enable__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_input_enable__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__sta_connected__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__req__gpio_set_pull_mode__field_descriptors[2] = { { - "resp", + "gpio_num", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaConnected, resp), + offsetof(RpcReqGpioSetPullMode, gpio_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "sta_connected", + "pull", 2, PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, + PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ - offsetof(RpcEventStaConnected, sta_connected), - &wifi_event_sta_connected__descriptor, + offsetof(RpcReqGpioSetPullMode, pull), + &rpc__gpio_pull_mode__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__sta_connected__field_indices_by_name[] = { - 0, /* field[0] = resp */ - 1, /* field[1] = sta_connected */ +static const unsigned rpc__req__gpio_set_pull_mode__field_indices_by_name[] = { + 0, /* field[0] = gpio_num */ + 1, /* field[1] = pull */ }; -static const ProtobufCIntRange rpc__event__sta_connected__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__req__gpio_set_pull_mode__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; -const ProtobufCMessageDescriptor rpc__event__sta_connected__descriptor = +const ProtobufCMessageDescriptor rpc__req__gpio_set_pull_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_StaConnected", - "RpcEventStaConnected", - "RpcEventStaConnected", + "Rpc_Req_GpioSetPullMode", + "RpcReqGpioSetPullMode", + "RpcReqGpioSetPullMode", "", - sizeof(RpcEventStaConnected), + sizeof(RpcReqGpioSetPullMode), 2, - rpc__event__sta_connected__field_descriptors, - rpc__event__sta_connected__field_indices_by_name, - 1, rpc__event__sta_connected__number_ranges, - (ProtobufCMessageInit) rpc__event__sta_connected__init, + rpc__req__gpio_set_pull_mode__field_descriptors, + rpc__req__gpio_set_pull_mode__field_indices_by_name, + 1, rpc__req__gpio_set_pull_mode__number_ranges, + (ProtobufCMessageInit) rpc__req__gpio_set_pull_mode__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__event__sta_disconnected__field_descriptors[2] = +static const ProtobufCFieldDescriptor rpc__resp__gpio_set_pull_mode__field_descriptors[1] = { { "resp", @@ -18458,47 +19820,34 @@ static const ProtobufCFieldDescriptor rpc__event__sta_disconnected__field_descri PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ - offsetof(RpcEventStaDisconnected, resp), - NULL, + offsetof(RpcRespGpioSetPullMode, resp), NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sta_disconnected", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(RpcEventStaDisconnected, sta_disconnected), - &wifi_event_sta_disconnected__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; -static const unsigned rpc__event__sta_disconnected__field_indices_by_name[] = { +static const unsigned rpc__resp__gpio_set_pull_mode__field_indices_by_name[] = { 0, /* field[0] = resp */ - 1, /* field[1] = sta_disconnected */ }; -static const ProtobufCIntRange rpc__event__sta_disconnected__number_ranges[1 + 1] = +static const ProtobufCIntRange rpc__resp__gpio_set_pull_mode__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 2 } + { 0, 1 } }; -const ProtobufCMessageDescriptor rpc__event__sta_disconnected__descriptor = +const ProtobufCMessageDescriptor rpc__resp__gpio_set_pull_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "Rpc_Event_StaDisconnected", - "RpcEventStaDisconnected", - "RpcEventStaDisconnected", + "Rpc_Resp_GpioSetPullMode", + "RpcRespGpioSetPullMode", + "RpcRespGpioSetPullMode", "", - sizeof(RpcEventStaDisconnected), - 2, - rpc__event__sta_disconnected__field_descriptors, - rpc__event__sta_disconnected__field_indices_by_name, - 1, rpc__event__sta_disconnected__number_ranges, - (ProtobufCMessageInit) rpc__event__sta_disconnected__init, + sizeof(RpcRespGpioSetPullMode), + 1, + rpc__resp__gpio_set_pull_mode__field_descriptors, + rpc__resp__gpio_set_pull_mode__field_indices_by_name, + 1, rpc__resp__gpio_set_pull_mode__number_ranges, + (ProtobufCMessageInit) rpc__resp__gpio_set_pull_mode__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor rpc__event__dhcp_dns_status__field_descriptors[10] = @@ -18857,7 +20206,7 @@ static const ProtobufCFieldDescriptor rpc__event__sta_itwt_suspend__field_descri offsetof(RpcEventStaItwtSuspend, actual_suspend_time_ms), NULL, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ + PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; @@ -18951,7 +20300,7 @@ const ProtobufCMessageDescriptor rpc__event__sta_itwt_probe__descriptor = (ProtobufCMessageInit) rpc__event__sta_itwt_probe__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = +static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = { { "msg_type", @@ -18998,7 +20347,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_get_mac_address), &rpc__req__get_mac_address__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19010,7 +20359,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_set_mac_address), &rpc__req__set_mac_address__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19022,7 +20371,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_get_wifi_mode), &rpc__req__get_mode__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19034,7 +20383,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_set_wifi_mode), &rpc__req__set_mode__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19046,7 +20395,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_ps), &rpc__req__set_ps__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19058,7 +20407,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_ps), &rpc__req__get_ps__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19070,7 +20419,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_ota_begin), &rpc__req__otabegin__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19082,7 +20431,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_ota_write), &rpc__req__otawrite__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19094,7 +20443,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_ota_end), &rpc__req__otaend__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19106,7 +20455,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_set_wifi_max_tx_power), &rpc__req__wifi_set_max_tx_power__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19118,7 +20467,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_get_wifi_max_tx_power), &rpc__req__wifi_get_max_tx_power__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19130,7 +20479,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_config_heartbeat), &rpc__req__config_heartbeat__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19142,7 +20491,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_init), &rpc__req__wifi_init__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19154,7 +20503,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_deinit), &rpc__req__wifi_deinit__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19166,7 +20515,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_start), &rpc__req__wifi_start__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19178,7 +20527,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_stop), &rpc__req__wifi_stop__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19190,7 +20539,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_connect), &rpc__req__wifi_connect__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19202,7 +20551,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_disconnect), &rpc__req__wifi_disconnect__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19214,7 +20563,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_config), &rpc__req__wifi_set_config__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19226,7 +20575,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_config), &rpc__req__wifi_get_config__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19238,7 +20587,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_scan_start), &rpc__req__wifi_scan_start__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19250,7 +20599,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_scan_stop), &rpc__req__wifi_scan_stop__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19262,7 +20611,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_scan_get_ap_num), &rpc__req__wifi_scan_get_ap_num__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19274,7 +20623,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_scan_get_ap_records), &rpc__req__wifi_scan_get_ap_records__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19286,7 +20635,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_clear_ap_list), &rpc__req__wifi_clear_ap_list__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19298,7 +20647,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_restore), &rpc__req__wifi_restore__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19310,7 +20659,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_clear_fast_connect), &rpc__req__wifi_clear_fast_connect__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19322,7 +20671,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_deauth_sta), &rpc__req__wifi_deauth_sta__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19334,7 +20683,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_sta_get_ap_info), &rpc__req__wifi_sta_get_ap_info__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19346,7 +20695,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_protocol), &rpc__req__wifi_set_protocol__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19358,7 +20707,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_protocol), &rpc__req__wifi_get_protocol__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19370,7 +20719,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_bandwidth), &rpc__req__wifi_set_bandwidth__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19382,7 +20731,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_bandwidth), &rpc__req__wifi_get_bandwidth__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19394,7 +20743,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_channel), &rpc__req__wifi_set_channel__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19406,7 +20755,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_channel), &rpc__req__wifi_get_channel__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19418,7 +20767,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_country), &rpc__req__wifi_set_country__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19430,7 +20779,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_country), &rpc__req__wifi_get_country__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19442,7 +20791,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_ap_get_sta_list), &rpc__req__wifi_ap_get_sta_list__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19454,7 +20803,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_ap_get_sta_aid), &rpc__req__wifi_ap_get_sta_aid__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19466,7 +20815,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_storage), &rpc__req__wifi_set_storage__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19478,7 +20827,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_inactive_time), &rpc__req__wifi_set_inactive_time__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19490,7 +20839,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_inactive_time), &rpc__req__wifi_get_inactive_time__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19502,7 +20851,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_country_code), &rpc__req__wifi_set_country_code__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19514,7 +20863,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_country_code), &rpc__req__wifi_get_country_code__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19526,7 +20875,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_sta_get_aid), &rpc__req__wifi_sta_get_aid__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19538,7 +20887,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_sta_get_negotiated_phymode), &rpc__req__wifi_sta_get_negotiated_phymode__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19550,7 +20899,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_sta_get_rssi), &rpc__req__wifi_sta_get_rssi__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19562,7 +20911,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_protocols), &rpc__req__wifi_set_protocols__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19574,7 +20923,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_protocols), &rpc__req__wifi_get_protocols__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19586,7 +20935,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_bandwidths), &rpc__req__wifi_set_bandwidths__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19598,7 +20947,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_bandwidths), &rpc__req__wifi_get_bandwidths__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19610,7 +20959,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_band), &rpc__req__wifi_set_band__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19622,7 +20971,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_band), &rpc__req__wifi_get_band__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19634,7 +20983,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_set_bandmode), &rpc__req__wifi_set_band_mode__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19646,7 +20995,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_get_bandmode), &rpc__req__wifi_get_band_mode__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19658,7 +21007,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_get_coprocessor_fwversion), &rpc__req__get_coprocessor_fw_version__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19670,7 +21019,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_scan_get_ap_record), &rpc__req__wifi_scan_get_ap_record__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19682,7 +21031,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_set_dhcp_dns), &rpc__req__set_dhcp_dns_status__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19694,7 +21043,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_get_dhcp_dns), &rpc__req__get_dhcp_dns_status__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19706,7 +21055,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_sta_twt_config), &rpc__req__wifi_sta_twt_config__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19718,7 +21067,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_sta_itwt_setup), &rpc__req__wifi_sta_itwt_setup__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19730,7 +21079,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_sta_itwt_teardown), &rpc__req__wifi_sta_itwt_teardown__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19742,7 +21091,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_sta_itwt_suspend), &rpc__req__wifi_sta_itwt_suspend__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19754,7 +21103,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_sta_itwt_get_flow_id_status), &rpc__req__wifi_sta_itwt_get_flow_id_status__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19766,7 +21115,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_sta_itwt_send_probe_req), &rpc__req__wifi_sta_itwt_send_probe_req__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19778,7 +21127,91 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, req_wifi_sta_itwt_set_target_wake_time_offset), &rpc__req__wifi_sta_itwt_set_target_wake_time_offset__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_config", + 361, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_config), + &rpc__req__gpio_config__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_reset", + 362, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_reset), + &rpc__req__gpio_reset__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_set_level", + 363, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_set_level), + &rpc__req__gpio_set_level__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_get_level", + 364, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_get_level), + &rpc__req__gpio_get_level__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_set_direction", + 365, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_set_direction), + &rpc__req__gpio_set_direction__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_input_enable", + 366, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_input_enable), + &rpc__req__gpio_input_enable__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "req_gpio_set_pull_mode", + 367, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, req_gpio_set_pull_mode), + &rpc__req__gpio_set_pull_mode__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19790,7 +21223,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_get_mac_address), &rpc__resp__get_mac_address__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19802,7 +21235,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_set_mac_address), &rpc__resp__set_mac_address__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19814,7 +21247,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_get_wifi_mode), &rpc__resp__get_mode__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19826,7 +21259,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_set_wifi_mode), &rpc__resp__set_mode__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19838,7 +21271,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_ps), &rpc__resp__set_ps__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19850,7 +21283,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_ps), &rpc__resp__get_ps__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19862,7 +21295,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_ota_begin), &rpc__resp__otabegin__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19874,7 +21307,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_ota_write), &rpc__resp__otawrite__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19886,7 +21319,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_ota_end), &rpc__resp__otaend__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19898,7 +21331,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_set_wifi_max_tx_power), &rpc__resp__wifi_set_max_tx_power__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19910,7 +21343,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_get_wifi_max_tx_power), &rpc__resp__wifi_get_max_tx_power__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19922,7 +21355,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_config_heartbeat), &rpc__resp__config_heartbeat__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19934,7 +21367,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_init), &rpc__resp__wifi_init__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19946,7 +21379,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_deinit), &rpc__resp__wifi_deinit__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19958,7 +21391,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_start), &rpc__resp__wifi_start__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19970,7 +21403,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_stop), &rpc__resp__wifi_stop__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19982,7 +21415,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_connect), &rpc__resp__wifi_connect__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -19994,7 +21427,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_disconnect), &rpc__resp__wifi_disconnect__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20006,7 +21439,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_config), &rpc__resp__wifi_set_config__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20018,7 +21451,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_config), &rpc__resp__wifi_get_config__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20030,7 +21463,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_scan_start), &rpc__resp__wifi_scan_start__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20042,7 +21475,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_scan_stop), &rpc__resp__wifi_scan_stop__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20054,7 +21487,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_scan_get_ap_num), &rpc__resp__wifi_scan_get_ap_num__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20066,7 +21499,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_scan_get_ap_records), &rpc__resp__wifi_scan_get_ap_records__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20078,7 +21511,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_clear_ap_list), &rpc__resp__wifi_clear_ap_list__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20090,7 +21523,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_restore), &rpc__resp__wifi_restore__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20102,7 +21535,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_clear_fast_connect), &rpc__resp__wifi_clear_fast_connect__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20114,7 +21547,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_deauth_sta), &rpc__resp__wifi_deauth_sta__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20126,7 +21559,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_sta_get_ap_info), &rpc__resp__wifi_sta_get_ap_info__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20138,7 +21571,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_protocol), &rpc__resp__wifi_set_protocol__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20150,7 +21583,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_protocol), &rpc__resp__wifi_get_protocol__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20162,7 +21595,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_bandwidth), &rpc__resp__wifi_set_bandwidth__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20174,7 +21607,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_bandwidth), &rpc__resp__wifi_get_bandwidth__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20186,7 +21619,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_channel), &rpc__resp__wifi_set_channel__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20198,7 +21631,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_channel), &rpc__resp__wifi_get_channel__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20210,7 +21643,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_country), &rpc__resp__wifi_set_country__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20222,7 +21655,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_country), &rpc__resp__wifi_get_country__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20234,7 +21667,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_ap_get_sta_list), &rpc__resp__wifi_ap_get_sta_list__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20246,7 +21679,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_ap_get_sta_aid), &rpc__resp__wifi_ap_get_sta_aid__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20258,7 +21691,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_storage), &rpc__resp__wifi_set_storage__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20270,7 +21703,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_inactive_time), &rpc__resp__wifi_set_inactive_time__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20282,7 +21715,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_inactive_time), &rpc__resp__wifi_get_inactive_time__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20294,7 +21727,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_country_code), &rpc__resp__wifi_set_country_code__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20306,7 +21739,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_country_code), &rpc__resp__wifi_get_country_code__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20318,7 +21751,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_sta_get_aid), &rpc__resp__wifi_sta_get_aid__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20330,7 +21763,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_sta_get_negotiated_phymode), &rpc__resp__wifi_sta_get_negotiated_phymode__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20342,7 +21775,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_sta_get_rssi), &rpc__resp__wifi_sta_get_rssi__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20354,7 +21787,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_protocols), &rpc__resp__wifi_set_protocols__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20366,7 +21799,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_protocols), &rpc__resp__wifi_get_protocols__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20378,7 +21811,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_bandwidths), &rpc__resp__wifi_set_bandwidths__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20390,7 +21823,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_bandwidths), &rpc__resp__wifi_get_bandwidths__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20402,7 +21835,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_band), &rpc__resp__wifi_set_band__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20414,7 +21847,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_band), &rpc__resp__wifi_get_band__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20426,7 +21859,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_set_bandmode), &rpc__resp__wifi_set_band_mode__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20438,7 +21871,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_get_bandmode), &rpc__resp__wifi_get_band_mode__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20450,7 +21883,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_get_coprocessor_fwversion), &rpc__resp__get_coprocessor_fw_version__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20462,7 +21895,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_scan_get_ap_record), &rpc__resp__wifi_scan_get_ap_record__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20474,7 +21907,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_set_dhcp_dns), &rpc__resp__set_dhcp_dns_status__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20486,7 +21919,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_get_dhcp_dns), &rpc__resp__get_dhcp_dns_status__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20498,7 +21931,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_sta_twt_config), &rpc__resp__wifi_sta_twt_config__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20510,7 +21943,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_sta_itwt_setup), &rpc__resp__wifi_sta_itwt_setup__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20522,7 +21955,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_sta_itwt_teardown), &rpc__resp__wifi_sta_itwt_teardown__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20534,7 +21967,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_sta_itwt_suspend), &rpc__resp__wifi_sta_itwt_suspend__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20546,7 +21979,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_sta_itwt_get_flow_id_status), &rpc__resp__wifi_sta_itwt_get_flow_id_status__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20558,7 +21991,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_sta_itwt_send_probe_req), &rpc__resp__wifi_sta_itwt_send_probe_req__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20570,7 +22003,91 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, resp_wifi_sta_itwt_set_target_wake_time_offset), &rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_config", + 617, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_config), + &rpc__resp__gpio_config__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_reset", + 618, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_reset), + &rpc__resp__gpio_reset_pin__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_get_level", + 620, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_get_level), + &rpc__resp__gpio_get_level__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_set_direction", + 621, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_set_direction), + &rpc__resp__gpio_set_direction__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_input_enable", + 622, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_input_enable), + &rpc__resp__gpio_input_enable__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_set_pull_mode", + 623, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_set_pull_mode), + &rpc__resp__gpio_set_pull_mode__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "resp_gpio_set_level", + 629, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Rpc, payload_case), + offsetof(Rpc, resp_gpio_set_level), + &rpc__resp__gpio_set_level__descriptor, + NULL, + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20582,7 +22099,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_esp_init), &rpc__event__espinit__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20594,7 +22111,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_heartbeat), &rpc__event__heartbeat__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20606,7 +22123,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_ap_sta_connected), &rpc__event__ap__sta_connected__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20618,7 +22135,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_ap_sta_disconnected), &rpc__event__ap__sta_disconnected__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20630,7 +22147,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_wifi_event_no_args), &rpc__event__wifi_event_no_args__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20642,7 +22159,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_sta_scan_done), &rpc__event__sta_scan_done__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20654,7 +22171,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_sta_connected), &rpc__event__sta_connected__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20666,7 +22183,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_sta_disconnected), &rpc__event__sta_disconnected__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20678,7 +22195,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_dhcp_dns), &rpc__event__dhcp_dns_status__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20690,7 +22207,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_sta_itwt_setup), &rpc__event__sta_itwt_setup__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20702,7 +22219,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_sta_itwt_teardown), &rpc__event__sta_itwt_teardown__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20714,7 +22231,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_sta_itwt_suspend), &rpc__event__sta_itwt_suspend__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20726,24 +22243,24 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[148] = offsetof(Rpc, event_sta_itwt_probe), &rpc__event__sta_itwt_probe__descriptor, NULL, - 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned rpc__field_indices_by_name[] = { - 137, /* field[137] = event_ap_sta_connected */ - 138, /* field[138] = event_ap_sta_disconnected */ - 143, /* field[143] = event_dhcp_dns */ - 135, /* field[135] = event_esp_init */ - 136, /* field[136] = event_heartbeat */ - 141, /* field[141] = event_sta_connected */ - 142, /* field[142] = event_sta_disconnected */ - 147, /* field[147] = event_sta_itwt_probe */ - 144, /* field[144] = event_sta_itwt_setup */ - 146, /* field[146] = event_sta_itwt_suspend */ - 145, /* field[145] = event_sta_itwt_teardown */ - 140, /* field[140] = event_sta_scan_done */ - 139, /* field[139] = event_wifi_event_no_args */ + 151, /* field[151] = event_ap_sta_connected */ + 152, /* field[152] = event_ap_sta_disconnected */ + 157, /* field[157] = event_dhcp_dns */ + 149, /* field[149] = event_esp_init */ + 150, /* field[150] = event_heartbeat */ + 155, /* field[155] = event_sta_connected */ + 156, /* field[156] = event_sta_disconnected */ + 161, /* field[161] = event_sta_itwt_probe */ + 158, /* field[158] = event_sta_itwt_setup */ + 160, /* field[160] = event_sta_itwt_suspend */ + 159, /* field[159] = event_sta_itwt_teardown */ + 154, /* field[154] = event_sta_scan_done */ + 153, /* field[153] = event_wifi_event_no_args */ 1, /* field[1] = msg_id */ 0, /* field[0] = msg_type */ 14, /* field[14] = req_config_heartbeat */ @@ -20752,6 +22269,13 @@ static const unsigned rpc__field_indices_by_name[] = { 3, /* field[3] = req_get_mac_address */ 13, /* field[13] = req_get_wifi_max_tx_power */ 5, /* field[5] = req_get_wifi_mode */ + 69, /* field[69] = req_gpio_config */ + 72, /* field[72] = req_gpio_get_level */ + 74, /* field[74] = req_gpio_input_enable */ + 70, /* field[70] = req_gpio_reset */ + 73, /* field[73] = req_gpio_set_direction */ + 71, /* field[71] = req_gpio_set_level */ + 75, /* field[75] = req_gpio_set_pull_mode */ 9, /* field[9] = req_ota_begin */ 11, /* field[11] = req_ota_end */ 10, /* field[10] = req_ota_write */ @@ -20812,75 +22336,82 @@ static const unsigned rpc__field_indices_by_name[] = { 62, /* field[62] = req_wifi_sta_twt_config */ 17, /* field[17] = req_wifi_start */ 18, /* field[18] = req_wifi_stop */ - 80, /* field[80] = resp_config_heartbeat */ - 124, /* field[124] = resp_get_coprocessor_fwversion */ - 127, /* field[127] = resp_get_dhcp_dns */ - 69, /* field[69] = resp_get_mac_address */ - 79, /* field[79] = resp_get_wifi_max_tx_power */ - 71, /* field[71] = resp_get_wifi_mode */ - 75, /* field[75] = resp_ota_begin */ - 77, /* field[77] = resp_ota_end */ - 76, /* field[76] = resp_ota_write */ - 126, /* field[126] = resp_set_dhcp_dns */ - 70, /* field[70] = resp_set_mac_address */ - 78, /* field[78] = resp_set_wifi_max_tx_power */ - 72, /* field[72] = resp_set_wifi_mode */ - 107, /* field[107] = resp_wifi_ap_get_sta_aid */ - 106, /* field[106] = resp_wifi_ap_get_sta_list */ - 93, /* field[93] = resp_wifi_clear_ap_list */ - 95, /* field[95] = resp_wifi_clear_fast_connect */ - 85, /* field[85] = resp_wifi_connect */ - 96, /* field[96] = resp_wifi_deauth_sta */ - 82, /* field[82] = resp_wifi_deinit */ - 86, /* field[86] = resp_wifi_disconnect */ - 121, /* field[121] = resp_wifi_get_band */ - 123, /* field[123] = resp_wifi_get_bandmode */ - 101, /* field[101] = resp_wifi_get_bandwidth */ - 119, /* field[119] = resp_wifi_get_bandwidths */ - 103, /* field[103] = resp_wifi_get_channel */ - 88, /* field[88] = resp_wifi_get_config */ - 105, /* field[105] = resp_wifi_get_country */ - 112, /* field[112] = resp_wifi_get_country_code */ - 110, /* field[110] = resp_wifi_get_inactive_time */ - 99, /* field[99] = resp_wifi_get_protocol */ - 117, /* field[117] = resp_wifi_get_protocols */ - 74, /* field[74] = resp_wifi_get_ps */ - 81, /* field[81] = resp_wifi_init */ - 94, /* field[94] = resp_wifi_restore */ - 91, /* field[91] = resp_wifi_scan_get_ap_num */ - 125, /* field[125] = resp_wifi_scan_get_ap_record */ - 92, /* field[92] = resp_wifi_scan_get_ap_records */ - 89, /* field[89] = resp_wifi_scan_start */ - 90, /* field[90] = resp_wifi_scan_stop */ - 120, /* field[120] = resp_wifi_set_band */ - 122, /* field[122] = resp_wifi_set_bandmode */ - 100, /* field[100] = resp_wifi_set_bandwidth */ - 118, /* field[118] = resp_wifi_set_bandwidths */ - 102, /* field[102] = resp_wifi_set_channel */ - 87, /* field[87] = resp_wifi_set_config */ - 104, /* field[104] = resp_wifi_set_country */ - 111, /* field[111] = resp_wifi_set_country_code */ - 109, /* field[109] = resp_wifi_set_inactive_time */ - 98, /* field[98] = resp_wifi_set_protocol */ - 116, /* field[116] = resp_wifi_set_protocols */ - 73, /* field[73] = resp_wifi_set_ps */ - 108, /* field[108] = resp_wifi_set_storage */ - 113, /* field[113] = resp_wifi_sta_get_aid */ - 97, /* field[97] = resp_wifi_sta_get_ap_info */ - 114, /* field[114] = resp_wifi_sta_get_negotiated_phymode */ - 115, /* field[115] = resp_wifi_sta_get_rssi */ - 132, /* field[132] = resp_wifi_sta_itwt_get_flow_id_status */ - 133, /* field[133] = resp_wifi_sta_itwt_send_probe_req */ - 134, /* field[134] = resp_wifi_sta_itwt_set_target_wake_time_offset */ - 129, /* field[129] = resp_wifi_sta_itwt_setup */ - 131, /* field[131] = resp_wifi_sta_itwt_suspend */ - 130, /* field[130] = resp_wifi_sta_itwt_teardown */ - 128, /* field[128] = resp_wifi_sta_twt_config */ - 83, /* field[83] = resp_wifi_start */ - 84, /* field[84] = resp_wifi_stop */ + 87, /* field[87] = resp_config_heartbeat */ + 131, /* field[131] = resp_get_coprocessor_fwversion */ + 134, /* field[134] = resp_get_dhcp_dns */ + 76, /* field[76] = resp_get_mac_address */ + 86, /* field[86] = resp_get_wifi_max_tx_power */ + 78, /* field[78] = resp_get_wifi_mode */ + 142, /* field[142] = resp_gpio_config */ + 144, /* field[144] = resp_gpio_get_level */ + 146, /* field[146] = resp_gpio_input_enable */ + 143, /* field[143] = resp_gpio_reset */ + 145, /* field[145] = resp_gpio_set_direction */ + 148, /* field[148] = resp_gpio_set_level */ + 147, /* field[147] = resp_gpio_set_pull_mode */ + 82, /* field[82] = resp_ota_begin */ + 84, /* field[84] = resp_ota_end */ + 83, /* field[83] = resp_ota_write */ + 133, /* field[133] = resp_set_dhcp_dns */ + 77, /* field[77] = resp_set_mac_address */ + 85, /* field[85] = resp_set_wifi_max_tx_power */ + 79, /* field[79] = resp_set_wifi_mode */ + 114, /* field[114] = resp_wifi_ap_get_sta_aid */ + 113, /* field[113] = resp_wifi_ap_get_sta_list */ + 100, /* field[100] = resp_wifi_clear_ap_list */ + 102, /* field[102] = resp_wifi_clear_fast_connect */ + 92, /* field[92] = resp_wifi_connect */ + 103, /* field[103] = resp_wifi_deauth_sta */ + 89, /* field[89] = resp_wifi_deinit */ + 93, /* field[93] = resp_wifi_disconnect */ + 128, /* field[128] = resp_wifi_get_band */ + 130, /* field[130] = resp_wifi_get_bandmode */ + 108, /* field[108] = resp_wifi_get_bandwidth */ + 126, /* field[126] = resp_wifi_get_bandwidths */ + 110, /* field[110] = resp_wifi_get_channel */ + 95, /* field[95] = resp_wifi_get_config */ + 112, /* field[112] = resp_wifi_get_country */ + 119, /* field[119] = resp_wifi_get_country_code */ + 117, /* field[117] = resp_wifi_get_inactive_time */ + 106, /* field[106] = resp_wifi_get_protocol */ + 124, /* field[124] = resp_wifi_get_protocols */ + 81, /* field[81] = resp_wifi_get_ps */ + 88, /* field[88] = resp_wifi_init */ + 101, /* field[101] = resp_wifi_restore */ + 98, /* field[98] = resp_wifi_scan_get_ap_num */ + 132, /* field[132] = resp_wifi_scan_get_ap_record */ + 99, /* field[99] = resp_wifi_scan_get_ap_records */ + 96, /* field[96] = resp_wifi_scan_start */ + 97, /* field[97] = resp_wifi_scan_stop */ + 127, /* field[127] = resp_wifi_set_band */ + 129, /* field[129] = resp_wifi_set_bandmode */ + 107, /* field[107] = resp_wifi_set_bandwidth */ + 125, /* field[125] = resp_wifi_set_bandwidths */ + 109, /* field[109] = resp_wifi_set_channel */ + 94, /* field[94] = resp_wifi_set_config */ + 111, /* field[111] = resp_wifi_set_country */ + 118, /* field[118] = resp_wifi_set_country_code */ + 116, /* field[116] = resp_wifi_set_inactive_time */ + 105, /* field[105] = resp_wifi_set_protocol */ + 123, /* field[123] = resp_wifi_set_protocols */ + 80, /* field[80] = resp_wifi_set_ps */ + 115, /* field[115] = resp_wifi_set_storage */ + 120, /* field[120] = resp_wifi_sta_get_aid */ + 104, /* field[104] = resp_wifi_sta_get_ap_info */ + 121, /* field[121] = resp_wifi_sta_get_negotiated_phymode */ + 122, /* field[122] = resp_wifi_sta_get_rssi */ + 139, /* field[139] = resp_wifi_sta_itwt_get_flow_id_status */ + 140, /* field[140] = resp_wifi_sta_itwt_send_probe_req */ + 141, /* field[141] = resp_wifi_sta_itwt_set_target_wake_time_offset */ + 136, /* field[136] = resp_wifi_sta_itwt_setup */ + 138, /* field[138] = resp_wifi_sta_itwt_suspend */ + 137, /* field[137] = resp_wifi_sta_itwt_teardown */ + 135, /* field[135] = resp_wifi_sta_twt_config */ + 90, /* field[90] = resp_wifi_start */ + 91, /* field[91] = resp_wifi_stop */ 2, /* field[2] = uid */ }; -static const ProtobufCIntRange rpc__number_ranges[18 + 1] = +static const ProtobufCIntRange rpc__number_ranges[20 + 1] = { { 1, 0 }, { 257, 3 }, @@ -20891,16 +22422,18 @@ static const ProtobufCIntRange rpc__number_ranges[18 + 1] = { 334, 45 }, { 338, 47 }, { 341, 49 }, - { 513, 69 }, - { 526, 73 }, - { 553, 98 }, - { 567, 106 }, - { 581, 109 }, - { 590, 111 }, - { 594, 113 }, - { 597, 115 }, - { 769, 135 }, - { 0, 148 } + { 513, 76 }, + { 526, 80 }, + { 553, 105 }, + { 567, 113 }, + { 581, 116 }, + { 590, 118 }, + { 594, 120 }, + { 597, 122 }, + { 620, 144 }, + { 629, 148 }, + { 769, 149 }, + { 0, 162 } }; const ProtobufCMessageDescriptor rpc__descriptor = { @@ -20910,10 +22443,10 @@ const ProtobufCMessageDescriptor rpc__descriptor = "Rpc", "", sizeof(Rpc), - 148, + 162, rpc__field_descriptors, rpc__field_indices_by_name, - 18, rpc__number_ranges, + 20, rpc__number_ranges, (ProtobufCMessageInit) rpc__init, NULL,NULL,NULL /* reserved[123] */ }; @@ -21087,7 +22620,7 @@ const ProtobufCEnumDescriptor rpc_type__descriptor = rpc_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; -static const ProtobufCEnumValue rpc_id__enum_values_by_number[206] = +static const ProtobufCEnumValue rpc_id__enum_values_by_number[220] = { { "MsgId_Invalid", "RPC_ID__MsgId_Invalid", 0 }, { "Req_Base", "RPC_ID__Req_Base", 256 }, @@ -21184,7 +22717,14 @@ static const ProtobufCEnumValue rpc_id__enum_values_by_number[206] = { "Req_WifiStaItwtGetFlowIdStatus", "RPC_ID__Req_WifiStaItwtGetFlowIdStatus", 358 }, { "Req_WifiStaItwtSendProbeReq", "RPC_ID__Req_WifiStaItwtSendProbeReq", 359 }, { "Req_WifiStaItwtSetTargetWakeTimeOffset", "RPC_ID__Req_WifiStaItwtSetTargetWakeTimeOffset", 360 }, - { "Req_Max", "RPC_ID__Req_Max", 361 }, + { "Req_GpioConfig", "RPC_ID__Req_GpioConfig", 361 }, + { "Req_GpioResetPin", "RPC_ID__Req_GpioResetPin", 362 }, + { "Req_GpioSetLevel", "RPC_ID__Req_GpioSetLevel", 363 }, + { "Req_GpioGetLevel", "RPC_ID__Req_GpioGetLevel", 364 }, + { "Req_GpioSetDirection", "RPC_ID__Req_GpioSetDirection", 365 }, + { "Req_GpioInputEnable", "RPC_ID__Req_GpioInputEnable", 366 }, + { "Req_GpioSetPullMode", "RPC_ID__Req_GpioSetPullMode", 367 }, + { "Req_Max", "RPC_ID__Req_Max", 368 }, { "Resp_Base", "RPC_ID__Resp_Base", 512 }, { "Resp_GetMACAddress", "RPC_ID__Resp_GetMACAddress", 513 }, { "Resp_SetMacAddress", "RPC_ID__Resp_SetMacAddress", 514 }, @@ -21279,7 +22819,14 @@ static const ProtobufCEnumValue rpc_id__enum_values_by_number[206] = { "Resp_WifiStaItwtGetFlowIdStatus", "RPC_ID__Resp_WifiStaItwtGetFlowIdStatus", 614 }, { "Resp_WifiStaItwtSendProbeReq", "RPC_ID__Resp_WifiStaItwtSendProbeReq", 615 }, { "Resp_WifiStaItwtSetTargetWakeTimeOffset", "RPC_ID__Resp_WifiStaItwtSetTargetWakeTimeOffset", 616 }, - { "Resp_Max", "RPC_ID__Resp_Max", 617 }, + { "Resp_GpioConfig", "RPC_ID__Resp_GpioConfig", 617 }, + { "Resp_GpioResetPin", "RPC_ID__Resp_GpioResetPin", 618 }, + { "Resp_GpioSetLevel", "RPC_ID__Resp_GpioSetLevel", 619 }, + { "Resp_GpioGetLevel", "RPC_ID__Resp_GpioGetLevel", 620 }, + { "Resp_GpioSetDirection", "RPC_ID__Resp_GpioSetDirection", 621 }, + { "Resp_GpioInputEnable", "RPC_ID__Resp_GpioInputEnable", 622 }, + { "Resp_GpioSetPullMode", "RPC_ID__Resp_GpioSetPullMode", 623 }, + { "Resp_Max", "RPC_ID__Resp_Max", 624 }, { "Event_Base", "RPC_ID__Event_Base", 768 }, { "Event_ESPInit", "RPC_ID__Event_ESPInit", 769 }, { "Event_Heartbeat", "RPC_ID__Event_Heartbeat", 770 }, @@ -21297,25 +22844,25 @@ static const ProtobufCEnumValue rpc_id__enum_values_by_number[206] = { "Event_Max", "RPC_ID__Event_Max", 782 }, }; static const ProtobufCIntRange rpc_id__value_ranges[] = { -{0, 0},{256, 1},{270, 6},{297, 31},{512, 96},{526, 101},{553, 126},{768, 191},{0, 206} -}; -static const ProtobufCEnumValueIndex rpc_id__enum_values_by_name[206] = -{ - { "Event_AP_StaConnected", 194 }, - { "Event_AP_StaDisconnected", 195 }, - { "Event_Base", 191 }, - { "Event_DhcpDnsStatus", 200 }, - { "Event_ESPInit", 192 }, - { "Event_Heartbeat", 193 }, - { "Event_Max", 205 }, - { "Event_StaConnected", 198 }, - { "Event_StaDisconnected", 199 }, - { "Event_StaItwtProbe", 204 }, - { "Event_StaItwtSetup", 201 }, - { "Event_StaItwtSuspend", 203 }, - { "Event_StaItwtTeardown", 202 }, - { "Event_StaScanDone", 197 }, - { "Event_WifiEventNoArgs", 196 }, +{0, 0},{256, 1},{270, 6},{297, 31},{512, 103},{526, 108},{553, 133},{768, 205},{0, 220} +}; +static const ProtobufCEnumValueIndex rpc_id__enum_values_by_name[220] = +{ + { "Event_AP_StaConnected", 208 }, + { "Event_AP_StaDisconnected", 209 }, + { "Event_Base", 205 }, + { "Event_DhcpDnsStatus", 214 }, + { "Event_ESPInit", 206 }, + { "Event_Heartbeat", 207 }, + { "Event_Max", 219 }, + { "Event_StaConnected", 212 }, + { "Event_StaDisconnected", 213 }, + { "Event_StaItwtProbe", 218 }, + { "Event_StaItwtSetup", 215 }, + { "Event_StaItwtSuspend", 217 }, + { "Event_StaItwtTeardown", 216 }, + { "Event_StaScanDone", 211 }, + { "Event_WifiEventNoArgs", 210 }, { "MsgId_Invalid", 0 }, { "Req_Base", 1 }, { "Req_ConfigHeartbeat", 13 }, @@ -21323,7 +22870,14 @@ static const ProtobufCEnumValueIndex rpc_id__enum_values_by_name[206] = { "Req_GetDhcpDnsStatus", 87 }, { "Req_GetMACAddress", 2 }, { "Req_GetWifiMode", 4 }, - { "Req_Max", 95 }, + { "Req_GpioConfig", 95 }, + { "Req_GpioGetLevel", 98 }, + { "Req_GpioInputEnable", 100 }, + { "Req_GpioResetPin", 96 }, + { "Req_GpioSetDirection", 99 }, + { "Req_GpioSetLevel", 97 }, + { "Req_GpioSetPullMode", 101 }, + { "Req_Max", 102 }, { "Req_OTABegin", 8 }, { "Req_OTAEnd", 10 }, { "Req_OTAWrite", 9 }, @@ -21412,101 +22966,108 @@ static const ProtobufCEnumValueIndex rpc_id__enum_values_by_name[206] = { "Req_WifiStart", 16 }, { "Req_WifiStatisDump", 61 }, { "Req_WifiStop", 17 }, - { "Resp_Base", 96 }, - { "Resp_ConfigHeartbeat", 108 }, - { "Resp_GetCoprocessorFwVersion", 179 }, - { "Resp_GetDhcpDnsStatus", 182 }, - { "Resp_GetMACAddress", 97 }, - { "Resp_GetWifiMode", 99 }, - { "Resp_Max", 190 }, - { "Resp_OTABegin", 103 }, - { "Resp_OTAEnd", 105 }, - { "Resp_OTAWrite", 104 }, - { "Resp_SetDhcpDnsStatus", 181 }, - { "Resp_SetMacAddress", 98 }, - { "Resp_SetWifiMode", 100 }, - { "Resp_Wifi80211Tx", 146 }, - { "Resp_WifiApGetStaAid", 141 }, - { "Resp_WifiApGetStaList", 140 }, - { "Resp_WifiClearApList", 121 }, - { "Resp_WifiClearFastConnect", 123 }, - { "Resp_WifiConfig11bRate", 161 }, - { "Resp_WifiConfig80211TxRate", 165 }, - { "Resp_WifiConnect", 113 }, - { "Resp_WifiConnectionlessModuleSetWakeInterval", 162 }, - { "Resp_WifiDeauthSta", 124 }, - { "Resp_WifiDeinit", 110 }, - { "Resp_WifiDisablePmfConfig", 166 }, - { "Resp_WifiDisconnect", 114 }, - { "Resp_WifiFtmEndSession", 159 }, - { "Resp_WifiFtmInitiateSession", 158 }, - { "Resp_WifiFtmRespSetOffset", 160 }, - { "Resp_WifiGetAnt", 152 }, - { "Resp_WifiGetAntGpio", 150 }, - { "Resp_WifiGetBand", 176 }, - { "Resp_WifiGetBandMode", 178 }, - { "Resp_WifiGetBandwidth", 129 }, - { "Resp_WifiGetBandwidths", 174 }, - { "Resp_WifiGetChannel", 131 }, - { "Resp_WifiGetConfig", 116 }, - { "Resp_WifiGetCountry", 133 }, - { "Resp_WifiGetCountryCode", 164 }, - { "Resp_WifiGetEventMask", 145 }, - { "Resp_WifiGetInactiveTime", 155 }, - { "Resp_WifiGetMaxTxPower", 107 }, - { "Resp_WifiGetPromiscuous", 135 }, - { "Resp_WifiGetPromiscuousCtrlFilter", 139 }, - { "Resp_WifiGetPromiscuousFilter", 137 }, - { "Resp_WifiGetProtocol", 127 }, - { "Resp_WifiGetProtocols", 172 }, - { "Resp_WifiGetPs", 102 }, - { "Resp_WifiGetTsfTime", 153 }, - { "Resp_WifiInit", 109 }, - { "Resp_WifiRestore", 122 }, - { "Resp_WifiScanGetApNum", 119 }, - { "Resp_WifiScanGetApRecord", 180 }, - { "Resp_WifiScanGetApRecords", 120 }, - { "Resp_WifiScanStart", 117 }, - { "Resp_WifiScanStop", 118 }, - { "Resp_WifiSetAnt", 151 }, - { "Resp_WifiSetAntGpio", 149 }, - { "Resp_WifiSetBand", 175 }, - { "Resp_WifiSetBandMode", 177 }, - { "Resp_WifiSetBandwidth", 128 }, - { "Resp_WifiSetBandwidths", 173 }, - { "Resp_WifiSetChannel", 130 }, - { "Resp_WifiSetConfig", 115 }, - { "Resp_WifiSetCountry", 132 }, - { "Resp_WifiSetCountryCode", 163 }, - { "Resp_WifiSetCsi", 148 }, - { "Resp_WifiSetCsiConfig", 147 }, - { "Resp_WifiSetDynamicCs", 169 }, - { "Resp_WifiSetEventMask", 144 }, - { "Resp_WifiSetInactiveTime", 154 }, - { "Resp_WifiSetMaxTxPower", 106 }, - { "Resp_WifiSetPromiscuous", 134 }, - { "Resp_WifiSetPromiscuousCtrlFilter", 138 }, - { "Resp_WifiSetPromiscuousFilter", 136 }, - { "Resp_WifiSetProtocol", 126 }, - { "Resp_WifiSetProtocols", 171 }, - { "Resp_WifiSetPs", 101 }, - { "Resp_WifiSetRssiThreshold", 157 }, - { "Resp_WifiSetStorage", 142 }, - { "Resp_WifiSetVendorIe", 143 }, - { "Resp_WifiStaGetAid", 167 }, - { "Resp_WifiStaGetApInfo", 125 }, - { "Resp_WifiStaGetNegotiatedPhymode", 168 }, - { "Resp_WifiStaGetRssi", 170 }, - { "Resp_WifiStaItwtGetFlowIdStatus", 187 }, - { "Resp_WifiStaItwtSendProbeReq", 188 }, - { "Resp_WifiStaItwtSetTargetWakeTimeOffset", 189 }, - { "Resp_WifiStaItwtSetup", 184 }, - { "Resp_WifiStaItwtSuspend", 186 }, - { "Resp_WifiStaItwtTeardown", 185 }, - { "Resp_WifiStaTwtConfig", 183 }, - { "Resp_WifiStart", 111 }, - { "Resp_WifiStatisDump", 156 }, - { "Resp_WifiStop", 112 }, + { "Resp_Base", 103 }, + { "Resp_ConfigHeartbeat", 115 }, + { "Resp_GetCoprocessorFwVersion", 186 }, + { "Resp_GetDhcpDnsStatus", 189 }, + { "Resp_GetMACAddress", 104 }, + { "Resp_GetWifiMode", 106 }, + { "Resp_GpioConfig", 197 }, + { "Resp_GpioGetLevel", 200 }, + { "Resp_GpioInputEnable", 202 }, + { "Resp_GpioResetPin", 198 }, + { "Resp_GpioSetDirection", 201 }, + { "Resp_GpioSetLevel", 199 }, + { "Resp_GpioSetPullMode", 203 }, + { "Resp_Max", 204 }, + { "Resp_OTABegin", 110 }, + { "Resp_OTAEnd", 112 }, + { "Resp_OTAWrite", 111 }, + { "Resp_SetDhcpDnsStatus", 188 }, + { "Resp_SetMacAddress", 105 }, + { "Resp_SetWifiMode", 107 }, + { "Resp_Wifi80211Tx", 153 }, + { "Resp_WifiApGetStaAid", 148 }, + { "Resp_WifiApGetStaList", 147 }, + { "Resp_WifiClearApList", 128 }, + { "Resp_WifiClearFastConnect", 130 }, + { "Resp_WifiConfig11bRate", 168 }, + { "Resp_WifiConfig80211TxRate", 172 }, + { "Resp_WifiConnect", 120 }, + { "Resp_WifiConnectionlessModuleSetWakeInterval", 169 }, + { "Resp_WifiDeauthSta", 131 }, + { "Resp_WifiDeinit", 117 }, + { "Resp_WifiDisablePmfConfig", 173 }, + { "Resp_WifiDisconnect", 121 }, + { "Resp_WifiFtmEndSession", 166 }, + { "Resp_WifiFtmInitiateSession", 165 }, + { "Resp_WifiFtmRespSetOffset", 167 }, + { "Resp_WifiGetAnt", 159 }, + { "Resp_WifiGetAntGpio", 157 }, + { "Resp_WifiGetBand", 183 }, + { "Resp_WifiGetBandMode", 185 }, + { "Resp_WifiGetBandwidth", 136 }, + { "Resp_WifiGetBandwidths", 181 }, + { "Resp_WifiGetChannel", 138 }, + { "Resp_WifiGetConfig", 123 }, + { "Resp_WifiGetCountry", 140 }, + { "Resp_WifiGetCountryCode", 171 }, + { "Resp_WifiGetEventMask", 152 }, + { "Resp_WifiGetInactiveTime", 162 }, + { "Resp_WifiGetMaxTxPower", 114 }, + { "Resp_WifiGetPromiscuous", 142 }, + { "Resp_WifiGetPromiscuousCtrlFilter", 146 }, + { "Resp_WifiGetPromiscuousFilter", 144 }, + { "Resp_WifiGetProtocol", 134 }, + { "Resp_WifiGetProtocols", 179 }, + { "Resp_WifiGetPs", 109 }, + { "Resp_WifiGetTsfTime", 160 }, + { "Resp_WifiInit", 116 }, + { "Resp_WifiRestore", 129 }, + { "Resp_WifiScanGetApNum", 126 }, + { "Resp_WifiScanGetApRecord", 187 }, + { "Resp_WifiScanGetApRecords", 127 }, + { "Resp_WifiScanStart", 124 }, + { "Resp_WifiScanStop", 125 }, + { "Resp_WifiSetAnt", 158 }, + { "Resp_WifiSetAntGpio", 156 }, + { "Resp_WifiSetBand", 182 }, + { "Resp_WifiSetBandMode", 184 }, + { "Resp_WifiSetBandwidth", 135 }, + { "Resp_WifiSetBandwidths", 180 }, + { "Resp_WifiSetChannel", 137 }, + { "Resp_WifiSetConfig", 122 }, + { "Resp_WifiSetCountry", 139 }, + { "Resp_WifiSetCountryCode", 170 }, + { "Resp_WifiSetCsi", 155 }, + { "Resp_WifiSetCsiConfig", 154 }, + { "Resp_WifiSetDynamicCs", 176 }, + { "Resp_WifiSetEventMask", 151 }, + { "Resp_WifiSetInactiveTime", 161 }, + { "Resp_WifiSetMaxTxPower", 113 }, + { "Resp_WifiSetPromiscuous", 141 }, + { "Resp_WifiSetPromiscuousCtrlFilter", 145 }, + { "Resp_WifiSetPromiscuousFilter", 143 }, + { "Resp_WifiSetProtocol", 133 }, + { "Resp_WifiSetProtocols", 178 }, + { "Resp_WifiSetPs", 108 }, + { "Resp_WifiSetRssiThreshold", 164 }, + { "Resp_WifiSetStorage", 149 }, + { "Resp_WifiSetVendorIe", 150 }, + { "Resp_WifiStaGetAid", 174 }, + { "Resp_WifiStaGetApInfo", 132 }, + { "Resp_WifiStaGetNegotiatedPhymode", 175 }, + { "Resp_WifiStaGetRssi", 177 }, + { "Resp_WifiStaItwtGetFlowIdStatus", 194 }, + { "Resp_WifiStaItwtSendProbeReq", 195 }, + { "Resp_WifiStaItwtSetTargetWakeTimeOffset", 196 }, + { "Resp_WifiStaItwtSetup", 191 }, + { "Resp_WifiStaItwtSuspend", 193 }, + { "Resp_WifiStaItwtTeardown", 192 }, + { "Resp_WifiStaTwtConfig", 190 }, + { "Resp_WifiStart", 118 }, + { "Resp_WifiStatisDump", 163 }, + { "Resp_WifiStop", 119 }, }; const ProtobufCEnumDescriptor rpc_id__descriptor = { @@ -21515,11 +23076,73 @@ const ProtobufCEnumDescriptor rpc_id__descriptor = "RpcId", "RpcId", "", - 206, + 220, rpc_id__enum_values_by_number, - 206, + 220, rpc_id__enum_values_by_name, 8, rpc_id__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; +static const ProtobufCEnumValue rpc__gpio_mode__enum_values_by_number[4] = +{ + { "GPIO_MODE_DISABLE", "RPC__GPIO_MODE__GPIO_MODE_DISABLE", 0 }, + { "GPIO_MODE_INPUT", "RPC__GPIO_MODE__GPIO_MODE_INPUT", 1 }, + { "GPIO_MODE_OUTPUT", "RPC__GPIO_MODE__GPIO_MODE_OUTPUT", 2 }, + { "GPIO_MODE_INPUT_OUTPUT", "RPC__GPIO_MODE__GPIO_MODE_INPUT_OUTPUT", 3 }, +}; +static const ProtobufCIntRange rpc__gpio_mode__value_ranges[] = { +{0, 0},{0, 4} +}; +static const ProtobufCEnumValueIndex rpc__gpio_mode__enum_values_by_name[4] = +{ + { "GPIO_MODE_DISABLE", 0 }, + { "GPIO_MODE_INPUT", 1 }, + { "GPIO_MODE_INPUT_OUTPUT", 3 }, + { "GPIO_MODE_OUTPUT", 2 }, +}; +const ProtobufCEnumDescriptor rpc__gpio_mode__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "Rpc_GpioMode", + "Rpc_GpioMode", + "RpcGpioMode", + "", + 4, + rpc__gpio_mode__enum_values_by_number, + 4, + rpc__gpio_mode__enum_values_by_name, + 1, + rpc__gpio_mode__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; +static const ProtobufCEnumValue rpc__gpio_pull_mode__enum_values_by_number[3] = +{ + { "GPIO_PULL_NONE", "RPC__GPIO_PULL_MODE__GPIO_PULL_NONE", 0 }, + { "GPIO_PULL_UP", "RPC__GPIO_PULL_MODE__GPIO_PULL_UP", 1 }, + { "GPIO_PULL_DOWN", "RPC__GPIO_PULL_MODE__GPIO_PULL_DOWN", 2 }, +}; +static const ProtobufCIntRange rpc__gpio_pull_mode__value_ranges[] = { +{0, 0},{0, 3} +}; +static const ProtobufCEnumValueIndex rpc__gpio_pull_mode__enum_values_by_name[3] = +{ + { "GPIO_PULL_DOWN", 2 }, + { "GPIO_PULL_NONE", 0 }, + { "GPIO_PULL_UP", 1 }, +}; +const ProtobufCEnumDescriptor rpc__gpio_pull_mode__descriptor = +{ + PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, + "Rpc_GpioPullMode", + "Rpc_GpioPullMode", + "RpcGpioPullMode", + "", + 3, + rpc__gpio_pull_mode__enum_values_by_number, + 3, + rpc__gpio_pull_mode__enum_values_by_name, + 1, + rpc__gpio_pull_mode__value_ranges, + NULL,NULL,NULL,NULL /* reserved[1234] */ +}; diff --git a/common/proto/esp_hosted_rpc.pb-c.h b/common/proto/esp_hosted_rpc.pb-c.h index 33d1816..23488d0 100644 --- a/common/proto/esp_hosted_rpc.pb-c.h +++ b/common/proto/esp_hosted_rpc.pb-c.h @@ -9,9 +9,9 @@ PROTOBUF_C__BEGIN_DECLS #if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1004001 < PROTOBUF_C_MIN_COMPILER_VERSION -# 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. +# error This file was generated by a newer version of protobuf-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1005002 < PROTOBUF_C_MIN_COMPILER_VERSION +# error This file was generated by an older version of protobuf-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protobuf-c. #endif @@ -202,6 +202,21 @@ typedef struct RpcEventAPStaConnected RpcEventAPStaConnected; typedef struct RpcEventStaScanDone RpcEventStaScanDone; typedef struct RpcEventStaConnected RpcEventStaConnected; typedef struct RpcEventStaDisconnected RpcEventStaDisconnected; +typedef struct RpcGpioConfig RpcGpioConfig; +typedef struct RpcReqGpioConfig RpcReqGpioConfig; +typedef struct RpcRespGpioConfig RpcRespGpioConfig; +typedef struct RpcReqGpioReset RpcReqGpioReset; +typedef struct RpcRespGpioResetPin RpcRespGpioResetPin; +typedef struct RpcReqGpioSetLevel RpcReqGpioSetLevel; +typedef struct RpcRespGpioSetLevel RpcRespGpioSetLevel; +typedef struct RpcReqGpioGetLevel RpcReqGpioGetLevel; +typedef struct RpcRespGpioGetLevel RpcRespGpioGetLevel; +typedef struct RpcReqGpioSetDirection RpcReqGpioSetDirection; +typedef struct RpcRespGpioSetDirection RpcRespGpioSetDirection; +typedef struct RpcReqGpioInputEnable RpcReqGpioInputEnable; +typedef struct RpcRespGpioInputEnable RpcRespGpioInputEnable; +typedef struct RpcReqGpioSetPullMode RpcReqGpioSetPullMode; +typedef struct RpcRespGpioSetPullMode RpcRespGpioSetPullMode; typedef struct RpcEventDhcpDnsStatus RpcEventDhcpDnsStatus; typedef struct RpcEventStaItwtSetup RpcEventStaItwtSetup; typedef struct RpcEventStaItwtTeardown RpcEventStaItwtTeardown; @@ -649,14 +664,42 @@ typedef enum _RpcId { *0x168 */ RPC_ID__Req_WifiStaItwtSetTargetWakeTimeOffset = 360, + /* + * 0x169 + */ + RPC_ID__Req_GpioConfig = 361, + /* + * 0x16a + */ + RPC_ID__Req_GpioResetPin = 362, + /* + * 0x16b + */ + RPC_ID__Req_GpioSetLevel = 363, + /* + * 0x16c + */ + RPC_ID__Req_GpioGetLevel = 364, + /* + * 0x16d + */ + RPC_ID__Req_GpioSetDirection = 365, + /* + * 0x16e + */ + RPC_ID__Req_GpioInputEnable = 366, + /* + * 0x16f + */ + RPC_ID__Req_GpioSetPullMode = 367, /* * Add new control path command response before Req_Max * and update Req_Max */ /* - *0x169 + *0x170 */ - RPC_ID__Req_Max = 361, + RPC_ID__Req_Max = 368, /* ** Response Msgs * */ @@ -767,11 +810,18 @@ typedef enum _RpcId { RPC_ID__Resp_WifiStaItwtGetFlowIdStatus = 614, RPC_ID__Resp_WifiStaItwtSendProbeReq = 615, RPC_ID__Resp_WifiStaItwtSetTargetWakeTimeOffset = 616, + RPC_ID__Resp_GpioConfig = 617, + RPC_ID__Resp_GpioResetPin = 618, + RPC_ID__Resp_GpioSetLevel = 619, + RPC_ID__Resp_GpioGetLevel = 620, + RPC_ID__Resp_GpioSetDirection = 621, + RPC_ID__Resp_GpioInputEnable = 622, + RPC_ID__Resp_GpioSetPullMode = 623, /* * Add new control path command response before Resp_Max * and update Resp_Max */ - RPC_ID__Resp_Max = 617, + RPC_ID__Resp_Max = 624, /* ** Event Msgs * */ @@ -796,6 +846,19 @@ typedef enum _RpcId { RPC_ID__Event_Max = 782 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(RPC_ID) } RpcId; +typedef enum _RpcGpioMode { + RPC__GPIO_MODE__GPIO_MODE_DISABLE = 0, + RPC__GPIO_MODE__GPIO_MODE_INPUT = 1, + RPC__GPIO_MODE__GPIO_MODE_OUTPUT = 2, + RPC__GPIO_MODE__GPIO_MODE_INPUT_OUTPUT = 3 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(RPC__GPIO_MODE) +} RpcGpioMode; +typedef enum _RpcGpioPullMode { + RPC__GPIO_PULL_MODE__GPIO_PULL_NONE = 0, + RPC__GPIO_PULL_MODE__GPIO_PULL_UP = 1, + RPC__GPIO_PULL_MODE__GPIO_PULL_DOWN = 2 + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(RPC__GPIO_PULL_MODE) +} RpcGpioPullMode; /* --- messages --- */ @@ -901,7 +964,7 @@ struct WifiInitConfig }; #define WIFI_INIT_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_init_config__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } +, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } struct WifiCountry @@ -931,7 +994,7 @@ struct WifiCountry }; #define WIFI_COUNTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_country__descriptor) \ - , {0,NULL}, 0, 0, 0, 0 } +, {0,NULL}, 0, 0, 0, 0 } struct WifiActiveScanTime @@ -949,7 +1012,7 @@ struct WifiActiveScanTime }; #define WIFI_ACTIVE_SCAN_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_active_scan_time__descriptor) \ - , 0, 0 } +, 0, 0 } struct WifiScanTime @@ -967,7 +1030,7 @@ struct WifiScanTime }; #define WIFI_SCAN_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_scan_time__descriptor) \ - , NULL, 0 } +, NULL, 0 } struct WifiScanChannelBitmap @@ -984,7 +1047,7 @@ struct WifiScanChannelBitmap }; #define WIFI_SCAN_CHANNEL_BITMAP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_scan_channel_bitmap__descriptor) \ - , 0, 0 } +, 0, 0 } struct WifiScanConfig @@ -1027,7 +1090,7 @@ struct WifiScanConfig }; #define WIFI_SCAN_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_scan_config__descriptor) \ - , {0,NULL}, {0,NULL}, 0, 0, 0, NULL, 0, NULL } +, {0,NULL}, {0,NULL}, 0, 0, 0, NULL, 0, NULL } struct WifiHeApInfo @@ -1049,7 +1112,7 @@ struct WifiHeApInfo }; #define WIFI_HE_AP_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_he_ap_info__descriptor) \ - , 0, 0 } +, 0, 0 } struct WifiApRecord @@ -1130,7 +1193,7 @@ struct WifiApRecord }; #define WIFI_AP_RECORD__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ap_record__descriptor) \ - , {0,NULL}, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0 } +, {0,NULL}, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0 } struct WifiScanThreshold @@ -1154,7 +1217,7 @@ struct WifiScanThreshold }; #define WIFI_SCAN_THRESHOLD__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_scan_threshold__descriptor) \ - , 0, 0, 0 } +, 0, 0, 0 } struct WifiPmfConfig @@ -1171,7 +1234,7 @@ struct WifiPmfConfig }; #define WIFI_PMF_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_pmf_config__descriptor) \ - , 0, 0 } +, 0, 0 } struct WifiBssMaxIdleConfig @@ -1188,7 +1251,7 @@ struct WifiBssMaxIdleConfig }; #define WIFI_BSS_MAX_IDLE_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_bss_max_idle_config__descriptor) \ - , 0, 0 } +, 0, 0 } struct WifiApConfig @@ -1271,7 +1334,7 @@ struct WifiApConfig }; #define WIFI_AP_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ap_config__descriptor) \ - , {0,NULL}, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, NULL, 0 } +, {0,NULL}, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, NULL, 0 } struct WifiStaConfig @@ -1367,7 +1430,7 @@ struct WifiStaConfig }; #define WIFI_STA_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_sta_config__descriptor) \ - , {0,NULL}, {0,NULL}, 0, 0, {0,NULL}, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, {0,NULL}, 0 } +, {0,NULL}, {0,NULL}, 0, 0, {0,NULL}, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, {0,NULL}, 0 } typedef enum { @@ -1394,7 +1457,7 @@ struct WifiConfig }; #define WIFI_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_config__descriptor) \ - , WIFI_CONFIG__U__NOT_SET, {0} } +, WIFI_CONFIG__U__NOT_SET, {0} } struct WifiStaInfo @@ -1421,7 +1484,7 @@ struct WifiStaInfo }; #define WIFI_STA_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_sta_info__descriptor) \ - , {0,NULL}, 0, 0 } +, {0,NULL}, 0, 0 } struct WifiStaList @@ -1439,7 +1502,7 @@ struct WifiStaList }; #define WIFI_STA_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_sta_list__descriptor) \ - , 0,NULL, 0 } +, 0,NULL, 0 } struct WifiPktRxCtrl @@ -1547,7 +1610,7 @@ struct WifiPktRxCtrl }; #define WIFI_PKT_RX_CTRL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_pkt_rx_ctrl__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } +, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } struct WifiPromiscuousPkt @@ -1564,7 +1627,7 @@ struct WifiPromiscuousPkt }; #define WIFI_PROMISCUOUS_PKT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_promiscuous_pkt__descriptor) \ - , NULL, {0,NULL} } +, NULL, {0,NULL} } struct WifiPromiscuousFilter @@ -1577,7 +1640,7 @@ struct WifiPromiscuousFilter }; #define WIFI_PROMISCUOUS_FILTER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_promiscuous_filter__descriptor) \ - , 0 } +, 0 } struct WifiCsiConfig @@ -1615,7 +1678,7 @@ struct WifiCsiConfig }; #define WIFI_CSI_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_csi_config__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0 } +, 0, 0, 0, 0, 0, 0, 0 } struct WifiCsiInfo @@ -1648,7 +1711,7 @@ struct WifiCsiInfo }; #define WIFI_CSI_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_csi_info__descriptor) \ - , NULL, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0 } +, NULL, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0 } struct WifiAntGpio @@ -1665,7 +1728,7 @@ struct WifiAntGpio }; #define WIFI_ANT_GPIO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ant_gpio__descriptor) \ - , 0, 0 } +, 0, 0 } struct WifiAntGpioConfig @@ -1679,7 +1742,7 @@ struct WifiAntGpioConfig }; #define WIFI_ANT_GPIO_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ant_gpio_config__descriptor) \ - , 0,NULL } +, 0,NULL } struct WifiAntConfig @@ -1708,7 +1771,7 @@ struct WifiAntConfig }; #define WIFI_ANT_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ant_config__descriptor) \ - , 0, 0, 0, 0, 0 } +, 0, 0, 0, 0, 0 } struct WifiActionTxReq @@ -1741,7 +1804,7 @@ struct WifiActionTxReq }; #define WIFI_ACTION_TX_REQ__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_action_tx_req__descriptor) \ - , 0, {0,NULL}, 0, 0, {0,NULL} } +, 0, {0,NULL}, 0, 0, {0,NULL} } struct WifiFtmInitiatorCfg @@ -1766,7 +1829,7 @@ struct WifiFtmInitiatorCfg }; #define WIFI_FTM_INITIATOR_CFG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ftm_initiator_cfg__descriptor) \ - , {0,NULL}, 0, 0, 0 } +, {0,NULL}, 0, 0, 0 } struct WifiEventStaScanDone @@ -1787,7 +1850,7 @@ struct WifiEventStaScanDone }; #define WIFI_EVENT_STA_SCAN_DONE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_scan_done__descriptor) \ - , 0, 0, 0 } +, 0, 0, 0 } struct WifiEventStaConnected @@ -1820,7 +1883,7 @@ struct WifiEventStaConnected }; #define WIFI_EVENT_STA_CONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_connected__descriptor) \ - , {0,NULL}, 0, {0,NULL}, 0, 0, 0 } +, {0,NULL}, 0, {0,NULL}, 0, 0, 0 } struct WifiEventStaDisconnected @@ -1849,7 +1912,7 @@ struct WifiEventStaDisconnected }; #define WIFI_EVENT_STA_DISCONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_disconnected__descriptor) \ - , {0,NULL}, 0, {0,NULL}, 0, 0 } +, {0,NULL}, 0, {0,NULL}, 0, 0 } struct WifiEventStaAuthmodeChange @@ -1866,7 +1929,7 @@ struct WifiEventStaAuthmodeChange }; #define WIFI_EVENT_STA_AUTHMODE_CHANGE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_authmode_change__descriptor) \ - , 0, 0 } +, 0, 0 } struct WifiEventStaWpsErPin @@ -1879,7 +1942,7 @@ struct WifiEventStaWpsErPin }; #define WIFI_EVENT_STA_WPS_ER_PIN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_wps_er_pin__descriptor) \ - , {0,NULL} } +, {0,NULL} } struct ApCred @@ -1896,7 +1959,7 @@ struct ApCred }; #define AP_CRED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&ap_cred__descriptor) \ - , {0,NULL}, {0,NULL} } +, {0,NULL}, {0,NULL} } struct WifiEventStaWpsErSuccess @@ -1914,7 +1977,7 @@ struct WifiEventStaWpsErSuccess }; #define WIFI_EVENT_STA_WPS_ER_SUCCESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_wps_er_success__descriptor) \ - , 0, 0,NULL } +, 0, 0,NULL } /* @@ -1934,7 +1997,7 @@ struct WifiEventApProbeReqRx }; #define WIFI_EVENT_AP_PROBE_REQ_RX__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_ap_probe_req_rx__descriptor) \ - , 0, 0 } +, 0, 0 } /* @@ -1950,7 +2013,7 @@ struct WifiEventBssRssiLow }; #define WIFI_EVENT_BSS_RSSI_LOW__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_bss_rssi_low__descriptor) \ - , 0 } +, 0 } struct WifiFtmReportEntry @@ -1990,7 +2053,7 @@ struct WifiFtmReportEntry }; #define WIFI_FTM_REPORT_ENTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ftm_report_entry__descriptor) \ - , 0, 0, 0, 0, 0, 0, 0 } +, 0, 0, 0, 0, 0, 0, 0 } struct WifiEventFtmReport @@ -2028,7 +2091,7 @@ struct WifiEventFtmReport }; #define WIFI_EVENT_FTM_REPORT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_ftm_report__descriptor) \ - , {0,NULL}, 0, 0, 0, 0, 0,NULL, 0 } +, {0,NULL}, 0, 0, 0, 0, 0,NULL, 0 } struct WifiEventActionTxStatus @@ -2053,7 +2116,7 @@ struct WifiEventActionTxStatus }; #define WIFI_EVENT_ACTION_TX_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_action_tx_status__descriptor) \ - , 0, 0, {0,NULL}, 0 } +, 0, 0, {0,NULL}, 0 } struct WifiEventRocDone @@ -2066,7 +2129,7 @@ struct WifiEventRocDone }; #define WIFI_EVENT_ROC_DONE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_roc_done__descriptor) \ - , 0 } +, 0 } struct WifiEventApWpsRgPin @@ -2079,7 +2142,7 @@ struct WifiEventApWpsRgPin }; #define WIFI_EVENT_AP_WPS_RG_PIN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_ap_wps_rg_pin__descriptor) \ - , {0,NULL} } +, {0,NULL} } struct WifiEventApWpsRgFailReason @@ -2096,7 +2159,7 @@ struct WifiEventApWpsRgFailReason }; #define WIFI_EVENT_AP_WPS_RG_FAIL_REASON__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_ap_wps_rg_fail_reason__descriptor) \ - , 0, {0,NULL} } +, 0, {0,NULL} } struct WifiEventApWpsRgSuccess @@ -2109,7 +2172,7 @@ struct WifiEventApWpsRgSuccess }; #define WIFI_EVENT_AP_WPS_RG_SUCCESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_ap_wps_rg_success__descriptor) \ - , {0,NULL} } +, {0,NULL} } struct WifiProtocols @@ -2126,7 +2189,7 @@ struct WifiProtocols }; #define WIFI_PROTOCOLS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_protocols__descriptor) \ - , 0, 0 } +, 0, 0 } struct WifiBandwidths @@ -2143,7 +2206,7 @@ struct WifiBandwidths }; #define WIFI_BANDWIDTHS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_bandwidths__descriptor) \ - , 0, 0 } +, 0, 0 } struct WifiItwtSetupConfig @@ -2168,7 +2231,7 @@ struct WifiItwtSetupConfig }; #define WIFI_ITWT_SETUP_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_itwt_setup_config__descriptor) \ - , 0, 0, 0, 0, 0, 0 } +, 0, 0, 0, 0, 0, 0 } struct WifiTwtConfig @@ -2185,7 +2248,7 @@ struct WifiTwtConfig }; #define WIFI_TWT_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_twt_config__descriptor) \ - , 0, 0 } +, 0, 0 } struct ConnectedSTAList @@ -2196,7 +2259,7 @@ struct ConnectedSTAList }; #define CONNECTED_STALIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&connected_stalist__descriptor) \ - , {0,NULL}, 0 } +, {0,NULL}, 0 } /* @@ -2209,7 +2272,7 @@ struct RpcReqGetMacAddress }; #define RPC__REQ__GET_MAC_ADDRESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__get_mac_address__descriptor) \ - , 0 } +, 0 } struct RpcRespGetMacAddress @@ -2220,7 +2283,7 @@ struct RpcRespGetMacAddress }; #define RPC__RESP__GET_MAC_ADDRESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__get_mac_address__descriptor) \ - , {0,NULL}, 0 } +, {0,NULL}, 0 } struct RpcReqGetMode @@ -2229,7 +2292,7 @@ struct RpcReqGetMode }; #define RPC__REQ__GET_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__get_mode__descriptor) \ - } + } struct RpcRespGetMode @@ -2240,7 +2303,7 @@ struct RpcRespGetMode }; #define RPC__RESP__GET_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__get_mode__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqSetMode @@ -2250,7 +2313,7 @@ struct RpcReqSetMode }; #define RPC__REQ__SET_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__set_mode__descriptor) \ - , 0 } +, 0 } struct RpcRespSetMode @@ -2260,7 +2323,7 @@ struct RpcRespSetMode }; #define RPC__RESP__SET_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__set_mode__descriptor) \ - , 0 } +, 0 } struct RpcReqGetPs @@ -2269,7 +2332,7 @@ struct RpcReqGetPs }; #define RPC__REQ__GET_PS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__get_ps__descriptor) \ - } + } struct RpcRespGetPs @@ -2280,7 +2343,7 @@ struct RpcRespGetPs }; #define RPC__RESP__GET_PS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__get_ps__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqSetPs @@ -2290,7 +2353,7 @@ struct RpcReqSetPs }; #define RPC__REQ__SET_PS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__set_ps__descriptor) \ - , 0 } +, 0 } struct RpcRespSetPs @@ -2300,7 +2363,7 @@ struct RpcRespSetPs }; #define RPC__RESP__SET_PS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__set_ps__descriptor) \ - , 0 } +, 0 } struct RpcReqSetMacAddress @@ -2311,7 +2374,7 @@ struct RpcReqSetMacAddress }; #define RPC__REQ__SET_MAC_ADDRESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__set_mac_address__descriptor) \ - , {0,NULL}, 0 } +, {0,NULL}, 0 } struct RpcRespSetMacAddress @@ -2321,7 +2384,7 @@ struct RpcRespSetMacAddress }; #define RPC__RESP__SET_MAC_ADDRESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__set_mac_address__descriptor) \ - , 0 } +, 0 } struct RpcReqOTABegin @@ -2330,7 +2393,7 @@ struct RpcReqOTABegin }; #define RPC__REQ__OTABEGIN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__otabegin__descriptor) \ - } + } struct RpcRespOTABegin @@ -2340,7 +2403,7 @@ struct RpcRespOTABegin }; #define RPC__RESP__OTABEGIN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__otabegin__descriptor) \ - , 0 } +, 0 } struct RpcReqOTAWrite @@ -2350,7 +2413,7 @@ struct RpcReqOTAWrite }; #define RPC__REQ__OTAWRITE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__otawrite__descriptor) \ - , {0,NULL} } +, {0,NULL} } struct RpcRespOTAWrite @@ -2360,7 +2423,7 @@ struct RpcRespOTAWrite }; #define RPC__RESP__OTAWRITE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__otawrite__descriptor) \ - , 0 } +, 0 } struct RpcReqOTAEnd @@ -2369,7 +2432,7 @@ struct RpcReqOTAEnd }; #define RPC__REQ__OTAEND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__otaend__descriptor) \ - } + } struct RpcRespOTAEnd @@ -2379,7 +2442,7 @@ struct RpcRespOTAEnd }; #define RPC__RESP__OTAEND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__otaend__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiSetMaxTxPower @@ -2389,7 +2452,7 @@ struct RpcReqWifiSetMaxTxPower }; #define RPC__REQ__WIFI_SET_MAX_TX_POWER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_max_tx_power__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiSetMaxTxPower @@ -2399,7 +2462,7 @@ struct RpcRespWifiSetMaxTxPower }; #define RPC__RESP__WIFI_SET_MAX_TX_POWER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_max_tx_power__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiGetMaxTxPower @@ -2408,7 +2471,7 @@ struct RpcReqWifiGetMaxTxPower }; #define RPC__REQ__WIFI_GET_MAX_TX_POWER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_max_tx_power__descriptor) \ - } + } struct RpcRespWifiGetMaxTxPower @@ -2419,7 +2482,7 @@ struct RpcRespWifiGetMaxTxPower }; #define RPC__RESP__WIFI_GET_MAX_TX_POWER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_max_tx_power__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqConfigHeartbeat @@ -2430,7 +2493,7 @@ struct RpcReqConfigHeartbeat }; #define RPC__REQ__CONFIG_HEARTBEAT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__config_heartbeat__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcRespConfigHeartbeat @@ -2440,7 +2503,7 @@ struct RpcRespConfigHeartbeat }; #define RPC__RESP__CONFIG_HEARTBEAT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__config_heartbeat__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiInit @@ -2450,7 +2513,7 @@ struct RpcReqWifiInit }; #define RPC__REQ__WIFI_INIT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_init__descriptor) \ - , NULL } +, NULL } struct RpcRespWifiInit @@ -2460,7 +2523,7 @@ struct RpcRespWifiInit }; #define RPC__RESP__WIFI_INIT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_init__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiDeinit @@ -2469,7 +2532,7 @@ struct RpcReqWifiDeinit }; #define RPC__REQ__WIFI_DEINIT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_deinit__descriptor) \ - } + } struct RpcRespWifiDeinit @@ -2479,7 +2542,7 @@ struct RpcRespWifiDeinit }; #define RPC__RESP__WIFI_DEINIT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_deinit__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiSetConfig @@ -2490,7 +2553,7 @@ struct RpcReqWifiSetConfig }; #define RPC__REQ__WIFI_SET_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_config__descriptor) \ - , 0, NULL } +, 0, NULL } struct RpcRespWifiSetConfig @@ -2500,7 +2563,7 @@ struct RpcRespWifiSetConfig }; #define RPC__RESP__WIFI_SET_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_config__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiGetConfig @@ -2510,7 +2573,7 @@ struct RpcReqWifiGetConfig }; #define RPC__REQ__WIFI_GET_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_config__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiGetConfig @@ -2522,7 +2585,7 @@ struct RpcRespWifiGetConfig }; #define RPC__RESP__WIFI_GET_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_config__descriptor) \ - , 0, 0, NULL } +, 0, 0, NULL } struct RpcReqWifiConnect @@ -2531,7 +2594,7 @@ struct RpcReqWifiConnect }; #define RPC__REQ__WIFI_CONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_connect__descriptor) \ - } + } struct RpcRespWifiConnect @@ -2541,7 +2604,7 @@ struct RpcRespWifiConnect }; #define RPC__RESP__WIFI_CONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_connect__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiDisconnect @@ -2550,7 +2613,7 @@ struct RpcReqWifiDisconnect }; #define RPC__REQ__WIFI_DISCONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_disconnect__descriptor) \ - } + } struct RpcRespWifiDisconnect @@ -2560,7 +2623,7 @@ struct RpcRespWifiDisconnect }; #define RPC__RESP__WIFI_DISCONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_disconnect__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiStart @@ -2569,7 +2632,7 @@ struct RpcReqWifiStart }; #define RPC__REQ__WIFI_START__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_start__descriptor) \ - } + } struct RpcRespWifiStart @@ -2579,7 +2642,7 @@ struct RpcRespWifiStart }; #define RPC__RESP__WIFI_START__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_start__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiStop @@ -2588,7 +2651,7 @@ struct RpcReqWifiStop }; #define RPC__REQ__WIFI_STOP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_stop__descriptor) \ - } + } struct RpcRespWifiStop @@ -2598,7 +2661,7 @@ struct RpcRespWifiStop }; #define RPC__RESP__WIFI_STOP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_stop__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiScanStart @@ -2610,7 +2673,7 @@ struct RpcReqWifiScanStart }; #define RPC__REQ__WIFI_SCAN_START__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_scan_start__descriptor) \ - , NULL, 0, 0 } +, NULL, 0, 0 } struct RpcRespWifiScanStart @@ -2620,7 +2683,7 @@ struct RpcRespWifiScanStart }; #define RPC__RESP__WIFI_SCAN_START__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_scan_start__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiScanStop @@ -2629,7 +2692,7 @@ struct RpcReqWifiScanStop }; #define RPC__REQ__WIFI_SCAN_STOP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_scan_stop__descriptor) \ - } + } struct RpcRespWifiScanStop @@ -2639,7 +2702,7 @@ struct RpcRespWifiScanStop }; #define RPC__RESP__WIFI_SCAN_STOP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_scan_stop__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiScanGetApNum @@ -2648,7 +2711,7 @@ struct RpcReqWifiScanGetApNum }; #define RPC__REQ__WIFI_SCAN_GET_AP_NUM__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_scan_get_ap_num__descriptor) \ - } + } struct RpcRespWifiScanGetApNum @@ -2659,7 +2722,7 @@ struct RpcRespWifiScanGetApNum }; #define RPC__RESP__WIFI_SCAN_GET_AP_NUM__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_scan_get_ap_num__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiScanGetApRecords @@ -2669,7 +2732,7 @@ struct RpcReqWifiScanGetApRecords }; #define RPC__REQ__WIFI_SCAN_GET_AP_RECORDS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_scan_get_ap_records__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiScanGetApRecords @@ -2682,7 +2745,7 @@ struct RpcRespWifiScanGetApRecords }; #define RPC__RESP__WIFI_SCAN_GET_AP_RECORDS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_scan_get_ap_records__descriptor) \ - , 0, 0, 0,NULL } +, 0, 0, 0,NULL } struct RpcReqWifiScanGetApRecord @@ -2691,7 +2754,7 @@ struct RpcReqWifiScanGetApRecord }; #define RPC__REQ__WIFI_SCAN_GET_AP_RECORD__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_scan_get_ap_record__descriptor) \ - } + } struct RpcRespWifiScanGetApRecord @@ -2702,7 +2765,7 @@ struct RpcRespWifiScanGetApRecord }; #define RPC__RESP__WIFI_SCAN_GET_AP_RECORD__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_scan_get_ap_record__descriptor) \ - , 0, NULL } +, 0, NULL } struct RpcReqWifiClearApList @@ -2711,7 +2774,7 @@ struct RpcReqWifiClearApList }; #define RPC__REQ__WIFI_CLEAR_AP_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_clear_ap_list__descriptor) \ - } + } struct RpcRespWifiClearApList @@ -2721,7 +2784,7 @@ struct RpcRespWifiClearApList }; #define RPC__RESP__WIFI_CLEAR_AP_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_clear_ap_list__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiRestore @@ -2730,7 +2793,7 @@ struct RpcReqWifiRestore }; #define RPC__REQ__WIFI_RESTORE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_restore__descriptor) \ - } + } struct RpcRespWifiRestore @@ -2740,7 +2803,7 @@ struct RpcRespWifiRestore }; #define RPC__RESP__WIFI_RESTORE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_restore__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiClearFastConnect @@ -2749,7 +2812,7 @@ struct RpcReqWifiClearFastConnect }; #define RPC__REQ__WIFI_CLEAR_FAST_CONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_clear_fast_connect__descriptor) \ - } + } struct RpcRespWifiClearFastConnect @@ -2759,7 +2822,7 @@ struct RpcRespWifiClearFastConnect }; #define RPC__RESP__WIFI_CLEAR_FAST_CONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_clear_fast_connect__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiDeauthSta @@ -2769,7 +2832,7 @@ struct RpcReqWifiDeauthSta }; #define RPC__REQ__WIFI_DEAUTH_STA__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_deauth_sta__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiDeauthSta @@ -2780,7 +2843,7 @@ struct RpcRespWifiDeauthSta }; #define RPC__RESP__WIFI_DEAUTH_STA__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_deauth_sta__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiStaGetApInfo @@ -2789,7 +2852,7 @@ struct RpcReqWifiStaGetApInfo }; #define RPC__REQ__WIFI_STA_GET_AP_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_get_ap_info__descriptor) \ - } + } struct RpcRespWifiStaGetApInfo @@ -2800,7 +2863,7 @@ struct RpcRespWifiStaGetApInfo }; #define RPC__RESP__WIFI_STA_GET_AP_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_get_ap_info__descriptor) \ - , 0, NULL } +, 0, NULL } struct RpcReqWifiSetProtocol @@ -2811,7 +2874,7 @@ struct RpcReqWifiSetProtocol }; #define RPC__REQ__WIFI_SET_PROTOCOL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_protocol__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcRespWifiSetProtocol @@ -2821,7 +2884,7 @@ struct RpcRespWifiSetProtocol }; #define RPC__RESP__WIFI_SET_PROTOCOL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_protocol__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiGetProtocol @@ -2831,7 +2894,7 @@ struct RpcReqWifiGetProtocol }; #define RPC__REQ__WIFI_GET_PROTOCOL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_protocol__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiGetProtocol @@ -2842,7 +2905,7 @@ struct RpcRespWifiGetProtocol }; #define RPC__RESP__WIFI_GET_PROTOCOL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_protocol__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiSetBandwidth @@ -2853,7 +2916,7 @@ struct RpcReqWifiSetBandwidth }; #define RPC__REQ__WIFI_SET_BANDWIDTH__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_bandwidth__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcRespWifiSetBandwidth @@ -2863,7 +2926,7 @@ struct RpcRespWifiSetBandwidth }; #define RPC__RESP__WIFI_SET_BANDWIDTH__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_bandwidth__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiGetBandwidth @@ -2873,7 +2936,7 @@ struct RpcReqWifiGetBandwidth }; #define RPC__REQ__WIFI_GET_BANDWIDTH__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_bandwidth__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiGetBandwidth @@ -2884,7 +2947,7 @@ struct RpcRespWifiGetBandwidth }; #define RPC__RESP__WIFI_GET_BANDWIDTH__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_bandwidth__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiSetChannel @@ -2895,7 +2958,7 @@ struct RpcReqWifiSetChannel }; #define RPC__REQ__WIFI_SET_CHANNEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_channel__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcRespWifiSetChannel @@ -2905,7 +2968,7 @@ struct RpcRespWifiSetChannel }; #define RPC__RESP__WIFI_SET_CHANNEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_channel__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiGetChannel @@ -2914,7 +2977,7 @@ struct RpcReqWifiGetChannel }; #define RPC__REQ__WIFI_GET_CHANNEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_channel__descriptor) \ - } + } struct RpcRespWifiGetChannel @@ -2926,7 +2989,7 @@ struct RpcRespWifiGetChannel }; #define RPC__RESP__WIFI_GET_CHANNEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_channel__descriptor) \ - , 0, 0, 0 } +, 0, 0, 0 } struct RpcReqWifiSetStorage @@ -2936,7 +2999,7 @@ struct RpcReqWifiSetStorage }; #define RPC__REQ__WIFI_SET_STORAGE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_storage__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiSetStorage @@ -2946,7 +3009,7 @@ struct RpcRespWifiSetStorage }; #define RPC__RESP__WIFI_SET_STORAGE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_storage__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiSetCountryCode @@ -2957,7 +3020,7 @@ struct RpcReqWifiSetCountryCode }; #define RPC__REQ__WIFI_SET_COUNTRY_CODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_country_code__descriptor) \ - , {0,NULL}, 0 } +, {0,NULL}, 0 } struct RpcRespWifiSetCountryCode @@ -2967,7 +3030,7 @@ struct RpcRespWifiSetCountryCode }; #define RPC__RESP__WIFI_SET_COUNTRY_CODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_country_code__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiGetCountryCode @@ -2976,7 +3039,7 @@ struct RpcReqWifiGetCountryCode }; #define RPC__REQ__WIFI_GET_COUNTRY_CODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_country_code__descriptor) \ - } + } struct RpcRespWifiGetCountryCode @@ -2987,7 +3050,7 @@ struct RpcRespWifiGetCountryCode }; #define RPC__RESP__WIFI_GET_COUNTRY_CODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_country_code__descriptor) \ - , 0, {0,NULL} } +, 0, {0,NULL} } struct RpcReqWifiSetCountry @@ -2997,7 +3060,7 @@ struct RpcReqWifiSetCountry }; #define RPC__REQ__WIFI_SET_COUNTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_country__descriptor) \ - , NULL } +, NULL } struct RpcRespWifiSetCountry @@ -3007,7 +3070,7 @@ struct RpcRespWifiSetCountry }; #define RPC__RESP__WIFI_SET_COUNTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_country__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiGetCountry @@ -3016,7 +3079,7 @@ struct RpcReqWifiGetCountry }; #define RPC__REQ__WIFI_GET_COUNTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_country__descriptor) \ - } + } struct RpcRespWifiGetCountry @@ -3027,7 +3090,7 @@ struct RpcRespWifiGetCountry }; #define RPC__RESP__WIFI_GET_COUNTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_country__descriptor) \ - , 0, NULL } +, 0, NULL } struct RpcReqWifiApGetStaList @@ -3036,7 +3099,7 @@ struct RpcReqWifiApGetStaList }; #define RPC__REQ__WIFI_AP_GET_STA_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_ap_get_sta_list__descriptor) \ - } + } struct RpcRespWifiApGetStaList @@ -3047,7 +3110,7 @@ struct RpcRespWifiApGetStaList }; #define RPC__RESP__WIFI_AP_GET_STA_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_ap_get_sta_list__descriptor) \ - , 0, NULL } +, 0, NULL } struct RpcReqWifiApGetStaAid @@ -3057,7 +3120,7 @@ struct RpcReqWifiApGetStaAid }; #define RPC__REQ__WIFI_AP_GET_STA_AID__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_ap_get_sta_aid__descriptor) \ - , {0,NULL} } +, {0,NULL} } struct RpcReqWifiStaGetNegotiatedPhymode @@ -3066,7 +3129,7 @@ struct RpcReqWifiStaGetNegotiatedPhymode }; #define RPC__REQ__WIFI_STA_GET_NEGOTIATED_PHYMODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_get_negotiated_phymode__descriptor) \ - } + } struct RpcRespWifiStaGetNegotiatedPhymode @@ -3077,7 +3140,7 @@ struct RpcRespWifiStaGetNegotiatedPhymode }; #define RPC__RESP__WIFI_STA_GET_NEGOTIATED_PHYMODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_get_negotiated_phymode__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcRespWifiApGetStaAid @@ -3088,7 +3151,7 @@ struct RpcRespWifiApGetStaAid }; #define RPC__RESP__WIFI_AP_GET_STA_AID__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_ap_get_sta_aid__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiStaGetRssi @@ -3097,7 +3160,7 @@ struct RpcReqWifiStaGetRssi }; #define RPC__REQ__WIFI_STA_GET_RSSI__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_get_rssi__descriptor) \ - } + } struct RpcRespWifiStaGetRssi @@ -3108,7 +3171,7 @@ struct RpcRespWifiStaGetRssi }; #define RPC__RESP__WIFI_STA_GET_RSSI__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_get_rssi__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiStaGetAid @@ -3117,7 +3180,7 @@ struct RpcReqWifiStaGetAid }; #define RPC__REQ__WIFI_STA_GET_AID__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_get_aid__descriptor) \ - } + } struct RpcRespWifiStaGetAid @@ -3128,7 +3191,7 @@ struct RpcRespWifiStaGetAid }; #define RPC__RESP__WIFI_STA_GET_AID__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_get_aid__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiSetProtocols @@ -3139,7 +3202,7 @@ struct RpcReqWifiSetProtocols }; #define RPC__REQ__WIFI_SET_PROTOCOLS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_protocols__descriptor) \ - , 0, NULL } +, 0, NULL } struct RpcRespWifiSetProtocols @@ -3150,7 +3213,7 @@ struct RpcRespWifiSetProtocols }; #define RPC__RESP__WIFI_SET_PROTOCOLS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_protocols__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiGetProtocols @@ -3160,7 +3223,7 @@ struct RpcReqWifiGetProtocols }; #define RPC__REQ__WIFI_GET_PROTOCOLS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_protocols__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiGetProtocols @@ -3172,7 +3235,7 @@ struct RpcRespWifiGetProtocols }; #define RPC__RESP__WIFI_GET_PROTOCOLS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_protocols__descriptor) \ - , 0, 0, NULL } +, 0, 0, NULL } struct RpcReqWifiSetBandwidths @@ -3183,7 +3246,7 @@ struct RpcReqWifiSetBandwidths }; #define RPC__REQ__WIFI_SET_BANDWIDTHS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_bandwidths__descriptor) \ - , 0, NULL } +, 0, NULL } struct RpcRespWifiSetBandwidths @@ -3194,7 +3257,7 @@ struct RpcRespWifiSetBandwidths }; #define RPC__RESP__WIFI_SET_BANDWIDTHS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_bandwidths__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiGetBandwidths @@ -3204,7 +3267,7 @@ struct RpcReqWifiGetBandwidths }; #define RPC__REQ__WIFI_GET_BANDWIDTHS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_bandwidths__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiGetBandwidths @@ -3216,7 +3279,7 @@ struct RpcRespWifiGetBandwidths }; #define RPC__RESP__WIFI_GET_BANDWIDTHS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_bandwidths__descriptor) \ - , 0, 0, NULL } +, 0, 0, NULL } struct RpcReqWifiSetBand @@ -3226,7 +3289,7 @@ struct RpcReqWifiSetBand }; #define RPC__REQ__WIFI_SET_BAND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_band__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiSetBand @@ -3236,7 +3299,7 @@ struct RpcRespWifiSetBand }; #define RPC__RESP__WIFI_SET_BAND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_band__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiGetBand @@ -3245,7 +3308,7 @@ struct RpcReqWifiGetBand }; #define RPC__REQ__WIFI_GET_BAND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_band__descriptor) \ - } + } struct RpcRespWifiGetBand @@ -3256,7 +3319,7 @@ struct RpcRespWifiGetBand }; #define RPC__RESP__WIFI_GET_BAND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_band__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiSetBandMode @@ -3266,7 +3329,7 @@ struct RpcReqWifiSetBandMode }; #define RPC__REQ__WIFI_SET_BAND_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_band_mode__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiSetBandMode @@ -3276,7 +3339,7 @@ struct RpcRespWifiSetBandMode }; #define RPC__RESP__WIFI_SET_BAND_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_band_mode__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiGetBandMode @@ -3285,7 +3348,7 @@ struct RpcReqWifiGetBandMode }; #define RPC__REQ__WIFI_GET_BAND_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_band_mode__descriptor) \ - } + } struct RpcRespWifiGetBandMode @@ -3296,7 +3359,7 @@ struct RpcRespWifiGetBandMode }; #define RPC__RESP__WIFI_GET_BAND_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_band_mode__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiSetInactiveTime @@ -3307,7 +3370,7 @@ struct RpcReqWifiSetInactiveTime }; #define RPC__REQ__WIFI_SET_INACTIVE_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_inactive_time__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcRespWifiSetInactiveTime @@ -3317,7 +3380,7 @@ struct RpcRespWifiSetInactiveTime }; #define RPC__RESP__WIFI_SET_INACTIVE_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_inactive_time__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiGetInactiveTime @@ -3327,7 +3390,7 @@ struct RpcReqWifiGetInactiveTime }; #define RPC__REQ__WIFI_GET_INACTIVE_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_inactive_time__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiGetInactiveTime @@ -3338,7 +3401,7 @@ struct RpcRespWifiGetInactiveTime }; #define RPC__RESP__WIFI_GET_INACTIVE_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_inactive_time__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiStaItwtSetup @@ -3348,7 +3411,7 @@ struct RpcReqWifiStaItwtSetup }; #define RPC__REQ__WIFI_STA_ITWT_SETUP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_setup__descriptor) \ - , NULL } +, NULL } struct RpcRespWifiStaItwtSetup @@ -3358,7 +3421,7 @@ struct RpcRespWifiStaItwtSetup }; #define RPC__RESP__WIFI_STA_ITWT_SETUP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_setup__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiStaItwtTeardown @@ -3368,7 +3431,7 @@ struct RpcReqWifiStaItwtTeardown }; #define RPC__REQ__WIFI_STA_ITWT_TEARDOWN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_teardown__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiStaItwtTeardown @@ -3378,7 +3441,7 @@ struct RpcRespWifiStaItwtTeardown }; #define RPC__RESP__WIFI_STA_ITWT_TEARDOWN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_teardown__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiStaItwtSuspend @@ -3389,7 +3452,7 @@ struct RpcReqWifiStaItwtSuspend }; #define RPC__REQ__WIFI_STA_ITWT_SUSPEND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_suspend__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcRespWifiStaItwtSuspend @@ -3399,7 +3462,7 @@ struct RpcRespWifiStaItwtSuspend }; #define RPC__RESP__WIFI_STA_ITWT_SUSPEND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_suspend__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiStaItwtGetFlowIdStatus @@ -3408,7 +3471,7 @@ struct RpcReqWifiStaItwtGetFlowIdStatus }; #define RPC__REQ__WIFI_STA_ITWT_GET_FLOW_ID_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_get_flow_id_status__descriptor) \ - } + } struct RpcRespWifiStaItwtGetFlowIdStatus @@ -3419,7 +3482,7 @@ struct RpcRespWifiStaItwtGetFlowIdStatus }; #define RPC__RESP__WIFI_STA_ITWT_GET_FLOW_ID_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_get_flow_id_status__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcReqWifiStaItwtSendProbeReq @@ -3429,7 +3492,7 @@ struct RpcReqWifiStaItwtSendProbeReq }; #define RPC__REQ__WIFI_STA_ITWT_SEND_PROBE_REQ__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_send_probe_req__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiStaItwtSendProbeReq @@ -3439,7 +3502,7 @@ struct RpcRespWifiStaItwtSendProbeReq }; #define RPC__RESP__WIFI_STA_ITWT_SEND_PROBE_REQ__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_send_probe_req__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiStaItwtSetTargetWakeTimeOffset @@ -3449,7 +3512,7 @@ struct RpcReqWifiStaItwtSetTargetWakeTimeOffset }; #define RPC__REQ__WIFI_STA_ITWT_SET_TARGET_WAKE_TIME_OFFSET__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_set_target_wake_time_offset__descriptor) \ - , 0 } +, 0 } struct RpcRespWifiStaItwtSetTargetWakeTimeOffset @@ -3459,7 +3522,7 @@ struct RpcRespWifiStaItwtSetTargetWakeTimeOffset }; #define RPC__RESP__WIFI_STA_ITWT_SET_TARGET_WAKE_TIME_OFFSET__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__descriptor) \ - , 0 } +, 0 } struct RpcReqWifiStaTwtConfig @@ -3469,7 +3532,7 @@ struct RpcReqWifiStaTwtConfig }; #define RPC__REQ__WIFI_STA_TWT_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_twt_config__descriptor) \ - , NULL } +, NULL } struct RpcRespWifiStaTwtConfig @@ -3479,7 +3542,7 @@ struct RpcRespWifiStaTwtConfig }; #define RPC__RESP__WIFI_STA_TWT_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_twt_config__descriptor) \ - , 0 } +, 0 } struct RpcReqGetCoprocessorFwVersion @@ -3488,7 +3551,7 @@ struct RpcReqGetCoprocessorFwVersion }; #define RPC__REQ__GET_COPROCESSOR_FW_VERSION__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__get_coprocessor_fw_version__descriptor) \ - } + } struct RpcRespGetCoprocessorFwVersion @@ -3501,7 +3564,7 @@ struct RpcRespGetCoprocessorFwVersion }; #define RPC__RESP__GET_COPROCESSOR_FW_VERSION__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__get_coprocessor_fw_version__descriptor) \ - , 0, 0, 0, 0 } +, 0, 0, 0, 0 } struct RpcReqSetDhcpDnsStatus @@ -3519,7 +3582,7 @@ struct RpcReqSetDhcpDnsStatus }; #define RPC__REQ__SET_DHCP_DNS_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__set_dhcp_dns_status__descriptor) \ - , 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0 } +, 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0 } struct RpcRespSetDhcpDnsStatus @@ -3529,7 +3592,7 @@ struct RpcRespSetDhcpDnsStatus }; #define RPC__RESP__SET_DHCP_DNS_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__set_dhcp_dns_status__descriptor) \ - , 0 } +, 0 } struct RpcReqGetDhcpDnsStatus @@ -3539,7 +3602,7 @@ struct RpcReqGetDhcpDnsStatus }; #define RPC__REQ__GET_DHCP_DNS_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__get_dhcp_dns_status__descriptor) \ - , 0 } +, 0 } struct RpcRespGetDhcpDnsStatus @@ -3558,7 +3621,7 @@ struct RpcRespGetDhcpDnsStatus }; #define RPC__RESP__GET_DHCP_DNS_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__get_dhcp_dns_status__descriptor) \ - , 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0, 0 } +, 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0, 0 } struct RpcEventWifiEventNoArgs @@ -3569,7 +3632,7 @@ struct RpcEventWifiEventNoArgs }; #define RPC__EVENT__WIFI_EVENT_NO_ARGS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__wifi_event_no_args__descriptor) \ - , 0, 0 } +, 0, 0 } struct RpcEventESPInit @@ -3579,7 +3642,7 @@ struct RpcEventESPInit }; #define RPC__EVENT__ESPINIT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__espinit__descriptor) \ - , {0,NULL} } +, {0,NULL} } struct RpcEventHeartbeat @@ -3589,7 +3652,7 @@ struct RpcEventHeartbeat }; #define RPC__EVENT__HEARTBEAT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__heartbeat__descriptor) \ - , 0 } +, 0 } struct RpcEventAPStaDisconnected @@ -3603,7 +3666,7 @@ struct RpcEventAPStaDisconnected }; #define RPC__EVENT__AP__STA_DISCONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__ap__sta_disconnected__descriptor) \ - , 0, {0,NULL}, 0, 0, 0 } +, 0, {0,NULL}, 0, 0, 0 } struct RpcEventAPStaConnected @@ -3616,7 +3679,7 @@ struct RpcEventAPStaConnected }; #define RPC__EVENT__AP__STA_CONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__ap__sta_connected__descriptor) \ - , 0, {0,NULL}, 0, 0 } +, 0, {0,NULL}, 0, 0 } struct RpcEventStaScanDone @@ -3627,7 +3690,7 @@ struct RpcEventStaScanDone }; #define RPC__EVENT__STA_SCAN_DONE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_scan_done__descriptor) \ - , 0, NULL } +, 0, NULL } struct RpcEventStaConnected @@ -3638,7 +3701,7 @@ struct RpcEventStaConnected }; #define RPC__EVENT__STA_CONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_connected__descriptor) \ - , 0, NULL } +, 0, NULL } struct RpcEventStaDisconnected @@ -3649,7 +3712,168 @@ struct RpcEventStaDisconnected }; #define RPC__EVENT__STA_DISCONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_disconnected__descriptor) \ - , 0, NULL } +, 0, NULL } + + +struct RpcGpioConfig +{ + ProtobufCMessage base; + uint64_t pin_bit_mask; + RpcGpioMode mode; + protobuf_c_boolean pull_up_en; + protobuf_c_boolean pull_down_en; + int32_t intr_type; +}; +#define RPC__GPIO_CONFIG__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__gpio_config__descriptor) \ +, 0, RPC__GPIO_MODE__GPIO_MODE_DISABLE, 0, 0, 0 } + + +struct RpcReqGpioConfig +{ + ProtobufCMessage base; + RpcGpioConfig *config; +}; +#define RPC__REQ__GPIO_CONFIG__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_config__descriptor) \ +, NULL } + + +struct RpcRespGpioConfig +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_CONFIG__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_config__descriptor) \ +, 0 } + + +struct RpcReqGpioReset +{ + ProtobufCMessage base; + int32_t gpio_num; +}; +#define RPC__REQ__GPIO_RESET__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_reset__descriptor) \ +, 0 } + + +struct RpcRespGpioResetPin +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_RESET_PIN__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_reset_pin__descriptor) \ +, 0 } + + +struct RpcReqGpioSetLevel +{ + ProtobufCMessage base; + int32_t gpio_num; + /* + * 0 or 1 + */ + uint32_t level; +}; +#define RPC__REQ__GPIO_SET_LEVEL__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_set_level__descriptor) \ +, 0, 0 } + + +struct RpcRespGpioSetLevel +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_SET_LEVEL__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_set_level__descriptor) \ +, 0 } + + +struct RpcReqGpioGetLevel +{ + ProtobufCMessage base; + int32_t gpio_num; +}; +#define RPC__REQ__GPIO_GET_LEVEL__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_get_level__descriptor) \ +, 0 } + + +struct RpcRespGpioGetLevel +{ + ProtobufCMessage base; + int32_t resp; + uint32_t level; +}; +#define RPC__RESP__GPIO_GET_LEVEL__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_get_level__descriptor) \ +, 0, 0 } + + +struct RpcReqGpioSetDirection +{ + ProtobufCMessage base; + int32_t gpio_num; + RpcGpioMode mode; +}; +#define RPC__REQ__GPIO_SET_DIRECTION__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_set_direction__descriptor) \ +, 0, RPC__GPIO_MODE__GPIO_MODE_DISABLE } + + +struct RpcRespGpioSetDirection +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_SET_DIRECTION__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_set_direction__descriptor) \ +, 0 } + + +struct RpcReqGpioInputEnable +{ + ProtobufCMessage base; + int32_t gpio_num; +}; +#define RPC__REQ__GPIO_INPUT_ENABLE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_input_enable__descriptor) \ +, 0 } + + +struct RpcRespGpioInputEnable +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_INPUT_ENABLE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_input_enable__descriptor) \ +, 0 } + + +struct RpcReqGpioSetPullMode +{ + ProtobufCMessage base; + int32_t gpio_num; + RpcGpioPullMode pull; +}; +#define RPC__REQ__GPIO_SET_PULL_MODE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_set_pull_mode__descriptor) \ +, 0, RPC__GPIO_PULL_MODE__GPIO_PULL_NONE } + + +struct RpcRespGpioSetPullMode +{ + ProtobufCMessage base; + int32_t resp; +}; +#define RPC__RESP__GPIO_SET_PULL_MODE__INIT \ + { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_set_pull_mode__descriptor) \ +, 0 } struct RpcEventDhcpDnsStatus @@ -3668,7 +3892,7 @@ struct RpcEventDhcpDnsStatus }; #define RPC__EVENT__DHCP_DNS_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__dhcp_dns_status__descriptor) \ - , 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0, 0 } +, 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0, 0 } struct RpcEventStaItwtSetup @@ -3682,7 +3906,7 @@ struct RpcEventStaItwtSetup }; #define RPC__EVENT__STA_ITWT_SETUP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_itwt_setup__descriptor) \ - , 0, NULL, 0, 0, 0 } +, 0, NULL, 0, 0, 0 } struct RpcEventStaItwtTeardown @@ -3694,7 +3918,7 @@ struct RpcEventStaItwtTeardown }; #define RPC__EVENT__STA_ITWT_TEARDOWN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_itwt_teardown__descriptor) \ - , 0, 0, 0 } +, 0, 0, 0 } struct RpcEventStaItwtSuspend @@ -3711,7 +3935,7 @@ struct RpcEventStaItwtSuspend }; #define RPC__EVENT__STA_ITWT_SUSPEND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_itwt_suspend__descriptor) \ - , 0, 0, 0, 0,NULL } +, 0, 0, 0, 0,NULL } struct RpcEventStaItwtProbe @@ -3723,7 +3947,7 @@ struct RpcEventStaItwtProbe }; #define RPC__EVENT__STA_ITWT_PROBE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_itwt_probe__descriptor) \ - , 0, 0, 0 } +, 0, 0, 0 } typedef enum { @@ -3794,6 +4018,13 @@ typedef enum { RPC__PAYLOAD_REQ_WIFI_STA_ITWT_GET_FLOW_ID_STATUS = 358, RPC__PAYLOAD_REQ_WIFI_STA_ITWT_SEND_PROBE_REQ = 359, RPC__PAYLOAD_REQ_WIFI_STA_ITWT_SET_TARGET_WAKE_TIME_OFFSET = 360, + RPC__PAYLOAD_REQ_GPIO_CONFIG = 361, + RPC__PAYLOAD_REQ_GPIO_RESET = 362, + RPC__PAYLOAD_REQ_GPIO_SET_LEVEL = 363, + RPC__PAYLOAD_REQ_GPIO_GET_LEVEL = 364, + RPC__PAYLOAD_REQ_GPIO_SET_DIRECTION = 365, + RPC__PAYLOAD_REQ_GPIO_INPUT_ENABLE = 366, + RPC__PAYLOAD_REQ_GPIO_SET_PULL_MODE = 367, RPC__PAYLOAD_RESP_GET_MAC_ADDRESS = 513, RPC__PAYLOAD_RESP_SET_MAC_ADDRESS = 514, RPC__PAYLOAD_RESP_GET_WIFI_MODE = 515, @@ -3860,6 +4091,13 @@ typedef enum { RPC__PAYLOAD_RESP_WIFI_STA_ITWT_GET_FLOW_ID_STATUS = 614, RPC__PAYLOAD_RESP_WIFI_STA_ITWT_SEND_PROBE_REQ = 615, RPC__PAYLOAD_RESP_WIFI_STA_ITWT_SET_TARGET_WAKE_TIME_OFFSET = 616, + RPC__PAYLOAD_RESP_GPIO_CONFIG = 617, + RPC__PAYLOAD_RESP_GPIO_RESET = 618, + RPC__PAYLOAD_RESP_GPIO_SET_LEVEL = 629, + RPC__PAYLOAD_RESP_GPIO_GET_LEVEL = 620, + RPC__PAYLOAD_RESP_GPIO_SET_DIRECTION = 621, + RPC__PAYLOAD_RESP_GPIO_INPUT_ENABLE = 622, + RPC__PAYLOAD_RESP_GPIO_SET_PULL_MODE = 623, RPC__PAYLOAD_EVENT_ESP_INIT = 769, RPC__PAYLOAD_EVENT_HEARTBEAT = 770, RPC__PAYLOAD_EVENT_AP_STA_CONNECTED = 771, @@ -3893,165 +4131,179 @@ struct Rpc uint32_t uid; Rpc__PayloadCase payload_case; union { + RpcEventAPStaConnected *event_ap_sta_connected; + RpcEventAPStaDisconnected *event_ap_sta_disconnected; + RpcEventDhcpDnsStatus *event_dhcp_dns; + /* + ** Notifications * + */ + RpcEventESPInit *event_esp_init; + RpcEventHeartbeat *event_heartbeat; + RpcEventStaConnected *event_sta_connected; + RpcEventStaDisconnected *event_sta_disconnected; + RpcEventStaItwtProbe *event_sta_itwt_probe; + RpcEventStaItwtSetup *event_sta_itwt_setup; + RpcEventStaItwtSuspend *event_sta_itwt_suspend; + RpcEventStaItwtTeardown *event_sta_itwt_teardown; + RpcEventStaScanDone *event_sta_scan_done; + RpcEventWifiEventNoArgs *event_wifi_event_no_args; + RpcReqConfigHeartbeat *req_config_heartbeat; + RpcReqGetCoprocessorFwVersion *req_get_coprocessor_fwversion; + RpcReqGetDhcpDnsStatus *req_get_dhcp_dns; /* ** Requests * */ RpcReqGetMacAddress *req_get_mac_address; - RpcReqSetMacAddress *req_set_mac_address; + RpcReqWifiGetMaxTxPower *req_get_wifi_max_tx_power; RpcReqGetMode *req_get_wifi_mode; - RpcReqSetMode *req_set_wifi_mode; - RpcReqSetPs *req_wifi_set_ps; - RpcReqGetPs *req_wifi_get_ps; + RpcReqGpioConfig *req_gpio_config; + RpcReqGpioGetLevel *req_gpio_get_level; + RpcReqGpioInputEnable *req_gpio_input_enable; + RpcReqGpioReset *req_gpio_reset; + RpcReqGpioSetDirection *req_gpio_set_direction; + RpcReqGpioSetLevel *req_gpio_set_level; + RpcReqGpioSetPullMode *req_gpio_set_pull_mode; RpcReqOTABegin *req_ota_begin; - RpcReqOTAWrite *req_ota_write; RpcReqOTAEnd *req_ota_end; + RpcReqOTAWrite *req_ota_write; + RpcReqSetDhcpDnsStatus *req_set_dhcp_dns; + RpcReqSetMacAddress *req_set_mac_address; RpcReqWifiSetMaxTxPower *req_set_wifi_max_tx_power; - RpcReqWifiGetMaxTxPower *req_get_wifi_max_tx_power; - RpcReqConfigHeartbeat *req_config_heartbeat; - RpcReqWifiInit *req_wifi_init; - RpcReqWifiDeinit *req_wifi_deinit; - RpcReqWifiStart *req_wifi_start; - RpcReqWifiStop *req_wifi_stop; + RpcReqSetMode *req_set_wifi_mode; + RpcReqWifiApGetStaAid *req_wifi_ap_get_sta_aid; + RpcReqWifiApGetStaList *req_wifi_ap_get_sta_list; + RpcReqWifiClearApList *req_wifi_clear_ap_list; + RpcReqWifiClearFastConnect *req_wifi_clear_fast_connect; RpcReqWifiConnect *req_wifi_connect; + RpcReqWifiDeauthSta *req_wifi_deauth_sta; + RpcReqWifiDeinit *req_wifi_deinit; RpcReqWifiDisconnect *req_wifi_disconnect; - RpcReqWifiSetConfig *req_wifi_set_config; + RpcReqWifiGetBand *req_wifi_get_band; + RpcReqWifiGetBandMode *req_wifi_get_bandmode; + RpcReqWifiGetBandwidth *req_wifi_get_bandwidth; + RpcReqWifiGetBandwidths *req_wifi_get_bandwidths; + RpcReqWifiGetChannel *req_wifi_get_channel; RpcReqWifiGetConfig *req_wifi_get_config; - RpcReqWifiScanStart *req_wifi_scan_start; - RpcReqWifiScanStop *req_wifi_scan_stop; + RpcReqWifiGetCountry *req_wifi_get_country; + RpcReqWifiGetCountryCode *req_wifi_get_country_code; + RpcReqWifiGetInactiveTime *req_wifi_get_inactive_time; + RpcReqWifiGetProtocol *req_wifi_get_protocol; + RpcReqWifiGetProtocols *req_wifi_get_protocols; + RpcReqGetPs *req_wifi_get_ps; + RpcReqWifiInit *req_wifi_init; + RpcReqWifiRestore *req_wifi_restore; RpcReqWifiScanGetApNum *req_wifi_scan_get_ap_num; + RpcReqWifiScanGetApRecord *req_wifi_scan_get_ap_record; RpcReqWifiScanGetApRecords *req_wifi_scan_get_ap_records; - RpcReqWifiClearApList *req_wifi_clear_ap_list; - RpcReqWifiRestore *req_wifi_restore; - RpcReqWifiClearFastConnect *req_wifi_clear_fast_connect; - RpcReqWifiDeauthSta *req_wifi_deauth_sta; - RpcReqWifiStaGetApInfo *req_wifi_sta_get_ap_info; - RpcReqWifiSetProtocol *req_wifi_set_protocol; - RpcReqWifiGetProtocol *req_wifi_get_protocol; + RpcReqWifiScanStart *req_wifi_scan_start; + RpcReqWifiScanStop *req_wifi_scan_stop; + RpcReqWifiSetBand *req_wifi_set_band; + RpcReqWifiSetBandMode *req_wifi_set_bandmode; RpcReqWifiSetBandwidth *req_wifi_set_bandwidth; - RpcReqWifiGetBandwidth *req_wifi_get_bandwidth; + RpcReqWifiSetBandwidths *req_wifi_set_bandwidths; RpcReqWifiSetChannel *req_wifi_set_channel; - RpcReqWifiGetChannel *req_wifi_get_channel; + RpcReqWifiSetConfig *req_wifi_set_config; RpcReqWifiSetCountry *req_wifi_set_country; - RpcReqWifiGetCountry *req_wifi_get_country; - RpcReqWifiApGetStaList *req_wifi_ap_get_sta_list; - RpcReqWifiApGetStaAid *req_wifi_ap_get_sta_aid; - RpcReqWifiSetStorage *req_wifi_set_storage; - RpcReqWifiSetInactiveTime *req_wifi_set_inactive_time; - RpcReqWifiGetInactiveTime *req_wifi_get_inactive_time; RpcReqWifiSetCountryCode *req_wifi_set_country_code; - RpcReqWifiGetCountryCode *req_wifi_get_country_code; + RpcReqWifiSetInactiveTime *req_wifi_set_inactive_time; + RpcReqWifiSetProtocol *req_wifi_set_protocol; + RpcReqWifiSetProtocols *req_wifi_set_protocols; + RpcReqSetPs *req_wifi_set_ps; + RpcReqWifiSetStorage *req_wifi_set_storage; RpcReqWifiStaGetAid *req_wifi_sta_get_aid; + RpcReqWifiStaGetApInfo *req_wifi_sta_get_ap_info; RpcReqWifiStaGetNegotiatedPhymode *req_wifi_sta_get_negotiated_phymode; RpcReqWifiStaGetRssi *req_wifi_sta_get_rssi; - RpcReqWifiSetProtocols *req_wifi_set_protocols; - RpcReqWifiGetProtocols *req_wifi_get_protocols; - RpcReqWifiSetBandwidths *req_wifi_set_bandwidths; - RpcReqWifiGetBandwidths *req_wifi_get_bandwidths; - RpcReqWifiSetBand *req_wifi_set_band; - RpcReqWifiGetBand *req_wifi_get_band; - RpcReqWifiSetBandMode *req_wifi_set_bandmode; - RpcReqWifiGetBandMode *req_wifi_get_bandmode; - RpcReqGetCoprocessorFwVersion *req_get_coprocessor_fwversion; - RpcReqWifiScanGetApRecord *req_wifi_scan_get_ap_record; - RpcReqSetDhcpDnsStatus *req_set_dhcp_dns; - RpcReqGetDhcpDnsStatus *req_get_dhcp_dns; - RpcReqWifiStaTwtConfig *req_wifi_sta_twt_config; - RpcReqWifiStaItwtSetup *req_wifi_sta_itwt_setup; - RpcReqWifiStaItwtTeardown *req_wifi_sta_itwt_teardown; - RpcReqWifiStaItwtSuspend *req_wifi_sta_itwt_suspend; RpcReqWifiStaItwtGetFlowIdStatus *req_wifi_sta_itwt_get_flow_id_status; RpcReqWifiStaItwtSendProbeReq *req_wifi_sta_itwt_send_probe_req; RpcReqWifiStaItwtSetTargetWakeTimeOffset *req_wifi_sta_itwt_set_target_wake_time_offset; + RpcReqWifiStaItwtSetup *req_wifi_sta_itwt_setup; + RpcReqWifiStaItwtSuspend *req_wifi_sta_itwt_suspend; + RpcReqWifiStaItwtTeardown *req_wifi_sta_itwt_teardown; + RpcReqWifiStaTwtConfig *req_wifi_sta_twt_config; + RpcReqWifiStart *req_wifi_start; + RpcReqWifiStop *req_wifi_stop; + RpcRespConfigHeartbeat *resp_config_heartbeat; + RpcRespGetCoprocessorFwVersion *resp_get_coprocessor_fwversion; + RpcRespGetDhcpDnsStatus *resp_get_dhcp_dns; /* ** Responses * */ RpcRespGetMacAddress *resp_get_mac_address; - RpcRespSetMacAddress *resp_set_mac_address; + RpcRespWifiGetMaxTxPower *resp_get_wifi_max_tx_power; RpcRespGetMode *resp_get_wifi_mode; - RpcRespSetMode *resp_set_wifi_mode; - RpcRespSetPs *resp_wifi_set_ps; - RpcRespGetPs *resp_wifi_get_ps; + RpcRespGpioConfig *resp_gpio_config; + RpcRespGpioGetLevel *resp_gpio_get_level; + RpcRespGpioInputEnable *resp_gpio_input_enable; + RpcRespGpioResetPin *resp_gpio_reset; + RpcRespGpioSetDirection *resp_gpio_set_direction; + RpcRespGpioSetLevel *resp_gpio_set_level; + RpcRespGpioSetPullMode *resp_gpio_set_pull_mode; RpcRespOTABegin *resp_ota_begin; - RpcRespOTAWrite *resp_ota_write; RpcRespOTAEnd *resp_ota_end; + RpcRespOTAWrite *resp_ota_write; + RpcRespSetDhcpDnsStatus *resp_set_dhcp_dns; + RpcRespSetMacAddress *resp_set_mac_address; RpcRespWifiSetMaxTxPower *resp_set_wifi_max_tx_power; - RpcRespWifiGetMaxTxPower *resp_get_wifi_max_tx_power; - RpcRespConfigHeartbeat *resp_config_heartbeat; - RpcRespWifiInit *resp_wifi_init; - RpcRespWifiDeinit *resp_wifi_deinit; - RpcRespWifiStart *resp_wifi_start; - RpcRespWifiStop *resp_wifi_stop; + RpcRespSetMode *resp_set_wifi_mode; + RpcRespWifiApGetStaAid *resp_wifi_ap_get_sta_aid; + RpcRespWifiApGetStaList *resp_wifi_ap_get_sta_list; + RpcRespWifiClearApList *resp_wifi_clear_ap_list; + RpcRespWifiClearFastConnect *resp_wifi_clear_fast_connect; RpcRespWifiConnect *resp_wifi_connect; + RpcRespWifiDeauthSta *resp_wifi_deauth_sta; + RpcRespWifiDeinit *resp_wifi_deinit; RpcRespWifiDisconnect *resp_wifi_disconnect; - RpcRespWifiSetConfig *resp_wifi_set_config; + RpcRespWifiGetBand *resp_wifi_get_band; + RpcRespWifiGetBandMode *resp_wifi_get_bandmode; + RpcRespWifiGetBandwidth *resp_wifi_get_bandwidth; + RpcRespWifiGetBandwidths *resp_wifi_get_bandwidths; + RpcRespWifiGetChannel *resp_wifi_get_channel; RpcRespWifiGetConfig *resp_wifi_get_config; - RpcRespWifiScanStart *resp_wifi_scan_start; - RpcRespWifiScanStop *resp_wifi_scan_stop; + RpcRespWifiGetCountry *resp_wifi_get_country; + RpcRespWifiGetCountryCode *resp_wifi_get_country_code; + RpcRespWifiGetInactiveTime *resp_wifi_get_inactive_time; + RpcRespWifiGetProtocol *resp_wifi_get_protocol; + RpcRespWifiGetProtocols *resp_wifi_get_protocols; + RpcRespGetPs *resp_wifi_get_ps; + RpcRespWifiInit *resp_wifi_init; + RpcRespWifiRestore *resp_wifi_restore; RpcRespWifiScanGetApNum *resp_wifi_scan_get_ap_num; + RpcRespWifiScanGetApRecord *resp_wifi_scan_get_ap_record; RpcRespWifiScanGetApRecords *resp_wifi_scan_get_ap_records; - RpcRespWifiClearApList *resp_wifi_clear_ap_list; - RpcRespWifiRestore *resp_wifi_restore; - RpcRespWifiClearFastConnect *resp_wifi_clear_fast_connect; - RpcRespWifiDeauthSta *resp_wifi_deauth_sta; - RpcRespWifiStaGetApInfo *resp_wifi_sta_get_ap_info; - RpcRespWifiSetProtocol *resp_wifi_set_protocol; - RpcRespWifiGetProtocol *resp_wifi_get_protocol; + RpcRespWifiScanStart *resp_wifi_scan_start; + RpcRespWifiScanStop *resp_wifi_scan_stop; + RpcRespWifiSetBand *resp_wifi_set_band; + RpcRespWifiSetBandMode *resp_wifi_set_bandmode; RpcRespWifiSetBandwidth *resp_wifi_set_bandwidth; - RpcRespWifiGetBandwidth *resp_wifi_get_bandwidth; + RpcRespWifiSetBandwidths *resp_wifi_set_bandwidths; RpcRespWifiSetChannel *resp_wifi_set_channel; - RpcRespWifiGetChannel *resp_wifi_get_channel; + RpcRespWifiSetConfig *resp_wifi_set_config; RpcRespWifiSetCountry *resp_wifi_set_country; - RpcRespWifiGetCountry *resp_wifi_get_country; - RpcRespWifiApGetStaList *resp_wifi_ap_get_sta_list; - RpcRespWifiApGetStaAid *resp_wifi_ap_get_sta_aid; - RpcRespWifiSetStorage *resp_wifi_set_storage; - RpcRespWifiSetInactiveTime *resp_wifi_set_inactive_time; - RpcRespWifiGetInactiveTime *resp_wifi_get_inactive_time; RpcRespWifiSetCountryCode *resp_wifi_set_country_code; - RpcRespWifiGetCountryCode *resp_wifi_get_country_code; + RpcRespWifiSetInactiveTime *resp_wifi_set_inactive_time; + RpcRespWifiSetProtocol *resp_wifi_set_protocol; + RpcRespWifiSetProtocols *resp_wifi_set_protocols; + RpcRespSetPs *resp_wifi_set_ps; + RpcRespWifiSetStorage *resp_wifi_set_storage; RpcRespWifiStaGetAid *resp_wifi_sta_get_aid; + RpcRespWifiStaGetApInfo *resp_wifi_sta_get_ap_info; RpcRespWifiStaGetNegotiatedPhymode *resp_wifi_sta_get_negotiated_phymode; RpcRespWifiStaGetRssi *resp_wifi_sta_get_rssi; - RpcRespWifiSetProtocols *resp_wifi_set_protocols; - RpcRespWifiGetProtocols *resp_wifi_get_protocols; - RpcRespWifiSetBandwidths *resp_wifi_set_bandwidths; - RpcRespWifiGetBandwidths *resp_wifi_get_bandwidths; - RpcRespWifiSetBand *resp_wifi_set_band; - RpcRespWifiGetBand *resp_wifi_get_band; - RpcRespWifiSetBandMode *resp_wifi_set_bandmode; - RpcRespWifiGetBandMode *resp_wifi_get_bandmode; - RpcRespGetCoprocessorFwVersion *resp_get_coprocessor_fwversion; - RpcRespWifiScanGetApRecord *resp_wifi_scan_get_ap_record; - RpcRespSetDhcpDnsStatus *resp_set_dhcp_dns; - RpcRespGetDhcpDnsStatus *resp_get_dhcp_dns; - RpcRespWifiStaTwtConfig *resp_wifi_sta_twt_config; - RpcRespWifiStaItwtSetup *resp_wifi_sta_itwt_setup; - RpcRespWifiStaItwtTeardown *resp_wifi_sta_itwt_teardown; - RpcRespWifiStaItwtSuspend *resp_wifi_sta_itwt_suspend; RpcRespWifiStaItwtGetFlowIdStatus *resp_wifi_sta_itwt_get_flow_id_status; RpcRespWifiStaItwtSendProbeReq *resp_wifi_sta_itwt_send_probe_req; RpcRespWifiStaItwtSetTargetWakeTimeOffset *resp_wifi_sta_itwt_set_target_wake_time_offset; - /* - ** Notifications * - */ - RpcEventESPInit *event_esp_init; - RpcEventHeartbeat *event_heartbeat; - RpcEventAPStaConnected *event_ap_sta_connected; - RpcEventAPStaDisconnected *event_ap_sta_disconnected; - RpcEventWifiEventNoArgs *event_wifi_event_no_args; - RpcEventStaScanDone *event_sta_scan_done; - RpcEventStaConnected *event_sta_connected; - RpcEventStaDisconnected *event_sta_disconnected; - RpcEventDhcpDnsStatus *event_dhcp_dns; - RpcEventStaItwtSetup *event_sta_itwt_setup; - RpcEventStaItwtTeardown *event_sta_itwt_teardown; - RpcEventStaItwtSuspend *event_sta_itwt_suspend; - RpcEventStaItwtProbe *event_sta_itwt_probe; + RpcRespWifiStaItwtSetup *resp_wifi_sta_itwt_setup; + RpcRespWifiStaItwtSuspend *resp_wifi_sta_itwt_suspend; + RpcRespWifiStaItwtTeardown *resp_wifi_sta_itwt_teardown; + RpcRespWifiStaTwtConfig *resp_wifi_sta_twt_config; + RpcRespWifiStart *resp_wifi_start; + RpcRespWifiStop *resp_wifi_stop; }; }; #define RPC__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__descriptor) \ - , RPC_TYPE__MsgType_Invalid, RPC_ID__MsgId_Invalid, 0, RPC__PAYLOAD__NOT_SET, {0} } +, RPC_TYPE__MsgType_Invalid, RPC_ID__MsgId_Invalid, 0, RPC__PAYLOAD__NOT_SET, {0} } /* WifiInitConfig methods */ @@ -7607,6 +7859,291 @@ RpcEventStaDisconnected * void rpc__event__sta_disconnected__free_unpacked (RpcEventStaDisconnected *message, ProtobufCAllocator *allocator); +/* RpcGpioConfig methods */ +void rpc__gpio_config__init + (RpcGpioConfig *message); +size_t rpc__gpio_config__get_packed_size + (const RpcGpioConfig *message); +size_t rpc__gpio_config__pack + (const RpcGpioConfig *message, + uint8_t *out); +size_t rpc__gpio_config__pack_to_buffer + (const RpcGpioConfig *message, + ProtobufCBuffer *buffer); +RpcGpioConfig * + rpc__gpio_config__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__gpio_config__free_unpacked + (RpcGpioConfig *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioConfig methods */ +void rpc__req__gpio_config__init + (RpcReqGpioConfig *message); +size_t rpc__req__gpio_config__get_packed_size + (const RpcReqGpioConfig *message); +size_t rpc__req__gpio_config__pack + (const RpcReqGpioConfig *message, + uint8_t *out); +size_t rpc__req__gpio_config__pack_to_buffer + (const RpcReqGpioConfig *message, + ProtobufCBuffer *buffer); +RpcReqGpioConfig * + rpc__req__gpio_config__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_config__free_unpacked + (RpcReqGpioConfig *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioConfig methods */ +void rpc__resp__gpio_config__init + (RpcRespGpioConfig *message); +size_t rpc__resp__gpio_config__get_packed_size + (const RpcRespGpioConfig *message); +size_t rpc__resp__gpio_config__pack + (const RpcRespGpioConfig *message, + uint8_t *out); +size_t rpc__resp__gpio_config__pack_to_buffer + (const RpcRespGpioConfig *message, + ProtobufCBuffer *buffer); +RpcRespGpioConfig * + rpc__resp__gpio_config__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_config__free_unpacked + (RpcRespGpioConfig *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioReset methods */ +void rpc__req__gpio_reset__init + (RpcReqGpioReset *message); +size_t rpc__req__gpio_reset__get_packed_size + (const RpcReqGpioReset *message); +size_t rpc__req__gpio_reset__pack + (const RpcReqGpioReset *message, + uint8_t *out); +size_t rpc__req__gpio_reset__pack_to_buffer + (const RpcReqGpioReset *message, + ProtobufCBuffer *buffer); +RpcReqGpioReset * + rpc__req__gpio_reset__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_reset__free_unpacked + (RpcReqGpioReset *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioResetPin methods */ +void rpc__resp__gpio_reset_pin__init + (RpcRespGpioResetPin *message); +size_t rpc__resp__gpio_reset_pin__get_packed_size + (const RpcRespGpioResetPin *message); +size_t rpc__resp__gpio_reset_pin__pack + (const RpcRespGpioResetPin *message, + uint8_t *out); +size_t rpc__resp__gpio_reset_pin__pack_to_buffer + (const RpcRespGpioResetPin *message, + ProtobufCBuffer *buffer); +RpcRespGpioResetPin * + rpc__resp__gpio_reset_pin__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_reset_pin__free_unpacked + (RpcRespGpioResetPin *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioSetLevel methods */ +void rpc__req__gpio_set_level__init + (RpcReqGpioSetLevel *message); +size_t rpc__req__gpio_set_level__get_packed_size + (const RpcReqGpioSetLevel *message); +size_t rpc__req__gpio_set_level__pack + (const RpcReqGpioSetLevel *message, + uint8_t *out); +size_t rpc__req__gpio_set_level__pack_to_buffer + (const RpcReqGpioSetLevel *message, + ProtobufCBuffer *buffer); +RpcReqGpioSetLevel * + rpc__req__gpio_set_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_set_level__free_unpacked + (RpcReqGpioSetLevel *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioSetLevel methods */ +void rpc__resp__gpio_set_level__init + (RpcRespGpioSetLevel *message); +size_t rpc__resp__gpio_set_level__get_packed_size + (const RpcRespGpioSetLevel *message); +size_t rpc__resp__gpio_set_level__pack + (const RpcRespGpioSetLevel *message, + uint8_t *out); +size_t rpc__resp__gpio_set_level__pack_to_buffer + (const RpcRespGpioSetLevel *message, + ProtobufCBuffer *buffer); +RpcRespGpioSetLevel * + rpc__resp__gpio_set_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_set_level__free_unpacked + (RpcRespGpioSetLevel *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioGetLevel methods */ +void rpc__req__gpio_get_level__init + (RpcReqGpioGetLevel *message); +size_t rpc__req__gpio_get_level__get_packed_size + (const RpcReqGpioGetLevel *message); +size_t rpc__req__gpio_get_level__pack + (const RpcReqGpioGetLevel *message, + uint8_t *out); +size_t rpc__req__gpio_get_level__pack_to_buffer + (const RpcReqGpioGetLevel *message, + ProtobufCBuffer *buffer); +RpcReqGpioGetLevel * + rpc__req__gpio_get_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_get_level__free_unpacked + (RpcReqGpioGetLevel *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioGetLevel methods */ +void rpc__resp__gpio_get_level__init + (RpcRespGpioGetLevel *message); +size_t rpc__resp__gpio_get_level__get_packed_size + (const RpcRespGpioGetLevel *message); +size_t rpc__resp__gpio_get_level__pack + (const RpcRespGpioGetLevel *message, + uint8_t *out); +size_t rpc__resp__gpio_get_level__pack_to_buffer + (const RpcRespGpioGetLevel *message, + ProtobufCBuffer *buffer); +RpcRespGpioGetLevel * + rpc__resp__gpio_get_level__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_get_level__free_unpacked + (RpcRespGpioGetLevel *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioSetDirection methods */ +void rpc__req__gpio_set_direction__init + (RpcReqGpioSetDirection *message); +size_t rpc__req__gpio_set_direction__get_packed_size + (const RpcReqGpioSetDirection *message); +size_t rpc__req__gpio_set_direction__pack + (const RpcReqGpioSetDirection *message, + uint8_t *out); +size_t rpc__req__gpio_set_direction__pack_to_buffer + (const RpcReqGpioSetDirection *message, + ProtobufCBuffer *buffer); +RpcReqGpioSetDirection * + rpc__req__gpio_set_direction__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_set_direction__free_unpacked + (RpcReqGpioSetDirection *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioSetDirection methods */ +void rpc__resp__gpio_set_direction__init + (RpcRespGpioSetDirection *message); +size_t rpc__resp__gpio_set_direction__get_packed_size + (const RpcRespGpioSetDirection *message); +size_t rpc__resp__gpio_set_direction__pack + (const RpcRespGpioSetDirection *message, + uint8_t *out); +size_t rpc__resp__gpio_set_direction__pack_to_buffer + (const RpcRespGpioSetDirection *message, + ProtobufCBuffer *buffer); +RpcRespGpioSetDirection * + rpc__resp__gpio_set_direction__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_set_direction__free_unpacked + (RpcRespGpioSetDirection *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioInputEnable methods */ +void rpc__req__gpio_input_enable__init + (RpcReqGpioInputEnable *message); +size_t rpc__req__gpio_input_enable__get_packed_size + (const RpcReqGpioInputEnable *message); +size_t rpc__req__gpio_input_enable__pack + (const RpcReqGpioInputEnable *message, + uint8_t *out); +size_t rpc__req__gpio_input_enable__pack_to_buffer + (const RpcReqGpioInputEnable *message, + ProtobufCBuffer *buffer); +RpcReqGpioInputEnable * + rpc__req__gpio_input_enable__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_input_enable__free_unpacked + (RpcReqGpioInputEnable *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioInputEnable methods */ +void rpc__resp__gpio_input_enable__init + (RpcRespGpioInputEnable *message); +size_t rpc__resp__gpio_input_enable__get_packed_size + (const RpcRespGpioInputEnable *message); +size_t rpc__resp__gpio_input_enable__pack + (const RpcRespGpioInputEnable *message, + uint8_t *out); +size_t rpc__resp__gpio_input_enable__pack_to_buffer + (const RpcRespGpioInputEnable *message, + ProtobufCBuffer *buffer); +RpcRespGpioInputEnable * + rpc__resp__gpio_input_enable__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_input_enable__free_unpacked + (RpcRespGpioInputEnable *message, + ProtobufCAllocator *allocator); +/* RpcReqGpioSetPullMode methods */ +void rpc__req__gpio_set_pull_mode__init + (RpcReqGpioSetPullMode *message); +size_t rpc__req__gpio_set_pull_mode__get_packed_size + (const RpcReqGpioSetPullMode *message); +size_t rpc__req__gpio_set_pull_mode__pack + (const RpcReqGpioSetPullMode *message, + uint8_t *out); +size_t rpc__req__gpio_set_pull_mode__pack_to_buffer + (const RpcReqGpioSetPullMode *message, + ProtobufCBuffer *buffer); +RpcReqGpioSetPullMode * + rpc__req__gpio_set_pull_mode__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__req__gpio_set_pull_mode__free_unpacked + (RpcReqGpioSetPullMode *message, + ProtobufCAllocator *allocator); +/* RpcRespGpioSetPullMode methods */ +void rpc__resp__gpio_set_pull_mode__init + (RpcRespGpioSetPullMode *message); +size_t rpc__resp__gpio_set_pull_mode__get_packed_size + (const RpcRespGpioSetPullMode *message); +size_t rpc__resp__gpio_set_pull_mode__pack + (const RpcRespGpioSetPullMode *message, + uint8_t *out); +size_t rpc__resp__gpio_set_pull_mode__pack_to_buffer + (const RpcRespGpioSetPullMode *message, + ProtobufCBuffer *buffer); +RpcRespGpioSetPullMode * + rpc__resp__gpio_set_pull_mode__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data); +void rpc__resp__gpio_set_pull_mode__free_unpacked + (RpcRespGpioSetPullMode *message, + ProtobufCAllocator *allocator); /* RpcEventDhcpDnsStatus methods */ void rpc__event__dhcp_dns_status__init (RpcEventDhcpDnsStatus *message); @@ -8284,6 +8821,51 @@ typedef void (*RpcEventStaConnected_Closure) typedef void (*RpcEventStaDisconnected_Closure) (const RpcEventStaDisconnected *message, void *closure_data); +typedef void (*RpcGpioConfig_Closure) + (const RpcGpioConfig *message, + void *closure_data); +typedef void (*RpcReqGpioConfig_Closure) + (const RpcReqGpioConfig *message, + void *closure_data); +typedef void (*RpcRespGpioConfig_Closure) + (const RpcRespGpioConfig *message, + void *closure_data); +typedef void (*RpcReqGpioReset_Closure) + (const RpcReqGpioReset *message, + void *closure_data); +typedef void (*RpcRespGpioResetPin_Closure) + (const RpcRespGpioResetPin *message, + void *closure_data); +typedef void (*RpcReqGpioSetLevel_Closure) + (const RpcReqGpioSetLevel *message, + void *closure_data); +typedef void (*RpcRespGpioSetLevel_Closure) + (const RpcRespGpioSetLevel *message, + void *closure_data); +typedef void (*RpcReqGpioGetLevel_Closure) + (const RpcReqGpioGetLevel *message, + void *closure_data); +typedef void (*RpcRespGpioGetLevel_Closure) + (const RpcRespGpioGetLevel *message, + void *closure_data); +typedef void (*RpcReqGpioSetDirection_Closure) + (const RpcReqGpioSetDirection *message, + void *closure_data); +typedef void (*RpcRespGpioSetDirection_Closure) + (const RpcRespGpioSetDirection *message, + void *closure_data); +typedef void (*RpcReqGpioInputEnable_Closure) + (const RpcReqGpioInputEnable *message, + void *closure_data); +typedef void (*RpcRespGpioInputEnable_Closure) + (const RpcRespGpioInputEnable *message, + void *closure_data); +typedef void (*RpcReqGpioSetPullMode_Closure) + (const RpcReqGpioSetPullMode *message, + void *closure_data); +typedef void (*RpcRespGpioSetPullMode_Closure) + (const RpcRespGpioSetPullMode *message, + void *closure_data); typedef void (*RpcEventDhcpDnsStatus_Closure) (const RpcEventDhcpDnsStatus *message, void *closure_data); @@ -8314,6 +8896,8 @@ extern const ProtobufCEnumDescriptor rpc__wifi_sec_prot__descriptor; extern const ProtobufCEnumDescriptor rpc__status__descriptor; extern const ProtobufCEnumDescriptor rpc_type__descriptor; extern const ProtobufCEnumDescriptor rpc_id__descriptor; +extern const ProtobufCEnumDescriptor rpc__gpio_mode__descriptor; +extern const ProtobufCEnumDescriptor rpc__gpio_pull_mode__descriptor; extern const ProtobufCMessageDescriptor wifi_init_config__descriptor; extern const ProtobufCMessageDescriptor wifi_country__descriptor; extern const ProtobufCMessageDescriptor wifi_active_scan_time__descriptor; @@ -8501,6 +9085,21 @@ extern const ProtobufCMessageDescriptor rpc__event__ap__sta_connected__descripto extern const ProtobufCMessageDescriptor rpc__event__sta_scan_done__descriptor; extern const ProtobufCMessageDescriptor rpc__event__sta_connected__descriptor; extern const ProtobufCMessageDescriptor rpc__event__sta_disconnected__descriptor; +extern const ProtobufCMessageDescriptor rpc__gpio_config__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_config__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_config__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_reset__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_reset_pin__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_set_level__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_set_level__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_get_level__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_get_level__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_set_direction__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_set_direction__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_input_enable__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_input_enable__descriptor; +extern const ProtobufCMessageDescriptor rpc__req__gpio_set_pull_mode__descriptor; +extern const ProtobufCMessageDescriptor rpc__resp__gpio_set_pull_mode__descriptor; extern const ProtobufCMessageDescriptor rpc__event__dhcp_dns_status__descriptor; extern const ProtobufCMessageDescriptor rpc__event__sta_itwt_setup__descriptor; extern const ProtobufCMessageDescriptor rpc__event__sta_itwt_teardown__descriptor; diff --git a/common/proto/esp_hosted_rpc.proto b/common/proto/esp_hosted_rpc.proto index 19e72e7..3094861 100644 --- a/common/proto/esp_hosted_rpc.proto +++ b/common/proto/esp_hosted_rpc.proto @@ -425,9 +425,16 @@ enum RpcId { Req_WifiStaItwtSendProbeReq = 359; //0x167 Req_WifiStaItwtSetTargetWakeTimeOffset = 360; //0x168 + Req_GpioConfig = 361; // 0x169 + Req_GpioResetPin = 362; // 0x16a + Req_GpioSetLevel = 363; // 0x16b + Req_GpioGetLevel = 364; // 0x16c + Req_GpioSetDirection = 365; // 0x16d + Req_GpioInputEnable = 366; // 0x16e + Req_GpioSetPullMode = 367; // 0x16f /* Add new control path command response before Req_Max * and update Req_Max */ - Req_Max = 361; //0x169 + Req_Max = 368; //0x170 /** Response Msgs **/ Resp_Base = 512; @@ -562,9 +569,17 @@ enum RpcId { Resp_WifiStaItwtSendProbeReq = 615; Resp_WifiStaItwtSetTargetWakeTimeOffset = 616; + Resp_GpioConfig = 617; + Resp_GpioResetPin = 618; + Resp_GpioSetLevel = 619; + Resp_GpioGetLevel = 620; + Resp_GpioSetDirection = 621; + Resp_GpioInputEnable = 622; + Resp_GpioSetPullMode = 623; + /* Add new control path command response before Resp_Max * and update Resp_Max */ - Resp_Max = 617; + Resp_Max = 624; /** Event Msgs **/ Event_Base = 768; @@ -1764,6 +1779,80 @@ message Rpc_Event_StaDisconnected { wifi_event_sta_disconnected sta_disconnected = 2; } +enum Rpc_GpioMode { + GPIO_MODE_DISABLE = 0; + GPIO_MODE_INPUT = 1; + GPIO_MODE_OUTPUT = 2; + GPIO_MODE_INPUT_OUTPUT = 3; +} + +enum Rpc_GpioPullMode { + GPIO_PULL_NONE = 0; + GPIO_PULL_UP = 1; + GPIO_PULL_DOWN = 2; +} + +message Rpc_GpioConfig { + uint64 pin_bit_mask = 1; + Rpc_GpioMode mode = 2; + bool pull_up_en = 3; + bool pull_down_en = 4; + int32 intr_type = 5; +} + +message Rpc_Req_GpioConfig { + Rpc_GpioConfig config = 1; +} +message Rpc_Resp_GpioConfig { + int32 resp = 1; +} + +message Rpc_Req_GpioReset { + int32 gpio_num = 1; +} +message Rpc_Resp_GpioResetPin { + int32 resp = 1; +} + +message Rpc_Req_GpioSetLevel { + int32 gpio_num = 1; + uint32 level = 2; // 0 or 1 +} +message Rpc_Resp_GpioSetLevel { + int32 resp = 1; +} + +message Rpc_Req_GpioGetLevel { + int32 gpio_num = 1; +} +message Rpc_Resp_GpioGetLevel { + int32 resp = 1; + uint32 level = 2; +} + +message Rpc_Req_GpioSetDirection { + int32 gpio_num = 1; + Rpc_GpioMode mode = 2; +} +message Rpc_Resp_GpioSetDirection { + int32 resp = 1; +} + +message Rpc_Req_GpioInputEnable { + int32 gpio_num = 1; +} +message Rpc_Resp_GpioInputEnable { + int32 resp = 1; +} + +message Rpc_Req_GpioSetPullMode { + int32 gpio_num = 1; + Rpc_GpioPullMode pull = 2; +} +message Rpc_Resp_GpioSetPullMode { + int32 resp = 1; +} + message Rpc_Event_DhcpDnsStatus { int32 iface = 1; int32 net_link_up = 2; @@ -1914,6 +2003,14 @@ message Rpc { Rpc_Req_WifiStaItwtSendProbeReq req_wifi_sta_itwt_send_probe_req = 359; Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset req_wifi_sta_itwt_set_target_wake_time_offset = 360; + Rpc_Req_GpioConfig req_gpio_config = 361; + Rpc_Req_GpioReset req_gpio_reset = 362; + Rpc_Req_GpioSetLevel req_gpio_set_level = 363; + Rpc_Req_GpioGetLevel req_gpio_get_level = 364; + Rpc_Req_GpioSetDirection req_gpio_set_direction = 365; + Rpc_Req_GpioInputEnable req_gpio_input_enable = 366; + Rpc_Req_GpioSetPullMode req_gpio_set_pull_mode = 367; + /** Responses **/ Rpc_Resp_GetMacAddress resp_get_mac_address = 513; Rpc_Resp_SetMacAddress resp_set_mac_address = 514; @@ -2009,6 +2106,15 @@ message Rpc { Rpc_Resp_WifiStaItwtSendProbeReq resp_wifi_sta_itwt_send_probe_req = 615; Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset resp_wifi_sta_itwt_set_target_wake_time_offset = 616; + Rpc_Resp_GpioConfig resp_gpio_config = 617; + Rpc_Resp_GpioResetPin resp_gpio_reset = 618; + Rpc_Resp_GpioSetLevel resp_gpio_set_level = 629; + Rpc_Resp_GpioGetLevel resp_gpio_get_level = 620; + Rpc_Resp_GpioSetDirection resp_gpio_set_direction = 621; + Rpc_Resp_GpioInputEnable resp_gpio_input_enable = 622; + Rpc_Resp_GpioSetPullMode resp_gpio_set_pull_mode = 623; + + /** Notifications **/ Rpc_Event_ESPInit event_esp_init = 769; Rpc_Event_Heartbeat event_heartbeat = 770; From 09ef2798a34b4d60ff4e6784102ed76c7e51423d Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Thu, 28 Aug 2025 11:56:54 +0200 Subject: [PATCH 04/17] host/rpc: add GPIO request/response plumbing + wrappers --- host/drivers/rpc/core/rpc_req.c | 49 +++++++++++ host/drivers/rpc/core/rpc_rsp.c | 29 +++++++ host/drivers/rpc/slaveif/rpc_slave_if.c | 43 ++++++++++ host/drivers/rpc/slaveif/rpc_slave_if.h | 34 ++++++++ host/drivers/rpc/wrap/rpc_wrap.c | 103 +++++++++++++++++++++++- host/drivers/rpc/wrap/rpc_wrap.h | 10 +++ 6 files changed, 267 insertions(+), 1 deletion(-) diff --git a/host/drivers/rpc/core/rpc_req.c b/host/drivers/rpc/core/rpc_req.c index 3ef47ec..d1dc5ac 100644 --- a/host/drivers/rpc/core/rpc_req.c +++ b/host/drivers/rpc/core/rpc_req.c @@ -617,6 +617,55 @@ int compose_rpc_req(Rpc *req, ctrl_cmd_t *app_req, int32_t *failure_status) RPC_REQ_COPY_STR(p_c->dhcp_gw, p_a->dhcp_gw, 64); RPC_REQ_COPY_STR(p_c->dns_ip, p_a->dns_ip, 64); break; + } case RPC_ID__Req_GpioConfig: { + RPC_ALLOC_ASSIGN(RpcReqGpioConfig, req_gpio_config, + rpc__req__gpio_config__init); + RPC_ALLOC_ELEMENT(RpcGpioConfig, req_payload->config, rpc__gpio_config__init); + + req_payload->config->pin_bit_mask = app_req->u.gpio_config.pin_bit_mask; + req_payload->config->intr_type = app_req->u.gpio_config.intr_type; + req_payload->config->mode = app_req->u.gpio_config.mode; + req_payload->config->pull_up_en = app_req->u.gpio_config.pull_up_en; + req_payload->config->pull_down_en = app_req->u.gpio_config.pull_down_en; + break; + } case RPC_ID__Req_GpioResetPin: { + RPC_ALLOC_ASSIGN(RpcReqGpioReset, req_gpio_reset, + rpc__req__gpio_reset__init); + req_payload->gpio_num = app_req->u.gpio_num; + break; + } case RPC_ID__Req_GpioSetLevel: { + RPC_ALLOC_ASSIGN(RpcReqGpioSetLevel, req_gpio_set_level, + rpc__req__gpio_set_level__init); + + req_payload->gpio_num = app_req->u.gpio_set_level.gpio_num; + req_payload->level = app_req->u.gpio_set_level.level; + break; + } case RPC_ID__Req_GpioGetLevel: { + RPC_ALLOC_ASSIGN(RpcReqGpioGetLevel, req_gpio_get_level, + rpc__req__gpio_get_level__init); + + req_payload->gpio_num = app_req->u.gpio_num; + break; + } case RPC_ID__Req_GpioSetDirection: { + RPC_ALLOC_ASSIGN(RpcReqGpioSetDirection, req_gpio_set_direction, + rpc__req__gpio_set_direction__init); + + req_payload->gpio_num = app_req->u.gpio_set_direction.gpio_num; + req_payload->mode = app_req->u.gpio_set_direction.mode; + break; + } case RPC_ID__Req_GpioInputEnable: { + RPC_ALLOC_ASSIGN(RpcReqGpioInputEnable, req_gpio_input_enable, + rpc__req__gpio_input_enable__init); + + req_payload->gpio_num = app_req->u.gpio_num; + break; + } case RPC_ID__Req_GpioSetPullMode: { + RPC_ALLOC_ASSIGN(RpcReqGpioSetPullMode, req_gpio_set_pull_mode, + rpc__req__gpio_set_pull_mode__init); + + req_payload->gpio_num = app_req->u.gpio_set_pull_mode.gpio_num; + req_payload->pull = app_req->u.gpio_set_pull_mode.pull_mode; + break; } default: { *failure_status = RPC_ERR_UNSUPPORTED_MSG; ESP_LOGE(TAG, "Unsupported RPC Req[%u]",req->msg_id); diff --git a/host/drivers/rpc/core/rpc_rsp.c b/host/drivers/rpc/core/rpc_rsp.c index 435c837..5d3b4e2 100644 --- a/host/drivers/rpc/core/rpc_rsp.c +++ b/host/drivers/rpc/core/rpc_rsp.c @@ -681,6 +681,35 @@ int rpc_parse_rsp(Rpc *rpc_msg, ctrl_cmd_t *app_resp) RPC_FAIL_ON_NULL(resp_set_dhcp_dns); RPC_ERR_IN_RESP(resp_set_dhcp_dns); break; + } case RPC_ID__Resp_GpioConfig: { + RPC_FAIL_ON_NULL(resp_gpio_config); + RPC_ERR_IN_RESP(resp_gpio_config); + break; + } case RPC_ID__Resp_GpioResetPin: { + RPC_FAIL_ON_NULL(resp_gpio_reset); + RPC_ERR_IN_RESP(resp_gpio_reset); + break; + } case RPC_ID__Resp_GpioSetLevel: { + RPC_FAIL_ON_NULL(resp_gpio_set_level); + RPC_ERR_IN_RESP(resp_gpio_set_level); + break; + } case RPC_ID__Resp_GpioGetLevel: { + RPC_FAIL_ON_NULL(resp_gpio_get_level); + RPC_ERR_IN_RESP(resp_gpio_get_level); + app_resp->u.gpio_get_level = rpc_msg->resp_gpio_get_level->level; + break; + } case RPC_ID__Resp_GpioSetDirection: { + RPC_FAIL_ON_NULL(resp_gpio_set_direction); + RPC_ERR_IN_RESP(resp_gpio_set_direction); + break; + } case RPC_ID__Resp_GpioInputEnable: { + RPC_FAIL_ON_NULL(resp_gpio_input_enable); + RPC_ERR_IN_RESP(resp_gpio_input_enable); + break; + } case RPC_ID__Resp_GpioSetPullMode: { + RPC_FAIL_ON_NULL(resp_gpio_set_pull_mode); + RPC_ERR_IN_RESP(resp_gpio_set_pull_mode); + break; } default: { ESP_LOGE(TAG, "Unsupported rpc Resp[%u]", rpc_msg->msg_id); goto fail_parse_rpc_msg; diff --git a/host/drivers/rpc/slaveif/rpc_slave_if.c b/host/drivers/rpc/slaveif/rpc_slave_if.c index a3837bb..b1354b2 100644 --- a/host/drivers/rpc/slaveif/rpc_slave_if.c +++ b/host/drivers/rpc/slaveif/rpc_slave_if.c @@ -396,6 +396,7 @@ ctrl_cmd_t * rpc_slaveif_get_coprocessor_fwversion(ctrl_cmd_t *req) RPC_DECODE_RSP_IF_NOT_ASYNC(); } + #if H_WIFI_DUALBAND_SUPPORT ctrl_cmd_t * rpc_slaveif_wifi_get_protocols(ctrl_cmd_t *req) { @@ -445,3 +446,45 @@ ctrl_cmd_t * rpc_slaveif_set_slave_dhcp_dns_status(ctrl_cmd_t *req) RPC_SEND_REQ(RPC_ID__Req_SetDhcpDnsStatus); RPC_DECODE_RSP_IF_NOT_ASYNC(); } + +ctrl_cmd_t * rpc_slaveif_gpio_config(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioConfig); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_reset_pin(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioResetPin); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_set_level(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioSetLevel); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_get_level(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioGetLevel); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_set_direction(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioSetDirection); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_input_enable(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioInputEnable); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} + +ctrl_cmd_t * rpc_slaveif_gpio_set_pull_mode(ctrl_cmd_t *req) +{ + RPC_SEND_REQ(RPC_ID__Req_GpioSetPullMode); + RPC_DECODE_RSP_IF_NOT_ASYNC(); +} diff --git a/host/drivers/rpc/slaveif/rpc_slave_if.h b/host/drivers/rpc/slaveif/rpc_slave_if.h index d7986ed..06866da 100644 --- a/host/drivers/rpc/slaveif/rpc_slave_if.h +++ b/host/drivers/rpc/slaveif/rpc_slave_if.h @@ -201,6 +201,21 @@ typedef struct { int32_t wifi_event_id; } event_wifi_simple_t; +typedef struct { + gpio_num_t gpio_num; + uint32_t level; +} rpc_gpio_set_level_t; + +typedef struct { + gpio_num_t gpio_num; + gpio_mode_t mode; +} rpc_gpio_set_direction_t; + +typedef struct { + gpio_num_t gpio_num; + gpio_pull_mode_t pull_mode; +} rpc_gpio_set_pull_mode_t; + typedef struct Ctrl_cmd_t { /* msg type could be 1. req 2. resp 3. notification */ uint8_t msg_type; @@ -315,6 +330,18 @@ typedef struct Ctrl_cmd_t { wifi_event_sta_itwt_probe_t e_wifi_sta_itwt_probe; #endif + + gpio_config_t gpio_config; + + gpio_num_t gpio_num; + + rpc_gpio_set_level_t gpio_set_level; + + int gpio_get_level; + + rpc_gpio_set_direction_t gpio_set_direction; + + rpc_gpio_set_pull_mode_t gpio_set_pull_mode; }u; /* By default this callback is set to NULL. @@ -530,6 +557,13 @@ ctrl_cmd_t * rpc_slaveif_wifi_sta_itwt_suspend(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_wifi_sta_itwt_get_flow_id_status(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_wifi_sta_itwt_send_probe_req(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_wifi_sta_itwt_set_target_wake_time_offset(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_config(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_reset_pin(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_set_level(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_get_level(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_set_direction(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_input_enable(ctrl_cmd_t *req); +ctrl_cmd_t * rpc_slaveif_gpio_set_pull_mode(ctrl_cmd_t *req); #ifdef __cplusplus } #endif diff --git a/host/drivers/rpc/wrap/rpc_wrap.c b/host/drivers/rpc/wrap/rpc_wrap.c index b934af6..c861ea1 100644 --- a/host/drivers/rpc/wrap/rpc_wrap.c +++ b/host/drivers/rpc/wrap/rpc_wrap.c @@ -545,7 +545,15 @@ int rpc_rsp_callback(ctrl_cmd_t * app_resp) case RPC_ID__Resp_WifiStaItwtSendProbeReq: case RPC_ID__Resp_WifiStaItwtSetTargetWakeTimeOffset: #endif // H_WIFI_HE_SUPPORT - case RPC_ID__Resp_GetCoprocessorFwVersion: { + case RPC_ID__Resp_GetCoprocessorFwVersion: + case RPC_ID__Resp_GpioConfig: + case RPC_ID__Resp_GpioResetPin: + case RPC_ID__Resp_GpioSetLevel: + case RPC_ID__Resp_GpioGetLevel: + case RPC_ID__Resp_GpioSetDirection: + case RPC_ID__Resp_GpioInputEnable: + case RPC_ID__Resp_GpioSetPullMode: + { /* Intended fallthrough */ break; } default: { @@ -1608,3 +1616,96 @@ esp_err_t rpc_set_dhcp_dns_status(wifi_interface_t ifx, uint8_t link_up, resp = rpc_slaveif_set_slave_dhcp_dns_status(req); return rpc_rsp_callback(resp); } + +esp_err_t rpc_gpio_config(const gpio_config_t *pGPIOConfig) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + if (!pGPIOConfig) + return FAILURE; + + g_h.funcs->_h_memcpy(&req->u.gpio_config, pGPIOConfig, sizeof(gpio_config_t)); + resp = rpc_slaveif_gpio_config(req); + + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_reset(gpio_num_t gpio_num) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_num = gpio_num; + resp = rpc_slaveif_gpio_reset_pin(req); + + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_set_level(gpio_num_t gpio_num, uint32_t level) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_set_level.gpio_num = gpio_num; + req->u.gpio_set_level.level = level; + + resp = rpc_slaveif_gpio_set_level(req); + return rpc_rsp_callback(resp); +} + +int rpc_gpio_get_level(gpio_num_t gpio_num, int *level) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_num = gpio_num; + resp = rpc_slaveif_gpio_get_level(req); + + if (resp && resp->resp_event_status == SUCCESS) { + *level = resp->u.gpio_get_level; + } + + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_set_direction.gpio_num = gpio_num; + req->u.gpio_set_direction.mode = mode; + + resp = rpc_slaveif_gpio_set_direction(req); + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_input_enable(gpio_num_t gpio_num) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_num = gpio_num; + resp = rpc_slaveif_gpio_input_enable(req); + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull_mode) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_set_pull_mode.gpio_num = gpio_num; + req->u.gpio_set_pull_mode.pull_mode = pull_mode; + + resp = rpc_slaveif_gpio_set_pull_mode(req); + return rpc_rsp_callback(resp); +} diff --git a/host/drivers/rpc/wrap/rpc_wrap.h b/host/drivers/rpc/wrap/rpc_wrap.h index 58f9d17..9936b59 100644 --- a/host/drivers/rpc/wrap/rpc_wrap.h +++ b/host/drivers/rpc/wrap/rpc_wrap.h @@ -14,6 +14,7 @@ extern "C" { /** Includes **/ #include "esp_wifi.h" +#include "driver/gpio.h" #include "port_esp_hosted_host_wifi_config.h" #include "esp_hosted_api_types.h" #include "esp_hosted_ota.h" @@ -106,6 +107,15 @@ esp_err_t rpc_set_dhcp_dns_status(wifi_interface_t interface, uint8_t link_up, uint8_t dhcp_up, char *dhcp_ip, char *dhcp_nm, char *dhcp_gw, uint8_t dns_up, char *dns_ip, uint8_t dns_type); +esp_err_t rpc_gpio_config(const gpio_config_t *pGPIOConfig); +esp_err_t rpc_gpio_reset_pin(gpio_num_t gpio_num); +esp_err_t rpc_gpio_set_level(gpio_num_t gpio_num, uint32_t level); +int rpc_gpio_get_level(gpio_num_t gpio_num, int *level); +esp_err_t rpc_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode); +esp_err_t rpc_gpio_input_enable(gpio_num_t gpio_num); +esp_err_t rpc_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull); + + #ifdef __cplusplus } #endif From 5fc2f3eaa318675fb32bac54089651f11850ccec Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Thu, 28 Aug 2025 12:21:52 +0200 Subject: [PATCH 05/17] slave_control.c --- slave/main/slave_control.c | 143 +++++++++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) diff --git a/slave/main/slave_control.c b/slave/main/slave_control.c index d12985c..d26ee23 100644 --- a/slave/main/slave_control.c +++ b/slave/main/slave_control.c @@ -19,6 +19,7 @@ #include "slave_wifi_config.h" #include "esp_hosted_log.h" #include "esp_hosted_coprocessor_fw_ver.h" +#include "driver/gpio.h" #if CONFIG_SOC_WIFI_HE_SUPPORT #include "esp_wifi_he.h" @@ -2834,6 +2835,120 @@ static esp_err_t req_wifi_sta_itwt_set_target_wake_time_offset(Rpc *req, Rpc *re } #endif // CONFIG_SOC_WIFI_HE_SUPPORT +static esp_err_t req_gpio_config(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioConfig, resp_gpio_config, + RpcReqGpioConfig, req_gpio_config, + rpc__resp__gpio_config__init); + + gpio_config_t config; + + config.mode = req_payload->config->mode; + config.pull_up_en = req_payload->config->pull_up_en; + config.pull_down_en = req_payload->config->pull_down_en; + config.intr_type = req_payload->config->intr_type; + config.pin_bit_mask = req_payload->config->pin_bit_mask; + + RPC_RET_FAIL_IF(gpio_config(&config)); + + return ESP_OK; +} + +static esp_err_t req_gpio_reset(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioResetPin, resp_gpio_reset, + RpcReqGpioReset, req_gpio_reset, + rpc__resp__gpio_reset_pin__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + RPC_RET_FAIL_IF(gpio_reset_pin(gpio_num)); + + return ESP_OK; +} + +static esp_err_t req_gpio_set_level(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioSetLevel, resp_gpio_set_level, + RpcReqGpioSetLevel, req_gpio_set_level, + rpc__resp__gpio_set_level__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + uint32_t level; + level = req_payload->level; + + RPC_RET_FAIL_IF(gpio_set_level(gpio_num, level)); + + return ESP_OK; +} + +static esp_err_t req_gpio_get_level(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioGetLevel, resp_gpio_get_level, + RpcReqGpioGetLevel, req_gpio_get_level, + rpc__resp__gpio_get_level__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + int level = gpio_get_level(gpio_num); + + resp_payload->level = level; + + return ESP_OK; +} + +static esp_err_t req_gpio_set_direction(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioSetDirection, resp_gpio_set_direction, + RpcReqGpioSetDirection, req_gpio_set_direction, + rpc__resp__gpio_set_direction__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + gpio_mode_t mode; + mode = req_payload->mode; + + RPC_RET_FAIL_IF(gpio_set_direction(gpio_num, mode)); + + return ESP_OK; +} + +static esp_err_t req_gpio_input_enable(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioInputEnable, resp_gpio_input_enable, + RpcReqGpioInputEnable, req_gpio_input_enable, + rpc__resp__gpio_input_enable__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + RPC_RET_FAIL_IF(gpio_input_enable(gpio_num)); + + return ESP_OK; +} + +static esp_err_t req_gpio_set_pull_mode(Rpc *req, Rpc *resp, void *priv_data) +{ + RPC_TEMPLATE(RpcRespGpioSetPullMode, resp_gpio_set_pull_mode, + RpcReqGpioSetPullMode, req_gpio_set_pull_mode, + rpc__resp__gpio_set_pull_mode__init); + + gpio_num_t gpio_num; + gpio_num = req_payload->gpio_num; + + gpio_pull_mode_t pull_mode; + pull_mode = req_payload->pull; + + RPC_RET_FAIL_IF(gpio_set_pull_mode(gpio_num, pull_mode)); + + return ESP_OK; +} + static esp_rpc_req_t req_table[] = { { .req_num = RPC_ID__Req_GetMACAddress , @@ -3103,6 +3218,34 @@ static esp_rpc_req_t req_table[] = { .command_handler = req_wifi_sta_itwt_set_target_wake_time_offset }, #endif // CONFIG_SOC_WIFI_HE_SUPPORT + { + .req_num = RPC_ID__Req_GpioConfig, + .command_handler = req_gpio_config + }, + { + .req_num = RPC_ID__Req_GpioResetPin, + .command_handler = req_gpio_reset + }, + { + .req_num = RPC_ID__Req_GpioSetLevel, + .command_handler = req_gpio_set_level + }, + { + .req_num = RPC_ID__Req_GpioGetLevel, + .command_handler = req_gpio_get_level + }, + { + .req_num = RPC_ID__Req_GpioSetDirection, + .command_handler = req_gpio_set_direction + }, + { + .req_num = RPC_ID__Req_GpioInputEnable, + .command_handler = req_gpio_input_enable + }, + { + .req_num = RPC_ID__Req_GpioSetPullMode, + .command_handler = req_gpio_set_pull_mode + } }; From a2d3e07adf5cdd72362e40b3e722541871180524 Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Fri, 29 Aug 2025 15:20:36 +0200 Subject: [PATCH 06/17] + #include "driver/gpio.h" in rpc_slave_if.h --- host/drivers/rpc/slaveif/rpc_slave_if.h | 1 + 1 file changed, 1 insertion(+) diff --git a/host/drivers/rpc/slaveif/rpc_slave_if.h b/host/drivers/rpc/slaveif/rpc_slave_if.h index 06866da..abedd90 100644 --- a/host/drivers/rpc/slaveif/rpc_slave_if.h +++ b/host/drivers/rpc/slaveif/rpc_slave_if.h @@ -12,6 +12,7 @@ #include "esp_hosted_rpc.pb-c.h" #include "esp_wifi.h" #include "esp_wifi_types.h" +#include "driver/gpio.h" #include "port_esp_hosted_host_wifi_config.h" #ifdef __cplusplus From 0544bbca46e39e3030397004d9b1462f003f9c9c Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Fri, 29 Aug 2025 15:25:52 +0200 Subject: [PATCH 07/17] +transport_gpio_pin_guard --- slave/main/CMakeLists.txt | 1 + slave/main/transport_gpio_pin_guard.c | 72 +++++++++++++++++++++++++++ slave/main/transport_gpio_pin_guard.h | 14 ++++++ 3 files changed, 87 insertions(+) create mode 100644 slave/main/transport_gpio_pin_guard.c create mode 100644 slave/main/transport_gpio_pin_guard.h diff --git a/slave/main/CMakeLists.txt b/slave/main/CMakeLists.txt index e98e064..147735a 100644 --- a/slave/main/CMakeLists.txt +++ b/slave/main/CMakeLists.txt @@ -16,6 +16,7 @@ set(COMPONENT_SRCS "mempool_ll.c" "host_power_save.c" "lwip_filter.c" + "transport_gpio_pin_guard.c" ) set(COMPONENT_ADD_INCLUDEDIRS diff --git a/slave/main/transport_gpio_pin_guard.c b/slave/main/transport_gpio_pin_guard.c new file mode 100644 index 0000000..1347357 --- /dev/null +++ b/slave/main/transport_gpio_pin_guard.c @@ -0,0 +1,72 @@ +#include "transport_gpio_pin_guard.h" +#include "sdkconfig.h" + +static inline void add_pin(uint64_t *mask, int pin) +{ + if (pin >= 0 && pin < GPIO_NUM_MAX) { + *mask |= (1ULL << pin); + } +} + +static uint64_t get_reserved_pin_mask(void) +{ + static bool initialized = false; + static uint64_t mask = 0; + + if (initialized) return mask; + initialized = true; + + /* ---------- SDIO ---------- */ +#ifdef CONFIG_ESP_SDIO_HOST_INTERFACE + add_pin(&mask, CONFIG_ESP_SDIO_PIN_CMD); + add_pin(&mask, CONFIG_ESP_SDIO_PIN_CLK); + add_pin(&mask, CONFIG_ESP_SDIO_PIN_D0); + add_pin(&mask, CONFIG_ESP_SDIO_PIN_D1); + add_pin(&mask, CONFIG_ESP_SDIO_PIN_D2); + add_pin(&mask, CONFIG_ESP_SDIO_PIN_D3); +#endif + + /* ---------- SPI (full duplex) ---------- */ +#ifdef CONFIG_ESP_SPI_HOST_INTERFACE + add_pin(&mask, CONFIG_ESP_SPI_GPIO_MOSI); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_MISO); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_CLK); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_CS); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_HANDSHAKE); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_DATA_READY); + add_pin(&mask, CONFIG_ESP_SPI_GPIO_RESET); + + add_pin(&mask, CONFIG_ESP_SPI_HSPI_GPIO_MOSI); + add_pin(&mask, CONFIG_ESP_SPI_HSPI_GPIO_MISO); + add_pin(&mask, CONFIG_ESP_SPI_HSPI_GPIO_CLK); + add_pin(&mask, CONFIG_ESP_SPI_HSPI_GPIO_CS); +#endif + + /* ---------- SPI (half duplex) ---------- */ +#ifdef CONFIG_ESP_SPI_HD_HOST_INTERFACE + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_CS); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_CLK); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_D0); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_D1); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_D2); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_D3); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_DATA_READY); + add_pin(&mask, CONFIG_ESP_SPI_HD_GPIO_RESET); +#endif + + /* ---------- UART ---------- */ +#ifdef CONFIG_ESP_UART_HOST_INTERFACE + add_pin(&mask, CONFIG_ESP_UART_PIN_TX); + add_pin(&mask, CONFIG_ESP_UART_PIN_RX); + add_pin(&mask, CONFIG_ESP_UART_GPIO_RESET); +#endif + + return mask; +} + +uint8_t transport_gpio_pin_guard_is_eligible(gpio_num_t pin) +{ + if (pin < 0 || pin >= GPIO_NUM_MAX) return false; + uint64_t reserved = get_reserved_pin_mask(); + return ((reserved & (1ULL << pin)) == 0); +} diff --git a/slave/main/transport_gpio_pin_guard.h b/slave/main/transport_gpio_pin_guard.h new file mode 100644 index 0000000..b2738f6 --- /dev/null +++ b/slave/main/transport_gpio_pin_guard.h @@ -0,0 +1,14 @@ +#pragma once + +#include "driver/gpio.h" +#include + +/** + * @brief Check if a GPIO pin is free for general use. + * + * @param pin GPIO number to test + * @return true Pin is free (eligible for GPIO) + * false Pin is reserved by a host transport interface + */ +uint8_t transport_gpio_pin_guard_is_eligible(gpio_num_t pin); + From 47a5b554faccea9bb5dc2a1ea55490bbf51332aa Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Fri, 29 Aug 2025 15:27:23 +0200 Subject: [PATCH 08/17] + Controlled esp_hosted_gpio exposure with Kconfig --- slave/main/Kconfig.projbuild | 11 +++++++- slave/main/slave_control.c | 55 ++++++++++++++++++++++++++++++++++-- 2 files changed, 63 insertions(+), 3 deletions(-) diff --git a/slave/main/Kconfig.projbuild b/slave/main/Kconfig.projbuild index ef987ed..6e10f2e 100644 --- a/slave/main/Kconfig.projbuild +++ b/slave/main/Kconfig.projbuild @@ -646,7 +646,16 @@ menu "Example Configuration" default ESP_SDIO_GPIO_RESET if ESP_SDIO_HOST_INTERFACE default ESP_SPI_HD_GPIO_RESET if ESP_SPI_HD_HOST_INTERFACE default ESP_UART_GPIO_RESET if ESP_UART_HOST_INTERFACE - + menu "Hosted GPIO" + config ESP_HOSTED_ENABLE_GPIO_RPC + bool "Expose GPIO RPC APIs (host can control slave GPIOs)" + default n + help + Enable RPC methods that allow the HOST MCU to configure and control + GPIOs on the SLAVE. Leave disabled unless you really need it. This + will additionally reject GPIO requests that target pins used by the + active transport (SPI/SDIO/SPI-HD/UART) + endmenu endmenu # HCI UART menu for ESP32-C3/S3 diff --git a/slave/main/slave_control.c b/slave/main/slave_control.c index d26ee23..69b4c63 100644 --- a/slave/main/slave_control.c +++ b/slave/main/slave_control.c @@ -20,6 +20,7 @@ #include "esp_hosted_log.h" #include "esp_hosted_coprocessor_fw_ver.h" #include "driver/gpio.h" +#include "transport_gpio_pin_guard.h" #if CONFIG_SOC_WIFI_HE_SUPPORT #include "esp_wifi_he.h" @@ -2835,6 +2836,7 @@ static esp_err_t req_wifi_sta_itwt_set_target_wake_time_offset(Rpc *req, Rpc *re } #endif // CONFIG_SOC_WIFI_HE_SUPPORT +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC static esp_err_t req_gpio_config(Rpc *req, Rpc *resp, void *priv_data) { RPC_TEMPLATE(RpcRespGpioConfig, resp_gpio_config, @@ -2849,6 +2851,16 @@ static esp_err_t req_gpio_config(Rpc *req, Rpc *resp, void *priv_data) config.intr_type = req_payload->config->intr_type; config.pin_bit_mask = req_payload->config->pin_bit_mask; + for (int pin = 0; pin < GPIO_NUM_MAX; ++pin) { + if (config.pin_bit_mask & (1ULL << pin)) { + if (!transport_gpio_pin_guard_is_eligible((gpio_num_t)pin)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", pin);; + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + } + } + RPC_RET_FAIL_IF(gpio_config(&config)); return ESP_OK; @@ -2863,6 +2875,12 @@ static esp_err_t req_gpio_reset(Rpc *req, Rpc *resp, void *priv_data) gpio_num_t gpio_num; gpio_num = req_payload->gpio_num; + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + RPC_RET_FAIL_IF(gpio_reset_pin(gpio_num)); return ESP_OK; @@ -2880,6 +2898,12 @@ static esp_err_t req_gpio_set_level(Rpc *req, Rpc *resp, void *priv_data) uint32_t level; level = req_payload->level; + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + RPC_RET_FAIL_IF(gpio_set_level(gpio_num, level)); return ESP_OK; @@ -2894,6 +2918,12 @@ static esp_err_t req_gpio_get_level(Rpc *req, Rpc *resp, void *priv_data) gpio_num_t gpio_num; gpio_num = req_payload->gpio_num; + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + int level = gpio_get_level(gpio_num); resp_payload->level = level; @@ -2913,6 +2943,12 @@ static esp_err_t req_gpio_set_direction(Rpc *req, Rpc *resp, void *priv_data) gpio_mode_t mode; mode = req_payload->mode; + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + RPC_RET_FAIL_IF(gpio_set_direction(gpio_num, mode)); return ESP_OK; @@ -2927,6 +2963,12 @@ static esp_err_t req_gpio_input_enable(Rpc *req, Rpc *resp, void *priv_data) gpio_num_t gpio_num; gpio_num = req_payload->gpio_num; + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + RPC_RET_FAIL_IF(gpio_input_enable(gpio_num)); return ESP_OK; @@ -2944,10 +2986,17 @@ static esp_err_t req_gpio_set_pull_mode(Rpc *req, Rpc *resp, void *priv_data) gpio_pull_mode_t pull_mode; pull_mode = req_payload->pull; + if (!transport_gpio_pin_guard_is_eligible(gpio_num)) { + ESP_LOGE(TAG, "GPIO pin %d is not allowed to be configured", gpio_num); + resp_payload->resp = ESP_ERR_INVALID_ARG; + return ESP_OK; + } + RPC_RET_FAIL_IF(gpio_set_pull_mode(gpio_num, pull_mode)); return ESP_OK; } +#endif // CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC static esp_rpc_req_t req_table[] = { { @@ -3218,6 +3267,7 @@ static esp_rpc_req_t req_table[] = { .command_handler = req_wifi_sta_itwt_set_target_wake_time_offset }, #endif // CONFIG_SOC_WIFI_HE_SUPPORT +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC { .req_num = RPC_ID__Req_GpioConfig, .command_handler = req_gpio_config @@ -3245,13 +3295,14 @@ static esp_rpc_req_t req_table[] = { { .req_num = RPC_ID__Req_GpioSetPullMode, .command_handler = req_gpio_set_pull_mode - } + }, +#endif // CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC }; static int lookup_req_handler(int req_id) { - for (int i = 0; i < sizeof(req_table)/sizeof(esp_rpc_req_t); i++) { + for (int i = 0; i < sizeof(req_table)/sizeof(esp_rpc_req_t); i++) { if (req_table[i].req_num == req_id) { return i; } From be57682a3a095f27e617844ce7cb20526e3730ec Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Fri, 29 Aug 2025 15:29:11 +0200 Subject: [PATCH 09/17] added port_esp_hosted_host_gpio.c to CMakeLists --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0800e4e..ce86743 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,8 @@ if(CONFIG_ESP_HOSTED_ENABLED) # host ESP32 specific files list(APPEND srcs "${host_dir}/port/esp/freertos/src/port_esp_hosted_host_ota.c") - + list(APPEND srcs "${host_dir}/port/esp/freertos/src/port_esp_hosted_host_gpio.c") + # cli list(APPEND srcs "${common_dir}/utils/esp_hosted_cli.c") list(APPEND priv_include "${common_dir}/utils") From 97dc207b06a369ade52ec9ef25faa5c247ab209c Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Tue, 2 Sep 2025 10:45:37 +0200 Subject: [PATCH 10/17] =?UTF-8?q?rebuilt=20with=20protobuf-c=20version?= =?UTF-8?q?=E2=80=AF1.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/proto/esp_hosted_rpc.pb-c.c | 324 +++++++------- common/proto/esp_hosted_rpc.pb-c.h | 666 ++++++++++++++--------------- 2 files changed, 495 insertions(+), 495 deletions(-) diff --git a/common/proto/esp_hosted_rpc.pb-c.c b/common/proto/esp_hosted_rpc.pb-c.c index a44bfbd..5272c4c 100644 --- a/common/proto/esp_hosted_rpc.pb-c.c +++ b/common/proto/esp_hosted_rpc.pb-c.c @@ -11016,7 +11016,7 @@ static const ProtobufCFieldDescriptor wifi_config__field_descriptors[2] = offsetof(WifiConfig, ap), &wifi_ap_config__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -11028,7 +11028,7 @@ static const ProtobufCFieldDescriptor wifi_config__field_descriptors[2] = offsetof(WifiConfig, sta), &wifi_sta_config__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; @@ -20206,7 +20206,7 @@ static const ProtobufCFieldDescriptor rpc__event__sta_itwt_suspend__field_descri offsetof(RpcEventStaItwtSuspend, actual_suspend_time_ms), NULL, NULL, - PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; @@ -20347,7 +20347,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_get_mac_address), &rpc__req__get_mac_address__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20359,7 +20359,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_set_mac_address), &rpc__req__set_mac_address__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20371,7 +20371,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_get_wifi_mode), &rpc__req__get_mode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20383,7 +20383,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_set_wifi_mode), &rpc__req__set_mode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20395,7 +20395,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_ps), &rpc__req__set_ps__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20407,7 +20407,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_ps), &rpc__req__get_ps__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20419,7 +20419,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_ota_begin), &rpc__req__otabegin__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20431,7 +20431,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_ota_write), &rpc__req__otawrite__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20443,7 +20443,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_ota_end), &rpc__req__otaend__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20455,7 +20455,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_set_wifi_max_tx_power), &rpc__req__wifi_set_max_tx_power__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20467,7 +20467,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_get_wifi_max_tx_power), &rpc__req__wifi_get_max_tx_power__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20479,7 +20479,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_config_heartbeat), &rpc__req__config_heartbeat__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20491,7 +20491,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_init), &rpc__req__wifi_init__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20503,7 +20503,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_deinit), &rpc__req__wifi_deinit__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20515,7 +20515,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_start), &rpc__req__wifi_start__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20527,7 +20527,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_stop), &rpc__req__wifi_stop__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20539,7 +20539,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_connect), &rpc__req__wifi_connect__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20551,7 +20551,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_disconnect), &rpc__req__wifi_disconnect__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20563,7 +20563,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_config), &rpc__req__wifi_set_config__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20575,7 +20575,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_config), &rpc__req__wifi_get_config__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20587,7 +20587,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_scan_start), &rpc__req__wifi_scan_start__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20599,7 +20599,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_scan_stop), &rpc__req__wifi_scan_stop__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20611,7 +20611,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_scan_get_ap_num), &rpc__req__wifi_scan_get_ap_num__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20623,7 +20623,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_scan_get_ap_records), &rpc__req__wifi_scan_get_ap_records__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20635,7 +20635,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_clear_ap_list), &rpc__req__wifi_clear_ap_list__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20647,7 +20647,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_restore), &rpc__req__wifi_restore__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20659,7 +20659,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_clear_fast_connect), &rpc__req__wifi_clear_fast_connect__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20671,7 +20671,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_deauth_sta), &rpc__req__wifi_deauth_sta__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20683,7 +20683,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_sta_get_ap_info), &rpc__req__wifi_sta_get_ap_info__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20695,7 +20695,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_protocol), &rpc__req__wifi_set_protocol__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20707,7 +20707,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_protocol), &rpc__req__wifi_get_protocol__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20719,7 +20719,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_bandwidth), &rpc__req__wifi_set_bandwidth__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20731,7 +20731,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_bandwidth), &rpc__req__wifi_get_bandwidth__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20743,7 +20743,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_channel), &rpc__req__wifi_set_channel__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20755,7 +20755,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_channel), &rpc__req__wifi_get_channel__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20767,7 +20767,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_country), &rpc__req__wifi_set_country__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20779,7 +20779,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_country), &rpc__req__wifi_get_country__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20791,7 +20791,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_ap_get_sta_list), &rpc__req__wifi_ap_get_sta_list__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20803,7 +20803,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_ap_get_sta_aid), &rpc__req__wifi_ap_get_sta_aid__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20815,7 +20815,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_storage), &rpc__req__wifi_set_storage__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20827,7 +20827,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_inactive_time), &rpc__req__wifi_set_inactive_time__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20839,7 +20839,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_inactive_time), &rpc__req__wifi_get_inactive_time__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20851,7 +20851,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_country_code), &rpc__req__wifi_set_country_code__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20863,7 +20863,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_country_code), &rpc__req__wifi_get_country_code__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20875,7 +20875,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_sta_get_aid), &rpc__req__wifi_sta_get_aid__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20887,7 +20887,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_sta_get_negotiated_phymode), &rpc__req__wifi_sta_get_negotiated_phymode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20899,7 +20899,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_sta_get_rssi), &rpc__req__wifi_sta_get_rssi__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20911,7 +20911,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_protocols), &rpc__req__wifi_set_protocols__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20923,7 +20923,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_protocols), &rpc__req__wifi_get_protocols__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20935,7 +20935,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_bandwidths), &rpc__req__wifi_set_bandwidths__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20947,7 +20947,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_bandwidths), &rpc__req__wifi_get_bandwidths__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20959,7 +20959,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_band), &rpc__req__wifi_set_band__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20971,7 +20971,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_band), &rpc__req__wifi_get_band__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20983,7 +20983,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_set_bandmode), &rpc__req__wifi_set_band_mode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -20995,7 +20995,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_get_bandmode), &rpc__req__wifi_get_band_mode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21007,7 +21007,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_get_coprocessor_fwversion), &rpc__req__get_coprocessor_fw_version__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21019,7 +21019,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_scan_get_ap_record), &rpc__req__wifi_scan_get_ap_record__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21031,7 +21031,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_set_dhcp_dns), &rpc__req__set_dhcp_dns_status__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21043,7 +21043,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_get_dhcp_dns), &rpc__req__get_dhcp_dns_status__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21055,7 +21055,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_sta_twt_config), &rpc__req__wifi_sta_twt_config__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21067,7 +21067,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_sta_itwt_setup), &rpc__req__wifi_sta_itwt_setup__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21079,7 +21079,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_sta_itwt_teardown), &rpc__req__wifi_sta_itwt_teardown__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21091,7 +21091,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_sta_itwt_suspend), &rpc__req__wifi_sta_itwt_suspend__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21103,7 +21103,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_sta_itwt_get_flow_id_status), &rpc__req__wifi_sta_itwt_get_flow_id_status__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21115,7 +21115,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_sta_itwt_send_probe_req), &rpc__req__wifi_sta_itwt_send_probe_req__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21127,7 +21127,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_wifi_sta_itwt_set_target_wake_time_offset), &rpc__req__wifi_sta_itwt_set_target_wake_time_offset__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21139,7 +21139,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_gpio_config), &rpc__req__gpio_config__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21151,7 +21151,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_gpio_reset), &rpc__req__gpio_reset__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21163,7 +21163,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_gpio_set_level), &rpc__req__gpio_set_level__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21175,7 +21175,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_gpio_get_level), &rpc__req__gpio_get_level__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21187,7 +21187,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_gpio_set_direction), &rpc__req__gpio_set_direction__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21199,7 +21199,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_gpio_input_enable), &rpc__req__gpio_input_enable__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21211,7 +21211,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, req_gpio_set_pull_mode), &rpc__req__gpio_set_pull_mode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21223,7 +21223,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_get_mac_address), &rpc__resp__get_mac_address__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21235,7 +21235,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_set_mac_address), &rpc__resp__set_mac_address__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21247,7 +21247,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_get_wifi_mode), &rpc__resp__get_mode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21259,7 +21259,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_set_wifi_mode), &rpc__resp__set_mode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21271,7 +21271,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_ps), &rpc__resp__set_ps__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21283,7 +21283,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_ps), &rpc__resp__get_ps__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21295,7 +21295,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_ota_begin), &rpc__resp__otabegin__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21307,7 +21307,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_ota_write), &rpc__resp__otawrite__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21319,7 +21319,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_ota_end), &rpc__resp__otaend__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21331,7 +21331,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_set_wifi_max_tx_power), &rpc__resp__wifi_set_max_tx_power__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21343,7 +21343,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_get_wifi_max_tx_power), &rpc__resp__wifi_get_max_tx_power__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21355,7 +21355,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_config_heartbeat), &rpc__resp__config_heartbeat__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21367,7 +21367,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_init), &rpc__resp__wifi_init__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21379,7 +21379,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_deinit), &rpc__resp__wifi_deinit__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21391,7 +21391,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_start), &rpc__resp__wifi_start__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21403,7 +21403,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_stop), &rpc__resp__wifi_stop__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21415,7 +21415,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_connect), &rpc__resp__wifi_connect__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21427,7 +21427,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_disconnect), &rpc__resp__wifi_disconnect__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21439,7 +21439,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_config), &rpc__resp__wifi_set_config__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21451,7 +21451,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_config), &rpc__resp__wifi_get_config__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21463,7 +21463,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_scan_start), &rpc__resp__wifi_scan_start__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21475,7 +21475,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_scan_stop), &rpc__resp__wifi_scan_stop__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21487,7 +21487,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_scan_get_ap_num), &rpc__resp__wifi_scan_get_ap_num__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21499,7 +21499,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_scan_get_ap_records), &rpc__resp__wifi_scan_get_ap_records__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21511,7 +21511,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_clear_ap_list), &rpc__resp__wifi_clear_ap_list__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21523,7 +21523,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_restore), &rpc__resp__wifi_restore__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21535,7 +21535,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_clear_fast_connect), &rpc__resp__wifi_clear_fast_connect__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21547,7 +21547,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_deauth_sta), &rpc__resp__wifi_deauth_sta__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21559,7 +21559,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_sta_get_ap_info), &rpc__resp__wifi_sta_get_ap_info__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21571,7 +21571,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_protocol), &rpc__resp__wifi_set_protocol__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21583,7 +21583,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_protocol), &rpc__resp__wifi_get_protocol__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21595,7 +21595,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_bandwidth), &rpc__resp__wifi_set_bandwidth__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21607,7 +21607,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_bandwidth), &rpc__resp__wifi_get_bandwidth__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21619,7 +21619,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_channel), &rpc__resp__wifi_set_channel__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21631,7 +21631,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_channel), &rpc__resp__wifi_get_channel__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21643,7 +21643,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_country), &rpc__resp__wifi_set_country__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21655,7 +21655,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_country), &rpc__resp__wifi_get_country__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21667,7 +21667,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_ap_get_sta_list), &rpc__resp__wifi_ap_get_sta_list__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21679,7 +21679,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_ap_get_sta_aid), &rpc__resp__wifi_ap_get_sta_aid__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21691,7 +21691,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_storage), &rpc__resp__wifi_set_storage__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21703,7 +21703,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_inactive_time), &rpc__resp__wifi_set_inactive_time__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21715,7 +21715,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_inactive_time), &rpc__resp__wifi_get_inactive_time__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21727,7 +21727,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_country_code), &rpc__resp__wifi_set_country_code__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21739,7 +21739,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_country_code), &rpc__resp__wifi_get_country_code__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21751,7 +21751,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_sta_get_aid), &rpc__resp__wifi_sta_get_aid__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21763,7 +21763,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_sta_get_negotiated_phymode), &rpc__resp__wifi_sta_get_negotiated_phymode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21775,7 +21775,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_sta_get_rssi), &rpc__resp__wifi_sta_get_rssi__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21787,7 +21787,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_protocols), &rpc__resp__wifi_set_protocols__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21799,7 +21799,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_protocols), &rpc__resp__wifi_get_protocols__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21811,7 +21811,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_bandwidths), &rpc__resp__wifi_set_bandwidths__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21823,7 +21823,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_bandwidths), &rpc__resp__wifi_get_bandwidths__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21835,7 +21835,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_band), &rpc__resp__wifi_set_band__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21847,7 +21847,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_band), &rpc__resp__wifi_get_band__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21859,7 +21859,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_set_bandmode), &rpc__resp__wifi_set_band_mode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21871,7 +21871,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_get_bandmode), &rpc__resp__wifi_get_band_mode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21883,7 +21883,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_get_coprocessor_fwversion), &rpc__resp__get_coprocessor_fw_version__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21895,7 +21895,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_scan_get_ap_record), &rpc__resp__wifi_scan_get_ap_record__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21907,7 +21907,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_set_dhcp_dns), &rpc__resp__set_dhcp_dns_status__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21919,7 +21919,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_get_dhcp_dns), &rpc__resp__get_dhcp_dns_status__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21931,7 +21931,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_sta_twt_config), &rpc__resp__wifi_sta_twt_config__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21943,7 +21943,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_sta_itwt_setup), &rpc__resp__wifi_sta_itwt_setup__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21955,7 +21955,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_sta_itwt_teardown), &rpc__resp__wifi_sta_itwt_teardown__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21967,7 +21967,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_sta_itwt_suspend), &rpc__resp__wifi_sta_itwt_suspend__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21979,7 +21979,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_sta_itwt_get_flow_id_status), &rpc__resp__wifi_sta_itwt_get_flow_id_status__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -21991,7 +21991,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_sta_itwt_send_probe_req), &rpc__resp__wifi_sta_itwt_send_probe_req__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22003,7 +22003,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_wifi_sta_itwt_set_target_wake_time_offset), &rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22015,7 +22015,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_gpio_config), &rpc__resp__gpio_config__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22027,7 +22027,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_gpio_reset), &rpc__resp__gpio_reset_pin__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22039,7 +22039,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_gpio_get_level), &rpc__resp__gpio_get_level__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22051,7 +22051,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_gpio_set_direction), &rpc__resp__gpio_set_direction__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22063,7 +22063,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_gpio_input_enable), &rpc__resp__gpio_input_enable__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22075,7 +22075,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_gpio_set_pull_mode), &rpc__resp__gpio_set_pull_mode__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22087,7 +22087,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, resp_gpio_set_level), &rpc__resp__gpio_set_level__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22099,7 +22099,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_esp_init), &rpc__event__espinit__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22111,7 +22111,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_heartbeat), &rpc__event__heartbeat__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22123,7 +22123,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_ap_sta_connected), &rpc__event__ap__sta_connected__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22135,7 +22135,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_ap_sta_disconnected), &rpc__event__ap__sta_disconnected__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22147,7 +22147,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_wifi_event_no_args), &rpc__event__wifi_event_no_args__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22159,7 +22159,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_sta_scan_done), &rpc__event__sta_scan_done__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22171,7 +22171,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_sta_connected), &rpc__event__sta_connected__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22183,7 +22183,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_sta_disconnected), &rpc__event__sta_disconnected__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22195,7 +22195,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_dhcp_dns), &rpc__event__dhcp_dns_status__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22207,7 +22207,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_sta_itwt_setup), &rpc__event__sta_itwt_setup__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22219,7 +22219,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_sta_itwt_teardown), &rpc__event__sta_itwt_teardown__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22231,7 +22231,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_sta_itwt_suspend), &rpc__event__sta_itwt_suspend__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { @@ -22243,7 +22243,7 @@ static const ProtobufCFieldDescriptor rpc__field_descriptors[162] = offsetof(Rpc, event_sta_itwt_probe), &rpc__event__sta_itwt_probe__descriptor, NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; diff --git a/common/proto/esp_hosted_rpc.pb-c.h b/common/proto/esp_hosted_rpc.pb-c.h index 23488d0..8086afe 100644 --- a/common/proto/esp_hosted_rpc.pb-c.h +++ b/common/proto/esp_hosted_rpc.pb-c.h @@ -9,9 +9,9 @@ PROTOBUF_C__BEGIN_DECLS #if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protobuf-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1005002 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protobuf-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protobuf-c. +# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. +#elif 1004001 < PROTOBUF_C_MIN_COMPILER_VERSION +# 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. #endif @@ -964,7 +964,7 @@ struct WifiInitConfig }; #define WIFI_INIT_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_init_config__descriptor) \ -, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } + , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } struct WifiCountry @@ -994,7 +994,7 @@ struct WifiCountry }; #define WIFI_COUNTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_country__descriptor) \ -, {0,NULL}, 0, 0, 0, 0 } + , {0,NULL}, 0, 0, 0, 0 } struct WifiActiveScanTime @@ -1012,7 +1012,7 @@ struct WifiActiveScanTime }; #define WIFI_ACTIVE_SCAN_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_active_scan_time__descriptor) \ -, 0, 0 } + , 0, 0 } struct WifiScanTime @@ -1030,7 +1030,7 @@ struct WifiScanTime }; #define WIFI_SCAN_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_scan_time__descriptor) \ -, NULL, 0 } + , NULL, 0 } struct WifiScanChannelBitmap @@ -1047,7 +1047,7 @@ struct WifiScanChannelBitmap }; #define WIFI_SCAN_CHANNEL_BITMAP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_scan_channel_bitmap__descriptor) \ -, 0, 0 } + , 0, 0 } struct WifiScanConfig @@ -1090,7 +1090,7 @@ struct WifiScanConfig }; #define WIFI_SCAN_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_scan_config__descriptor) \ -, {0,NULL}, {0,NULL}, 0, 0, 0, NULL, 0, NULL } + , {0,NULL}, {0,NULL}, 0, 0, 0, NULL, 0, NULL } struct WifiHeApInfo @@ -1112,7 +1112,7 @@ struct WifiHeApInfo }; #define WIFI_HE_AP_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_he_ap_info__descriptor) \ -, 0, 0 } + , 0, 0 } struct WifiApRecord @@ -1193,7 +1193,7 @@ struct WifiApRecord }; #define WIFI_AP_RECORD__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ap_record__descriptor) \ -, {0,NULL}, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0 } + , {0,NULL}, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, 0, 0, 0 } struct WifiScanThreshold @@ -1217,7 +1217,7 @@ struct WifiScanThreshold }; #define WIFI_SCAN_THRESHOLD__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_scan_threshold__descriptor) \ -, 0, 0, 0 } + , 0, 0, 0 } struct WifiPmfConfig @@ -1234,7 +1234,7 @@ struct WifiPmfConfig }; #define WIFI_PMF_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_pmf_config__descriptor) \ -, 0, 0 } + , 0, 0 } struct WifiBssMaxIdleConfig @@ -1251,7 +1251,7 @@ struct WifiBssMaxIdleConfig }; #define WIFI_BSS_MAX_IDLE_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_bss_max_idle_config__descriptor) \ -, 0, 0 } + , 0, 0 } struct WifiApConfig @@ -1334,7 +1334,7 @@ struct WifiApConfig }; #define WIFI_AP_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ap_config__descriptor) \ -, {0,NULL}, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, NULL, 0 } + , {0,NULL}, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, NULL, 0 } struct WifiStaConfig @@ -1430,7 +1430,7 @@ struct WifiStaConfig }; #define WIFI_STA_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_sta_config__descriptor) \ -, {0,NULL}, {0,NULL}, 0, 0, {0,NULL}, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, {0,NULL}, 0 } + , {0,NULL}, {0,NULL}, 0, 0, {0,NULL}, 0, 0, 0, NULL, NULL, 0, 0, 0, 0, {0,NULL}, 0 } typedef enum { @@ -1457,7 +1457,7 @@ struct WifiConfig }; #define WIFI_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_config__descriptor) \ -, WIFI_CONFIG__U__NOT_SET, {0} } + , WIFI_CONFIG__U__NOT_SET, {0} } struct WifiStaInfo @@ -1484,7 +1484,7 @@ struct WifiStaInfo }; #define WIFI_STA_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_sta_info__descriptor) \ -, {0,NULL}, 0, 0 } + , {0,NULL}, 0, 0 } struct WifiStaList @@ -1502,7 +1502,7 @@ struct WifiStaList }; #define WIFI_STA_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_sta_list__descriptor) \ -, 0,NULL, 0 } + , 0,NULL, 0 } struct WifiPktRxCtrl @@ -1610,7 +1610,7 @@ struct WifiPktRxCtrl }; #define WIFI_PKT_RX_CTRL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_pkt_rx_ctrl__descriptor) \ -, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } + , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } struct WifiPromiscuousPkt @@ -1627,7 +1627,7 @@ struct WifiPromiscuousPkt }; #define WIFI_PROMISCUOUS_PKT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_promiscuous_pkt__descriptor) \ -, NULL, {0,NULL} } + , NULL, {0,NULL} } struct WifiPromiscuousFilter @@ -1640,7 +1640,7 @@ struct WifiPromiscuousFilter }; #define WIFI_PROMISCUOUS_FILTER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_promiscuous_filter__descriptor) \ -, 0 } + , 0 } struct WifiCsiConfig @@ -1678,7 +1678,7 @@ struct WifiCsiConfig }; #define WIFI_CSI_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_csi_config__descriptor) \ -, 0, 0, 0, 0, 0, 0, 0 } + , 0, 0, 0, 0, 0, 0, 0 } struct WifiCsiInfo @@ -1711,7 +1711,7 @@ struct WifiCsiInfo }; #define WIFI_CSI_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_csi_info__descriptor) \ -, NULL, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0 } + , NULL, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0 } struct WifiAntGpio @@ -1728,7 +1728,7 @@ struct WifiAntGpio }; #define WIFI_ANT_GPIO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ant_gpio__descriptor) \ -, 0, 0 } + , 0, 0 } struct WifiAntGpioConfig @@ -1742,7 +1742,7 @@ struct WifiAntGpioConfig }; #define WIFI_ANT_GPIO_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ant_gpio_config__descriptor) \ -, 0,NULL } + , 0,NULL } struct WifiAntConfig @@ -1771,7 +1771,7 @@ struct WifiAntConfig }; #define WIFI_ANT_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ant_config__descriptor) \ -, 0, 0, 0, 0, 0 } + , 0, 0, 0, 0, 0 } struct WifiActionTxReq @@ -1804,7 +1804,7 @@ struct WifiActionTxReq }; #define WIFI_ACTION_TX_REQ__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_action_tx_req__descriptor) \ -, 0, {0,NULL}, 0, 0, {0,NULL} } + , 0, {0,NULL}, 0, 0, {0,NULL} } struct WifiFtmInitiatorCfg @@ -1829,7 +1829,7 @@ struct WifiFtmInitiatorCfg }; #define WIFI_FTM_INITIATOR_CFG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ftm_initiator_cfg__descriptor) \ -, {0,NULL}, 0, 0, 0 } + , {0,NULL}, 0, 0, 0 } struct WifiEventStaScanDone @@ -1850,7 +1850,7 @@ struct WifiEventStaScanDone }; #define WIFI_EVENT_STA_SCAN_DONE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_scan_done__descriptor) \ -, 0, 0, 0 } + , 0, 0, 0 } struct WifiEventStaConnected @@ -1883,7 +1883,7 @@ struct WifiEventStaConnected }; #define WIFI_EVENT_STA_CONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_connected__descriptor) \ -, {0,NULL}, 0, {0,NULL}, 0, 0, 0 } + , {0,NULL}, 0, {0,NULL}, 0, 0, 0 } struct WifiEventStaDisconnected @@ -1912,7 +1912,7 @@ struct WifiEventStaDisconnected }; #define WIFI_EVENT_STA_DISCONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_disconnected__descriptor) \ -, {0,NULL}, 0, {0,NULL}, 0, 0 } + , {0,NULL}, 0, {0,NULL}, 0, 0 } struct WifiEventStaAuthmodeChange @@ -1929,7 +1929,7 @@ struct WifiEventStaAuthmodeChange }; #define WIFI_EVENT_STA_AUTHMODE_CHANGE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_authmode_change__descriptor) \ -, 0, 0 } + , 0, 0 } struct WifiEventStaWpsErPin @@ -1942,7 +1942,7 @@ struct WifiEventStaWpsErPin }; #define WIFI_EVENT_STA_WPS_ER_PIN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_wps_er_pin__descriptor) \ -, {0,NULL} } + , {0,NULL} } struct ApCred @@ -1959,7 +1959,7 @@ struct ApCred }; #define AP_CRED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&ap_cred__descriptor) \ -, {0,NULL}, {0,NULL} } + , {0,NULL}, {0,NULL} } struct WifiEventStaWpsErSuccess @@ -1977,7 +1977,7 @@ struct WifiEventStaWpsErSuccess }; #define WIFI_EVENT_STA_WPS_ER_SUCCESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_sta_wps_er_success__descriptor) \ -, 0, 0,NULL } + , 0, 0,NULL } /* @@ -1997,7 +1997,7 @@ struct WifiEventApProbeReqRx }; #define WIFI_EVENT_AP_PROBE_REQ_RX__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_ap_probe_req_rx__descriptor) \ -, 0, 0 } + , 0, 0 } /* @@ -2013,7 +2013,7 @@ struct WifiEventBssRssiLow }; #define WIFI_EVENT_BSS_RSSI_LOW__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_bss_rssi_low__descriptor) \ -, 0 } + , 0 } struct WifiFtmReportEntry @@ -2053,7 +2053,7 @@ struct WifiFtmReportEntry }; #define WIFI_FTM_REPORT_ENTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_ftm_report_entry__descriptor) \ -, 0, 0, 0, 0, 0, 0, 0 } + , 0, 0, 0, 0, 0, 0, 0 } struct WifiEventFtmReport @@ -2091,7 +2091,7 @@ struct WifiEventFtmReport }; #define WIFI_EVENT_FTM_REPORT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_ftm_report__descriptor) \ -, {0,NULL}, 0, 0, 0, 0, 0,NULL, 0 } + , {0,NULL}, 0, 0, 0, 0, 0,NULL, 0 } struct WifiEventActionTxStatus @@ -2116,7 +2116,7 @@ struct WifiEventActionTxStatus }; #define WIFI_EVENT_ACTION_TX_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_action_tx_status__descriptor) \ -, 0, 0, {0,NULL}, 0 } + , 0, 0, {0,NULL}, 0 } struct WifiEventRocDone @@ -2129,7 +2129,7 @@ struct WifiEventRocDone }; #define WIFI_EVENT_ROC_DONE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_roc_done__descriptor) \ -, 0 } + , 0 } struct WifiEventApWpsRgPin @@ -2142,7 +2142,7 @@ struct WifiEventApWpsRgPin }; #define WIFI_EVENT_AP_WPS_RG_PIN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_ap_wps_rg_pin__descriptor) \ -, {0,NULL} } + , {0,NULL} } struct WifiEventApWpsRgFailReason @@ -2159,7 +2159,7 @@ struct WifiEventApWpsRgFailReason }; #define WIFI_EVENT_AP_WPS_RG_FAIL_REASON__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_ap_wps_rg_fail_reason__descriptor) \ -, 0, {0,NULL} } + , 0, {0,NULL} } struct WifiEventApWpsRgSuccess @@ -2172,7 +2172,7 @@ struct WifiEventApWpsRgSuccess }; #define WIFI_EVENT_AP_WPS_RG_SUCCESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_event_ap_wps_rg_success__descriptor) \ -, {0,NULL} } + , {0,NULL} } struct WifiProtocols @@ -2189,7 +2189,7 @@ struct WifiProtocols }; #define WIFI_PROTOCOLS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_protocols__descriptor) \ -, 0, 0 } + , 0, 0 } struct WifiBandwidths @@ -2206,7 +2206,7 @@ struct WifiBandwidths }; #define WIFI_BANDWIDTHS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_bandwidths__descriptor) \ -, 0, 0 } + , 0, 0 } struct WifiItwtSetupConfig @@ -2231,7 +2231,7 @@ struct WifiItwtSetupConfig }; #define WIFI_ITWT_SETUP_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_itwt_setup_config__descriptor) \ -, 0, 0, 0, 0, 0, 0 } + , 0, 0, 0, 0, 0, 0 } struct WifiTwtConfig @@ -2248,7 +2248,7 @@ struct WifiTwtConfig }; #define WIFI_TWT_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&wifi_twt_config__descriptor) \ -, 0, 0 } + , 0, 0 } struct ConnectedSTAList @@ -2259,7 +2259,7 @@ struct ConnectedSTAList }; #define CONNECTED_STALIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&connected_stalist__descriptor) \ -, {0,NULL}, 0 } + , {0,NULL}, 0 } /* @@ -2272,7 +2272,7 @@ struct RpcReqGetMacAddress }; #define RPC__REQ__GET_MAC_ADDRESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__get_mac_address__descriptor) \ -, 0 } + , 0 } struct RpcRespGetMacAddress @@ -2283,7 +2283,7 @@ struct RpcRespGetMacAddress }; #define RPC__RESP__GET_MAC_ADDRESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__get_mac_address__descriptor) \ -, {0,NULL}, 0 } + , {0,NULL}, 0 } struct RpcReqGetMode @@ -2292,7 +2292,7 @@ struct RpcReqGetMode }; #define RPC__REQ__GET_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__get_mode__descriptor) \ - } + } struct RpcRespGetMode @@ -2303,7 +2303,7 @@ struct RpcRespGetMode }; #define RPC__RESP__GET_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__get_mode__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqSetMode @@ -2313,7 +2313,7 @@ struct RpcReqSetMode }; #define RPC__REQ__SET_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__set_mode__descriptor) \ -, 0 } + , 0 } struct RpcRespSetMode @@ -2323,7 +2323,7 @@ struct RpcRespSetMode }; #define RPC__RESP__SET_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__set_mode__descriptor) \ -, 0 } + , 0 } struct RpcReqGetPs @@ -2332,7 +2332,7 @@ struct RpcReqGetPs }; #define RPC__REQ__GET_PS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__get_ps__descriptor) \ - } + } struct RpcRespGetPs @@ -2343,7 +2343,7 @@ struct RpcRespGetPs }; #define RPC__RESP__GET_PS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__get_ps__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqSetPs @@ -2353,7 +2353,7 @@ struct RpcReqSetPs }; #define RPC__REQ__SET_PS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__set_ps__descriptor) \ -, 0 } + , 0 } struct RpcRespSetPs @@ -2363,7 +2363,7 @@ struct RpcRespSetPs }; #define RPC__RESP__SET_PS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__set_ps__descriptor) \ -, 0 } + , 0 } struct RpcReqSetMacAddress @@ -2374,7 +2374,7 @@ struct RpcReqSetMacAddress }; #define RPC__REQ__SET_MAC_ADDRESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__set_mac_address__descriptor) \ -, {0,NULL}, 0 } + , {0,NULL}, 0 } struct RpcRespSetMacAddress @@ -2384,7 +2384,7 @@ struct RpcRespSetMacAddress }; #define RPC__RESP__SET_MAC_ADDRESS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__set_mac_address__descriptor) \ -, 0 } + , 0 } struct RpcReqOTABegin @@ -2393,7 +2393,7 @@ struct RpcReqOTABegin }; #define RPC__REQ__OTABEGIN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__otabegin__descriptor) \ - } + } struct RpcRespOTABegin @@ -2403,7 +2403,7 @@ struct RpcRespOTABegin }; #define RPC__RESP__OTABEGIN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__otabegin__descriptor) \ -, 0 } + , 0 } struct RpcReqOTAWrite @@ -2413,7 +2413,7 @@ struct RpcReqOTAWrite }; #define RPC__REQ__OTAWRITE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__otawrite__descriptor) \ -, {0,NULL} } + , {0,NULL} } struct RpcRespOTAWrite @@ -2423,7 +2423,7 @@ struct RpcRespOTAWrite }; #define RPC__RESP__OTAWRITE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__otawrite__descriptor) \ -, 0 } + , 0 } struct RpcReqOTAEnd @@ -2432,7 +2432,7 @@ struct RpcReqOTAEnd }; #define RPC__REQ__OTAEND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__otaend__descriptor) \ - } + } struct RpcRespOTAEnd @@ -2442,7 +2442,7 @@ struct RpcRespOTAEnd }; #define RPC__RESP__OTAEND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__otaend__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiSetMaxTxPower @@ -2452,7 +2452,7 @@ struct RpcReqWifiSetMaxTxPower }; #define RPC__REQ__WIFI_SET_MAX_TX_POWER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_max_tx_power__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiSetMaxTxPower @@ -2462,7 +2462,7 @@ struct RpcRespWifiSetMaxTxPower }; #define RPC__RESP__WIFI_SET_MAX_TX_POWER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_max_tx_power__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiGetMaxTxPower @@ -2471,7 +2471,7 @@ struct RpcReqWifiGetMaxTxPower }; #define RPC__REQ__WIFI_GET_MAX_TX_POWER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_max_tx_power__descriptor) \ - } + } struct RpcRespWifiGetMaxTxPower @@ -2482,7 +2482,7 @@ struct RpcRespWifiGetMaxTxPower }; #define RPC__RESP__WIFI_GET_MAX_TX_POWER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_max_tx_power__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqConfigHeartbeat @@ -2493,7 +2493,7 @@ struct RpcReqConfigHeartbeat }; #define RPC__REQ__CONFIG_HEARTBEAT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__config_heartbeat__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcRespConfigHeartbeat @@ -2503,7 +2503,7 @@ struct RpcRespConfigHeartbeat }; #define RPC__RESP__CONFIG_HEARTBEAT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__config_heartbeat__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiInit @@ -2513,7 +2513,7 @@ struct RpcReqWifiInit }; #define RPC__REQ__WIFI_INIT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_init__descriptor) \ -, NULL } + , NULL } struct RpcRespWifiInit @@ -2523,7 +2523,7 @@ struct RpcRespWifiInit }; #define RPC__RESP__WIFI_INIT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_init__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiDeinit @@ -2532,7 +2532,7 @@ struct RpcReqWifiDeinit }; #define RPC__REQ__WIFI_DEINIT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_deinit__descriptor) \ - } + } struct RpcRespWifiDeinit @@ -2542,7 +2542,7 @@ struct RpcRespWifiDeinit }; #define RPC__RESP__WIFI_DEINIT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_deinit__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiSetConfig @@ -2553,7 +2553,7 @@ struct RpcReqWifiSetConfig }; #define RPC__REQ__WIFI_SET_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_config__descriptor) \ -, 0, NULL } + , 0, NULL } struct RpcRespWifiSetConfig @@ -2563,7 +2563,7 @@ struct RpcRespWifiSetConfig }; #define RPC__RESP__WIFI_SET_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_config__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiGetConfig @@ -2573,7 +2573,7 @@ struct RpcReqWifiGetConfig }; #define RPC__REQ__WIFI_GET_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_config__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiGetConfig @@ -2585,7 +2585,7 @@ struct RpcRespWifiGetConfig }; #define RPC__RESP__WIFI_GET_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_config__descriptor) \ -, 0, 0, NULL } + , 0, 0, NULL } struct RpcReqWifiConnect @@ -2594,7 +2594,7 @@ struct RpcReqWifiConnect }; #define RPC__REQ__WIFI_CONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_connect__descriptor) \ - } + } struct RpcRespWifiConnect @@ -2604,7 +2604,7 @@ struct RpcRespWifiConnect }; #define RPC__RESP__WIFI_CONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_connect__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiDisconnect @@ -2613,7 +2613,7 @@ struct RpcReqWifiDisconnect }; #define RPC__REQ__WIFI_DISCONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_disconnect__descriptor) \ - } + } struct RpcRespWifiDisconnect @@ -2623,7 +2623,7 @@ struct RpcRespWifiDisconnect }; #define RPC__RESP__WIFI_DISCONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_disconnect__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiStart @@ -2632,7 +2632,7 @@ struct RpcReqWifiStart }; #define RPC__REQ__WIFI_START__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_start__descriptor) \ - } + } struct RpcRespWifiStart @@ -2642,7 +2642,7 @@ struct RpcRespWifiStart }; #define RPC__RESP__WIFI_START__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_start__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiStop @@ -2651,7 +2651,7 @@ struct RpcReqWifiStop }; #define RPC__REQ__WIFI_STOP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_stop__descriptor) \ - } + } struct RpcRespWifiStop @@ -2661,7 +2661,7 @@ struct RpcRespWifiStop }; #define RPC__RESP__WIFI_STOP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_stop__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiScanStart @@ -2673,7 +2673,7 @@ struct RpcReqWifiScanStart }; #define RPC__REQ__WIFI_SCAN_START__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_scan_start__descriptor) \ -, NULL, 0, 0 } + , NULL, 0, 0 } struct RpcRespWifiScanStart @@ -2683,7 +2683,7 @@ struct RpcRespWifiScanStart }; #define RPC__RESP__WIFI_SCAN_START__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_scan_start__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiScanStop @@ -2692,7 +2692,7 @@ struct RpcReqWifiScanStop }; #define RPC__REQ__WIFI_SCAN_STOP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_scan_stop__descriptor) \ - } + } struct RpcRespWifiScanStop @@ -2702,7 +2702,7 @@ struct RpcRespWifiScanStop }; #define RPC__RESP__WIFI_SCAN_STOP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_scan_stop__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiScanGetApNum @@ -2711,7 +2711,7 @@ struct RpcReqWifiScanGetApNum }; #define RPC__REQ__WIFI_SCAN_GET_AP_NUM__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_scan_get_ap_num__descriptor) \ - } + } struct RpcRespWifiScanGetApNum @@ -2722,7 +2722,7 @@ struct RpcRespWifiScanGetApNum }; #define RPC__RESP__WIFI_SCAN_GET_AP_NUM__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_scan_get_ap_num__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiScanGetApRecords @@ -2732,7 +2732,7 @@ struct RpcReqWifiScanGetApRecords }; #define RPC__REQ__WIFI_SCAN_GET_AP_RECORDS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_scan_get_ap_records__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiScanGetApRecords @@ -2745,7 +2745,7 @@ struct RpcRespWifiScanGetApRecords }; #define RPC__RESP__WIFI_SCAN_GET_AP_RECORDS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_scan_get_ap_records__descriptor) \ -, 0, 0, 0,NULL } + , 0, 0, 0,NULL } struct RpcReqWifiScanGetApRecord @@ -2754,7 +2754,7 @@ struct RpcReqWifiScanGetApRecord }; #define RPC__REQ__WIFI_SCAN_GET_AP_RECORD__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_scan_get_ap_record__descriptor) \ - } + } struct RpcRespWifiScanGetApRecord @@ -2765,7 +2765,7 @@ struct RpcRespWifiScanGetApRecord }; #define RPC__RESP__WIFI_SCAN_GET_AP_RECORD__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_scan_get_ap_record__descriptor) \ -, 0, NULL } + , 0, NULL } struct RpcReqWifiClearApList @@ -2774,7 +2774,7 @@ struct RpcReqWifiClearApList }; #define RPC__REQ__WIFI_CLEAR_AP_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_clear_ap_list__descriptor) \ - } + } struct RpcRespWifiClearApList @@ -2784,7 +2784,7 @@ struct RpcRespWifiClearApList }; #define RPC__RESP__WIFI_CLEAR_AP_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_clear_ap_list__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiRestore @@ -2793,7 +2793,7 @@ struct RpcReqWifiRestore }; #define RPC__REQ__WIFI_RESTORE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_restore__descriptor) \ - } + } struct RpcRespWifiRestore @@ -2803,7 +2803,7 @@ struct RpcRespWifiRestore }; #define RPC__RESP__WIFI_RESTORE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_restore__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiClearFastConnect @@ -2812,7 +2812,7 @@ struct RpcReqWifiClearFastConnect }; #define RPC__REQ__WIFI_CLEAR_FAST_CONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_clear_fast_connect__descriptor) \ - } + } struct RpcRespWifiClearFastConnect @@ -2822,7 +2822,7 @@ struct RpcRespWifiClearFastConnect }; #define RPC__RESP__WIFI_CLEAR_FAST_CONNECT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_clear_fast_connect__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiDeauthSta @@ -2832,7 +2832,7 @@ struct RpcReqWifiDeauthSta }; #define RPC__REQ__WIFI_DEAUTH_STA__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_deauth_sta__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiDeauthSta @@ -2843,7 +2843,7 @@ struct RpcRespWifiDeauthSta }; #define RPC__RESP__WIFI_DEAUTH_STA__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_deauth_sta__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiStaGetApInfo @@ -2852,7 +2852,7 @@ struct RpcReqWifiStaGetApInfo }; #define RPC__REQ__WIFI_STA_GET_AP_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_get_ap_info__descriptor) \ - } + } struct RpcRespWifiStaGetApInfo @@ -2863,7 +2863,7 @@ struct RpcRespWifiStaGetApInfo }; #define RPC__RESP__WIFI_STA_GET_AP_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_get_ap_info__descriptor) \ -, 0, NULL } + , 0, NULL } struct RpcReqWifiSetProtocol @@ -2874,7 +2874,7 @@ struct RpcReqWifiSetProtocol }; #define RPC__REQ__WIFI_SET_PROTOCOL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_protocol__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcRespWifiSetProtocol @@ -2884,7 +2884,7 @@ struct RpcRespWifiSetProtocol }; #define RPC__RESP__WIFI_SET_PROTOCOL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_protocol__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiGetProtocol @@ -2894,7 +2894,7 @@ struct RpcReqWifiGetProtocol }; #define RPC__REQ__WIFI_GET_PROTOCOL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_protocol__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiGetProtocol @@ -2905,7 +2905,7 @@ struct RpcRespWifiGetProtocol }; #define RPC__RESP__WIFI_GET_PROTOCOL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_protocol__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiSetBandwidth @@ -2916,7 +2916,7 @@ struct RpcReqWifiSetBandwidth }; #define RPC__REQ__WIFI_SET_BANDWIDTH__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_bandwidth__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcRespWifiSetBandwidth @@ -2926,7 +2926,7 @@ struct RpcRespWifiSetBandwidth }; #define RPC__RESP__WIFI_SET_BANDWIDTH__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_bandwidth__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiGetBandwidth @@ -2936,7 +2936,7 @@ struct RpcReqWifiGetBandwidth }; #define RPC__REQ__WIFI_GET_BANDWIDTH__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_bandwidth__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiGetBandwidth @@ -2947,7 +2947,7 @@ struct RpcRespWifiGetBandwidth }; #define RPC__RESP__WIFI_GET_BANDWIDTH__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_bandwidth__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiSetChannel @@ -2958,7 +2958,7 @@ struct RpcReqWifiSetChannel }; #define RPC__REQ__WIFI_SET_CHANNEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_channel__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcRespWifiSetChannel @@ -2968,7 +2968,7 @@ struct RpcRespWifiSetChannel }; #define RPC__RESP__WIFI_SET_CHANNEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_channel__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiGetChannel @@ -2977,7 +2977,7 @@ struct RpcReqWifiGetChannel }; #define RPC__REQ__WIFI_GET_CHANNEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_channel__descriptor) \ - } + } struct RpcRespWifiGetChannel @@ -2989,7 +2989,7 @@ struct RpcRespWifiGetChannel }; #define RPC__RESP__WIFI_GET_CHANNEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_channel__descriptor) \ -, 0, 0, 0 } + , 0, 0, 0 } struct RpcReqWifiSetStorage @@ -2999,7 +2999,7 @@ struct RpcReqWifiSetStorage }; #define RPC__REQ__WIFI_SET_STORAGE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_storage__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiSetStorage @@ -3009,7 +3009,7 @@ struct RpcRespWifiSetStorage }; #define RPC__RESP__WIFI_SET_STORAGE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_storage__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiSetCountryCode @@ -3020,7 +3020,7 @@ struct RpcReqWifiSetCountryCode }; #define RPC__REQ__WIFI_SET_COUNTRY_CODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_country_code__descriptor) \ -, {0,NULL}, 0 } + , {0,NULL}, 0 } struct RpcRespWifiSetCountryCode @@ -3030,7 +3030,7 @@ struct RpcRespWifiSetCountryCode }; #define RPC__RESP__WIFI_SET_COUNTRY_CODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_country_code__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiGetCountryCode @@ -3039,7 +3039,7 @@ struct RpcReqWifiGetCountryCode }; #define RPC__REQ__WIFI_GET_COUNTRY_CODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_country_code__descriptor) \ - } + } struct RpcRespWifiGetCountryCode @@ -3050,7 +3050,7 @@ struct RpcRespWifiGetCountryCode }; #define RPC__RESP__WIFI_GET_COUNTRY_CODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_country_code__descriptor) \ -, 0, {0,NULL} } + , 0, {0,NULL} } struct RpcReqWifiSetCountry @@ -3060,7 +3060,7 @@ struct RpcReqWifiSetCountry }; #define RPC__REQ__WIFI_SET_COUNTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_country__descriptor) \ -, NULL } + , NULL } struct RpcRespWifiSetCountry @@ -3070,7 +3070,7 @@ struct RpcRespWifiSetCountry }; #define RPC__RESP__WIFI_SET_COUNTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_country__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiGetCountry @@ -3079,7 +3079,7 @@ struct RpcReqWifiGetCountry }; #define RPC__REQ__WIFI_GET_COUNTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_country__descriptor) \ - } + } struct RpcRespWifiGetCountry @@ -3090,7 +3090,7 @@ struct RpcRespWifiGetCountry }; #define RPC__RESP__WIFI_GET_COUNTRY__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_country__descriptor) \ -, 0, NULL } + , 0, NULL } struct RpcReqWifiApGetStaList @@ -3099,7 +3099,7 @@ struct RpcReqWifiApGetStaList }; #define RPC__REQ__WIFI_AP_GET_STA_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_ap_get_sta_list__descriptor) \ - } + } struct RpcRespWifiApGetStaList @@ -3110,7 +3110,7 @@ struct RpcRespWifiApGetStaList }; #define RPC__RESP__WIFI_AP_GET_STA_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_ap_get_sta_list__descriptor) \ -, 0, NULL } + , 0, NULL } struct RpcReqWifiApGetStaAid @@ -3120,7 +3120,7 @@ struct RpcReqWifiApGetStaAid }; #define RPC__REQ__WIFI_AP_GET_STA_AID__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_ap_get_sta_aid__descriptor) \ -, {0,NULL} } + , {0,NULL} } struct RpcReqWifiStaGetNegotiatedPhymode @@ -3129,7 +3129,7 @@ struct RpcReqWifiStaGetNegotiatedPhymode }; #define RPC__REQ__WIFI_STA_GET_NEGOTIATED_PHYMODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_get_negotiated_phymode__descriptor) \ - } + } struct RpcRespWifiStaGetNegotiatedPhymode @@ -3140,7 +3140,7 @@ struct RpcRespWifiStaGetNegotiatedPhymode }; #define RPC__RESP__WIFI_STA_GET_NEGOTIATED_PHYMODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_get_negotiated_phymode__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcRespWifiApGetStaAid @@ -3151,7 +3151,7 @@ struct RpcRespWifiApGetStaAid }; #define RPC__RESP__WIFI_AP_GET_STA_AID__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_ap_get_sta_aid__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiStaGetRssi @@ -3160,7 +3160,7 @@ struct RpcReqWifiStaGetRssi }; #define RPC__REQ__WIFI_STA_GET_RSSI__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_get_rssi__descriptor) \ - } + } struct RpcRespWifiStaGetRssi @@ -3171,7 +3171,7 @@ struct RpcRespWifiStaGetRssi }; #define RPC__RESP__WIFI_STA_GET_RSSI__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_get_rssi__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiStaGetAid @@ -3180,7 +3180,7 @@ struct RpcReqWifiStaGetAid }; #define RPC__REQ__WIFI_STA_GET_AID__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_get_aid__descriptor) \ - } + } struct RpcRespWifiStaGetAid @@ -3191,7 +3191,7 @@ struct RpcRespWifiStaGetAid }; #define RPC__RESP__WIFI_STA_GET_AID__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_get_aid__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiSetProtocols @@ -3202,7 +3202,7 @@ struct RpcReqWifiSetProtocols }; #define RPC__REQ__WIFI_SET_PROTOCOLS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_protocols__descriptor) \ -, 0, NULL } + , 0, NULL } struct RpcRespWifiSetProtocols @@ -3213,7 +3213,7 @@ struct RpcRespWifiSetProtocols }; #define RPC__RESP__WIFI_SET_PROTOCOLS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_protocols__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiGetProtocols @@ -3223,7 +3223,7 @@ struct RpcReqWifiGetProtocols }; #define RPC__REQ__WIFI_GET_PROTOCOLS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_protocols__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiGetProtocols @@ -3235,7 +3235,7 @@ struct RpcRespWifiGetProtocols }; #define RPC__RESP__WIFI_GET_PROTOCOLS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_protocols__descriptor) \ -, 0, 0, NULL } + , 0, 0, NULL } struct RpcReqWifiSetBandwidths @@ -3246,7 +3246,7 @@ struct RpcReqWifiSetBandwidths }; #define RPC__REQ__WIFI_SET_BANDWIDTHS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_bandwidths__descriptor) \ -, 0, NULL } + , 0, NULL } struct RpcRespWifiSetBandwidths @@ -3257,7 +3257,7 @@ struct RpcRespWifiSetBandwidths }; #define RPC__RESP__WIFI_SET_BANDWIDTHS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_bandwidths__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiGetBandwidths @@ -3267,7 +3267,7 @@ struct RpcReqWifiGetBandwidths }; #define RPC__REQ__WIFI_GET_BANDWIDTHS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_bandwidths__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiGetBandwidths @@ -3279,7 +3279,7 @@ struct RpcRespWifiGetBandwidths }; #define RPC__RESP__WIFI_GET_BANDWIDTHS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_bandwidths__descriptor) \ -, 0, 0, NULL } + , 0, 0, NULL } struct RpcReqWifiSetBand @@ -3289,7 +3289,7 @@ struct RpcReqWifiSetBand }; #define RPC__REQ__WIFI_SET_BAND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_band__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiSetBand @@ -3299,7 +3299,7 @@ struct RpcRespWifiSetBand }; #define RPC__RESP__WIFI_SET_BAND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_band__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiGetBand @@ -3308,7 +3308,7 @@ struct RpcReqWifiGetBand }; #define RPC__REQ__WIFI_GET_BAND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_band__descriptor) \ - } + } struct RpcRespWifiGetBand @@ -3319,7 +3319,7 @@ struct RpcRespWifiGetBand }; #define RPC__RESP__WIFI_GET_BAND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_band__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiSetBandMode @@ -3329,7 +3329,7 @@ struct RpcReqWifiSetBandMode }; #define RPC__REQ__WIFI_SET_BAND_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_band_mode__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiSetBandMode @@ -3339,7 +3339,7 @@ struct RpcRespWifiSetBandMode }; #define RPC__RESP__WIFI_SET_BAND_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_band_mode__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiGetBandMode @@ -3348,7 +3348,7 @@ struct RpcReqWifiGetBandMode }; #define RPC__REQ__WIFI_GET_BAND_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_band_mode__descriptor) \ - } + } struct RpcRespWifiGetBandMode @@ -3359,7 +3359,7 @@ struct RpcRespWifiGetBandMode }; #define RPC__RESP__WIFI_GET_BAND_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_band_mode__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiSetInactiveTime @@ -3370,7 +3370,7 @@ struct RpcReqWifiSetInactiveTime }; #define RPC__REQ__WIFI_SET_INACTIVE_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_set_inactive_time__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcRespWifiSetInactiveTime @@ -3380,7 +3380,7 @@ struct RpcRespWifiSetInactiveTime }; #define RPC__RESP__WIFI_SET_INACTIVE_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_set_inactive_time__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiGetInactiveTime @@ -3390,7 +3390,7 @@ struct RpcReqWifiGetInactiveTime }; #define RPC__REQ__WIFI_GET_INACTIVE_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_get_inactive_time__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiGetInactiveTime @@ -3401,7 +3401,7 @@ struct RpcRespWifiGetInactiveTime }; #define RPC__RESP__WIFI_GET_INACTIVE_TIME__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_get_inactive_time__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiStaItwtSetup @@ -3411,7 +3411,7 @@ struct RpcReqWifiStaItwtSetup }; #define RPC__REQ__WIFI_STA_ITWT_SETUP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_setup__descriptor) \ -, NULL } + , NULL } struct RpcRespWifiStaItwtSetup @@ -3421,7 +3421,7 @@ struct RpcRespWifiStaItwtSetup }; #define RPC__RESP__WIFI_STA_ITWT_SETUP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_setup__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiStaItwtTeardown @@ -3431,7 +3431,7 @@ struct RpcReqWifiStaItwtTeardown }; #define RPC__REQ__WIFI_STA_ITWT_TEARDOWN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_teardown__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiStaItwtTeardown @@ -3441,7 +3441,7 @@ struct RpcRespWifiStaItwtTeardown }; #define RPC__RESP__WIFI_STA_ITWT_TEARDOWN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_teardown__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiStaItwtSuspend @@ -3452,7 +3452,7 @@ struct RpcReqWifiStaItwtSuspend }; #define RPC__REQ__WIFI_STA_ITWT_SUSPEND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_suspend__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcRespWifiStaItwtSuspend @@ -3462,7 +3462,7 @@ struct RpcRespWifiStaItwtSuspend }; #define RPC__RESP__WIFI_STA_ITWT_SUSPEND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_suspend__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiStaItwtGetFlowIdStatus @@ -3471,7 +3471,7 @@ struct RpcReqWifiStaItwtGetFlowIdStatus }; #define RPC__REQ__WIFI_STA_ITWT_GET_FLOW_ID_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_get_flow_id_status__descriptor) \ - } + } struct RpcRespWifiStaItwtGetFlowIdStatus @@ -3482,7 +3482,7 @@ struct RpcRespWifiStaItwtGetFlowIdStatus }; #define RPC__RESP__WIFI_STA_ITWT_GET_FLOW_ID_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_get_flow_id_status__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqWifiStaItwtSendProbeReq @@ -3492,7 +3492,7 @@ struct RpcReqWifiStaItwtSendProbeReq }; #define RPC__REQ__WIFI_STA_ITWT_SEND_PROBE_REQ__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_send_probe_req__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiStaItwtSendProbeReq @@ -3502,7 +3502,7 @@ struct RpcRespWifiStaItwtSendProbeReq }; #define RPC__RESP__WIFI_STA_ITWT_SEND_PROBE_REQ__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_send_probe_req__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiStaItwtSetTargetWakeTimeOffset @@ -3512,7 +3512,7 @@ struct RpcReqWifiStaItwtSetTargetWakeTimeOffset }; #define RPC__REQ__WIFI_STA_ITWT_SET_TARGET_WAKE_TIME_OFFSET__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_itwt_set_target_wake_time_offset__descriptor) \ -, 0 } + , 0 } struct RpcRespWifiStaItwtSetTargetWakeTimeOffset @@ -3522,7 +3522,7 @@ struct RpcRespWifiStaItwtSetTargetWakeTimeOffset }; #define RPC__RESP__WIFI_STA_ITWT_SET_TARGET_WAKE_TIME_OFFSET__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_itwt_set_target_wake_time_offset__descriptor) \ -, 0 } + , 0 } struct RpcReqWifiStaTwtConfig @@ -3532,7 +3532,7 @@ struct RpcReqWifiStaTwtConfig }; #define RPC__REQ__WIFI_STA_TWT_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__wifi_sta_twt_config__descriptor) \ -, NULL } + , NULL } struct RpcRespWifiStaTwtConfig @@ -3542,7 +3542,7 @@ struct RpcRespWifiStaTwtConfig }; #define RPC__RESP__WIFI_STA_TWT_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__wifi_sta_twt_config__descriptor) \ -, 0 } + , 0 } struct RpcReqGetCoprocessorFwVersion @@ -3551,7 +3551,7 @@ struct RpcReqGetCoprocessorFwVersion }; #define RPC__REQ__GET_COPROCESSOR_FW_VERSION__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__get_coprocessor_fw_version__descriptor) \ - } + } struct RpcRespGetCoprocessorFwVersion @@ -3564,7 +3564,7 @@ struct RpcRespGetCoprocessorFwVersion }; #define RPC__RESP__GET_COPROCESSOR_FW_VERSION__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__get_coprocessor_fw_version__descriptor) \ -, 0, 0, 0, 0 } + , 0, 0, 0, 0 } struct RpcReqSetDhcpDnsStatus @@ -3582,7 +3582,7 @@ struct RpcReqSetDhcpDnsStatus }; #define RPC__REQ__SET_DHCP_DNS_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__set_dhcp_dns_status__descriptor) \ -, 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0 } + , 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0 } struct RpcRespSetDhcpDnsStatus @@ -3592,7 +3592,7 @@ struct RpcRespSetDhcpDnsStatus }; #define RPC__RESP__SET_DHCP_DNS_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__set_dhcp_dns_status__descriptor) \ -, 0 } + , 0 } struct RpcReqGetDhcpDnsStatus @@ -3602,7 +3602,7 @@ struct RpcReqGetDhcpDnsStatus }; #define RPC__REQ__GET_DHCP_DNS_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__get_dhcp_dns_status__descriptor) \ -, 0 } + , 0 } struct RpcRespGetDhcpDnsStatus @@ -3621,7 +3621,7 @@ struct RpcRespGetDhcpDnsStatus }; #define RPC__RESP__GET_DHCP_DNS_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__get_dhcp_dns_status__descriptor) \ -, 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0, 0 } + , 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0, 0 } struct RpcEventWifiEventNoArgs @@ -3632,7 +3632,7 @@ struct RpcEventWifiEventNoArgs }; #define RPC__EVENT__WIFI_EVENT_NO_ARGS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__wifi_event_no_args__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcEventESPInit @@ -3642,7 +3642,7 @@ struct RpcEventESPInit }; #define RPC__EVENT__ESPINIT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__espinit__descriptor) \ -, {0,NULL} } + , {0,NULL} } struct RpcEventHeartbeat @@ -3652,7 +3652,7 @@ struct RpcEventHeartbeat }; #define RPC__EVENT__HEARTBEAT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__heartbeat__descriptor) \ -, 0 } + , 0 } struct RpcEventAPStaDisconnected @@ -3666,7 +3666,7 @@ struct RpcEventAPStaDisconnected }; #define RPC__EVENT__AP__STA_DISCONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__ap__sta_disconnected__descriptor) \ -, 0, {0,NULL}, 0, 0, 0 } + , 0, {0,NULL}, 0, 0, 0 } struct RpcEventAPStaConnected @@ -3679,7 +3679,7 @@ struct RpcEventAPStaConnected }; #define RPC__EVENT__AP__STA_CONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__ap__sta_connected__descriptor) \ -, 0, {0,NULL}, 0, 0 } + , 0, {0,NULL}, 0, 0 } struct RpcEventStaScanDone @@ -3690,7 +3690,7 @@ struct RpcEventStaScanDone }; #define RPC__EVENT__STA_SCAN_DONE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_scan_done__descriptor) \ -, 0, NULL } + , 0, NULL } struct RpcEventStaConnected @@ -3701,7 +3701,7 @@ struct RpcEventStaConnected }; #define RPC__EVENT__STA_CONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_connected__descriptor) \ -, 0, NULL } + , 0, NULL } struct RpcEventStaDisconnected @@ -3712,7 +3712,7 @@ struct RpcEventStaDisconnected }; #define RPC__EVENT__STA_DISCONNECTED__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_disconnected__descriptor) \ -, 0, NULL } + , 0, NULL } struct RpcGpioConfig @@ -3726,7 +3726,7 @@ struct RpcGpioConfig }; #define RPC__GPIO_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__gpio_config__descriptor) \ -, 0, RPC__GPIO_MODE__GPIO_MODE_DISABLE, 0, 0, 0 } + , 0, RPC__GPIO_MODE__GPIO_MODE_DISABLE, 0, 0, 0 } struct RpcReqGpioConfig @@ -3736,7 +3736,7 @@ struct RpcReqGpioConfig }; #define RPC__REQ__GPIO_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_config__descriptor) \ -, NULL } + , NULL } struct RpcRespGpioConfig @@ -3746,7 +3746,7 @@ struct RpcRespGpioConfig }; #define RPC__RESP__GPIO_CONFIG__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_config__descriptor) \ -, 0 } + , 0 } struct RpcReqGpioReset @@ -3756,7 +3756,7 @@ struct RpcReqGpioReset }; #define RPC__REQ__GPIO_RESET__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_reset__descriptor) \ -, 0 } + , 0 } struct RpcRespGpioResetPin @@ -3766,7 +3766,7 @@ struct RpcRespGpioResetPin }; #define RPC__RESP__GPIO_RESET_PIN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_reset_pin__descriptor) \ -, 0 } + , 0 } struct RpcReqGpioSetLevel @@ -3780,7 +3780,7 @@ struct RpcReqGpioSetLevel }; #define RPC__REQ__GPIO_SET_LEVEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_set_level__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcRespGpioSetLevel @@ -3790,7 +3790,7 @@ struct RpcRespGpioSetLevel }; #define RPC__RESP__GPIO_SET_LEVEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_set_level__descriptor) \ -, 0 } + , 0 } struct RpcReqGpioGetLevel @@ -3800,7 +3800,7 @@ struct RpcReqGpioGetLevel }; #define RPC__REQ__GPIO_GET_LEVEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_get_level__descriptor) \ -, 0 } + , 0 } struct RpcRespGpioGetLevel @@ -3811,7 +3811,7 @@ struct RpcRespGpioGetLevel }; #define RPC__RESP__GPIO_GET_LEVEL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_get_level__descriptor) \ -, 0, 0 } + , 0, 0 } struct RpcReqGpioSetDirection @@ -3822,7 +3822,7 @@ struct RpcReqGpioSetDirection }; #define RPC__REQ__GPIO_SET_DIRECTION__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_set_direction__descriptor) \ -, 0, RPC__GPIO_MODE__GPIO_MODE_DISABLE } + , 0, RPC__GPIO_MODE__GPIO_MODE_DISABLE } struct RpcRespGpioSetDirection @@ -3832,7 +3832,7 @@ struct RpcRespGpioSetDirection }; #define RPC__RESP__GPIO_SET_DIRECTION__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_set_direction__descriptor) \ -, 0 } + , 0 } struct RpcReqGpioInputEnable @@ -3842,7 +3842,7 @@ struct RpcReqGpioInputEnable }; #define RPC__REQ__GPIO_INPUT_ENABLE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_input_enable__descriptor) \ -, 0 } + , 0 } struct RpcRespGpioInputEnable @@ -3852,7 +3852,7 @@ struct RpcRespGpioInputEnable }; #define RPC__RESP__GPIO_INPUT_ENABLE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_input_enable__descriptor) \ -, 0 } + , 0 } struct RpcReqGpioSetPullMode @@ -3863,7 +3863,7 @@ struct RpcReqGpioSetPullMode }; #define RPC__REQ__GPIO_SET_PULL_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__req__gpio_set_pull_mode__descriptor) \ -, 0, RPC__GPIO_PULL_MODE__GPIO_PULL_NONE } + , 0, RPC__GPIO_PULL_MODE__GPIO_PULL_NONE } struct RpcRespGpioSetPullMode @@ -3873,7 +3873,7 @@ struct RpcRespGpioSetPullMode }; #define RPC__RESP__GPIO_SET_PULL_MODE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__resp__gpio_set_pull_mode__descriptor) \ -, 0 } + , 0 } struct RpcEventDhcpDnsStatus @@ -3892,7 +3892,7 @@ struct RpcEventDhcpDnsStatus }; #define RPC__EVENT__DHCP_DNS_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__dhcp_dns_status__descriptor) \ -, 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0, 0 } + , 0, 0, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0, {0,NULL}, 0, 0 } struct RpcEventStaItwtSetup @@ -3906,7 +3906,7 @@ struct RpcEventStaItwtSetup }; #define RPC__EVENT__STA_ITWT_SETUP__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_itwt_setup__descriptor) \ -, 0, NULL, 0, 0, 0 } + , 0, NULL, 0, 0, 0 } struct RpcEventStaItwtTeardown @@ -3918,7 +3918,7 @@ struct RpcEventStaItwtTeardown }; #define RPC__EVENT__STA_ITWT_TEARDOWN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_itwt_teardown__descriptor) \ -, 0, 0, 0 } + , 0, 0, 0 } struct RpcEventStaItwtSuspend @@ -3935,7 +3935,7 @@ struct RpcEventStaItwtSuspend }; #define RPC__EVENT__STA_ITWT_SUSPEND__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_itwt_suspend__descriptor) \ -, 0, 0, 0, 0,NULL } + , 0, 0, 0, 0,NULL } struct RpcEventStaItwtProbe @@ -3947,7 +3947,7 @@ struct RpcEventStaItwtProbe }; #define RPC__EVENT__STA_ITWT_PROBE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__event__sta_itwt_probe__descriptor) \ -, 0, 0, 0 } + , 0, 0, 0 } typedef enum { @@ -4131,179 +4131,179 @@ struct Rpc uint32_t uid; Rpc__PayloadCase payload_case; union { - RpcEventAPStaConnected *event_ap_sta_connected; - RpcEventAPStaDisconnected *event_ap_sta_disconnected; - RpcEventDhcpDnsStatus *event_dhcp_dns; - /* - ** Notifications * - */ - RpcEventESPInit *event_esp_init; - RpcEventHeartbeat *event_heartbeat; - RpcEventStaConnected *event_sta_connected; - RpcEventStaDisconnected *event_sta_disconnected; - RpcEventStaItwtProbe *event_sta_itwt_probe; - RpcEventStaItwtSetup *event_sta_itwt_setup; - RpcEventStaItwtSuspend *event_sta_itwt_suspend; - RpcEventStaItwtTeardown *event_sta_itwt_teardown; - RpcEventStaScanDone *event_sta_scan_done; - RpcEventWifiEventNoArgs *event_wifi_event_no_args; - RpcReqConfigHeartbeat *req_config_heartbeat; - RpcReqGetCoprocessorFwVersion *req_get_coprocessor_fwversion; - RpcReqGetDhcpDnsStatus *req_get_dhcp_dns; /* ** Requests * */ RpcReqGetMacAddress *req_get_mac_address; - RpcReqWifiGetMaxTxPower *req_get_wifi_max_tx_power; + RpcReqSetMacAddress *req_set_mac_address; RpcReqGetMode *req_get_wifi_mode; - RpcReqGpioConfig *req_gpio_config; - RpcReqGpioGetLevel *req_gpio_get_level; - RpcReqGpioInputEnable *req_gpio_input_enable; - RpcReqGpioReset *req_gpio_reset; - RpcReqGpioSetDirection *req_gpio_set_direction; - RpcReqGpioSetLevel *req_gpio_set_level; - RpcReqGpioSetPullMode *req_gpio_set_pull_mode; + RpcReqSetMode *req_set_wifi_mode; + RpcReqSetPs *req_wifi_set_ps; + RpcReqGetPs *req_wifi_get_ps; RpcReqOTABegin *req_ota_begin; - RpcReqOTAEnd *req_ota_end; RpcReqOTAWrite *req_ota_write; - RpcReqSetDhcpDnsStatus *req_set_dhcp_dns; - RpcReqSetMacAddress *req_set_mac_address; + RpcReqOTAEnd *req_ota_end; RpcReqWifiSetMaxTxPower *req_set_wifi_max_tx_power; - RpcReqSetMode *req_set_wifi_mode; - RpcReqWifiApGetStaAid *req_wifi_ap_get_sta_aid; - RpcReqWifiApGetStaList *req_wifi_ap_get_sta_list; - RpcReqWifiClearApList *req_wifi_clear_ap_list; - RpcReqWifiClearFastConnect *req_wifi_clear_fast_connect; - RpcReqWifiConnect *req_wifi_connect; - RpcReqWifiDeauthSta *req_wifi_deauth_sta; + RpcReqWifiGetMaxTxPower *req_get_wifi_max_tx_power; + RpcReqConfigHeartbeat *req_config_heartbeat; + RpcReqWifiInit *req_wifi_init; RpcReqWifiDeinit *req_wifi_deinit; + RpcReqWifiStart *req_wifi_start; + RpcReqWifiStop *req_wifi_stop; + RpcReqWifiConnect *req_wifi_connect; RpcReqWifiDisconnect *req_wifi_disconnect; - RpcReqWifiGetBand *req_wifi_get_band; - RpcReqWifiGetBandMode *req_wifi_get_bandmode; - RpcReqWifiGetBandwidth *req_wifi_get_bandwidth; - RpcReqWifiGetBandwidths *req_wifi_get_bandwidths; - RpcReqWifiGetChannel *req_wifi_get_channel; + RpcReqWifiSetConfig *req_wifi_set_config; RpcReqWifiGetConfig *req_wifi_get_config; - RpcReqWifiGetCountry *req_wifi_get_country; - RpcReqWifiGetCountryCode *req_wifi_get_country_code; - RpcReqWifiGetInactiveTime *req_wifi_get_inactive_time; - RpcReqWifiGetProtocol *req_wifi_get_protocol; - RpcReqWifiGetProtocols *req_wifi_get_protocols; - RpcReqGetPs *req_wifi_get_ps; - RpcReqWifiInit *req_wifi_init; - RpcReqWifiRestore *req_wifi_restore; - RpcReqWifiScanGetApNum *req_wifi_scan_get_ap_num; - RpcReqWifiScanGetApRecord *req_wifi_scan_get_ap_record; - RpcReqWifiScanGetApRecords *req_wifi_scan_get_ap_records; RpcReqWifiScanStart *req_wifi_scan_start; RpcReqWifiScanStop *req_wifi_scan_stop; - RpcReqWifiSetBand *req_wifi_set_band; - RpcReqWifiSetBandMode *req_wifi_set_bandmode; + RpcReqWifiScanGetApNum *req_wifi_scan_get_ap_num; + RpcReqWifiScanGetApRecords *req_wifi_scan_get_ap_records; + RpcReqWifiClearApList *req_wifi_clear_ap_list; + RpcReqWifiRestore *req_wifi_restore; + RpcReqWifiClearFastConnect *req_wifi_clear_fast_connect; + RpcReqWifiDeauthSta *req_wifi_deauth_sta; + RpcReqWifiStaGetApInfo *req_wifi_sta_get_ap_info; + RpcReqWifiSetProtocol *req_wifi_set_protocol; + RpcReqWifiGetProtocol *req_wifi_get_protocol; RpcReqWifiSetBandwidth *req_wifi_set_bandwidth; - RpcReqWifiSetBandwidths *req_wifi_set_bandwidths; + RpcReqWifiGetBandwidth *req_wifi_get_bandwidth; RpcReqWifiSetChannel *req_wifi_set_channel; - RpcReqWifiSetConfig *req_wifi_set_config; + RpcReqWifiGetChannel *req_wifi_get_channel; RpcReqWifiSetCountry *req_wifi_set_country; - RpcReqWifiSetCountryCode *req_wifi_set_country_code; - RpcReqWifiSetInactiveTime *req_wifi_set_inactive_time; - RpcReqWifiSetProtocol *req_wifi_set_protocol; - RpcReqWifiSetProtocols *req_wifi_set_protocols; - RpcReqSetPs *req_wifi_set_ps; + RpcReqWifiGetCountry *req_wifi_get_country; + RpcReqWifiApGetStaList *req_wifi_ap_get_sta_list; + RpcReqWifiApGetStaAid *req_wifi_ap_get_sta_aid; RpcReqWifiSetStorage *req_wifi_set_storage; + RpcReqWifiSetInactiveTime *req_wifi_set_inactive_time; + RpcReqWifiGetInactiveTime *req_wifi_get_inactive_time; + RpcReqWifiSetCountryCode *req_wifi_set_country_code; + RpcReqWifiGetCountryCode *req_wifi_get_country_code; RpcReqWifiStaGetAid *req_wifi_sta_get_aid; - RpcReqWifiStaGetApInfo *req_wifi_sta_get_ap_info; RpcReqWifiStaGetNegotiatedPhymode *req_wifi_sta_get_negotiated_phymode; RpcReqWifiStaGetRssi *req_wifi_sta_get_rssi; + RpcReqWifiSetProtocols *req_wifi_set_protocols; + RpcReqWifiGetProtocols *req_wifi_get_protocols; + RpcReqWifiSetBandwidths *req_wifi_set_bandwidths; + RpcReqWifiGetBandwidths *req_wifi_get_bandwidths; + RpcReqWifiSetBand *req_wifi_set_band; + RpcReqWifiGetBand *req_wifi_get_band; + RpcReqWifiSetBandMode *req_wifi_set_bandmode; + RpcReqWifiGetBandMode *req_wifi_get_bandmode; + RpcReqGetCoprocessorFwVersion *req_get_coprocessor_fwversion; + RpcReqWifiScanGetApRecord *req_wifi_scan_get_ap_record; + RpcReqSetDhcpDnsStatus *req_set_dhcp_dns; + RpcReqGetDhcpDnsStatus *req_get_dhcp_dns; + RpcReqWifiStaTwtConfig *req_wifi_sta_twt_config; + RpcReqWifiStaItwtSetup *req_wifi_sta_itwt_setup; + RpcReqWifiStaItwtTeardown *req_wifi_sta_itwt_teardown; + RpcReqWifiStaItwtSuspend *req_wifi_sta_itwt_suspend; RpcReqWifiStaItwtGetFlowIdStatus *req_wifi_sta_itwt_get_flow_id_status; RpcReqWifiStaItwtSendProbeReq *req_wifi_sta_itwt_send_probe_req; RpcReqWifiStaItwtSetTargetWakeTimeOffset *req_wifi_sta_itwt_set_target_wake_time_offset; - RpcReqWifiStaItwtSetup *req_wifi_sta_itwt_setup; - RpcReqWifiStaItwtSuspend *req_wifi_sta_itwt_suspend; - RpcReqWifiStaItwtTeardown *req_wifi_sta_itwt_teardown; - RpcReqWifiStaTwtConfig *req_wifi_sta_twt_config; - RpcReqWifiStart *req_wifi_start; - RpcReqWifiStop *req_wifi_stop; - RpcRespConfigHeartbeat *resp_config_heartbeat; - RpcRespGetCoprocessorFwVersion *resp_get_coprocessor_fwversion; - RpcRespGetDhcpDnsStatus *resp_get_dhcp_dns; + RpcReqGpioConfig *req_gpio_config; + RpcReqGpioReset *req_gpio_reset; + RpcReqGpioSetLevel *req_gpio_set_level; + RpcReqGpioGetLevel *req_gpio_get_level; + RpcReqGpioSetDirection *req_gpio_set_direction; + RpcReqGpioInputEnable *req_gpio_input_enable; + RpcReqGpioSetPullMode *req_gpio_set_pull_mode; /* ** Responses * */ RpcRespGetMacAddress *resp_get_mac_address; - RpcRespWifiGetMaxTxPower *resp_get_wifi_max_tx_power; + RpcRespSetMacAddress *resp_set_mac_address; RpcRespGetMode *resp_get_wifi_mode; - RpcRespGpioConfig *resp_gpio_config; - RpcRespGpioGetLevel *resp_gpio_get_level; - RpcRespGpioInputEnable *resp_gpio_input_enable; - RpcRespGpioResetPin *resp_gpio_reset; - RpcRespGpioSetDirection *resp_gpio_set_direction; - RpcRespGpioSetLevel *resp_gpio_set_level; - RpcRespGpioSetPullMode *resp_gpio_set_pull_mode; + RpcRespSetMode *resp_set_wifi_mode; + RpcRespSetPs *resp_wifi_set_ps; + RpcRespGetPs *resp_wifi_get_ps; RpcRespOTABegin *resp_ota_begin; - RpcRespOTAEnd *resp_ota_end; RpcRespOTAWrite *resp_ota_write; - RpcRespSetDhcpDnsStatus *resp_set_dhcp_dns; - RpcRespSetMacAddress *resp_set_mac_address; + RpcRespOTAEnd *resp_ota_end; RpcRespWifiSetMaxTxPower *resp_set_wifi_max_tx_power; - RpcRespSetMode *resp_set_wifi_mode; - RpcRespWifiApGetStaAid *resp_wifi_ap_get_sta_aid; - RpcRespWifiApGetStaList *resp_wifi_ap_get_sta_list; - RpcRespWifiClearApList *resp_wifi_clear_ap_list; - RpcRespWifiClearFastConnect *resp_wifi_clear_fast_connect; - RpcRespWifiConnect *resp_wifi_connect; - RpcRespWifiDeauthSta *resp_wifi_deauth_sta; + RpcRespWifiGetMaxTxPower *resp_get_wifi_max_tx_power; + RpcRespConfigHeartbeat *resp_config_heartbeat; + RpcRespWifiInit *resp_wifi_init; RpcRespWifiDeinit *resp_wifi_deinit; + RpcRespWifiStart *resp_wifi_start; + RpcRespWifiStop *resp_wifi_stop; + RpcRespWifiConnect *resp_wifi_connect; RpcRespWifiDisconnect *resp_wifi_disconnect; - RpcRespWifiGetBand *resp_wifi_get_band; - RpcRespWifiGetBandMode *resp_wifi_get_bandmode; - RpcRespWifiGetBandwidth *resp_wifi_get_bandwidth; - RpcRespWifiGetBandwidths *resp_wifi_get_bandwidths; - RpcRespWifiGetChannel *resp_wifi_get_channel; + RpcRespWifiSetConfig *resp_wifi_set_config; RpcRespWifiGetConfig *resp_wifi_get_config; - RpcRespWifiGetCountry *resp_wifi_get_country; - RpcRespWifiGetCountryCode *resp_wifi_get_country_code; - RpcRespWifiGetInactiveTime *resp_wifi_get_inactive_time; - RpcRespWifiGetProtocol *resp_wifi_get_protocol; - RpcRespWifiGetProtocols *resp_wifi_get_protocols; - RpcRespGetPs *resp_wifi_get_ps; - RpcRespWifiInit *resp_wifi_init; - RpcRespWifiRestore *resp_wifi_restore; - RpcRespWifiScanGetApNum *resp_wifi_scan_get_ap_num; - RpcRespWifiScanGetApRecord *resp_wifi_scan_get_ap_record; - RpcRespWifiScanGetApRecords *resp_wifi_scan_get_ap_records; RpcRespWifiScanStart *resp_wifi_scan_start; RpcRespWifiScanStop *resp_wifi_scan_stop; - RpcRespWifiSetBand *resp_wifi_set_band; - RpcRespWifiSetBandMode *resp_wifi_set_bandmode; + RpcRespWifiScanGetApNum *resp_wifi_scan_get_ap_num; + RpcRespWifiScanGetApRecords *resp_wifi_scan_get_ap_records; + RpcRespWifiClearApList *resp_wifi_clear_ap_list; + RpcRespWifiRestore *resp_wifi_restore; + RpcRespWifiClearFastConnect *resp_wifi_clear_fast_connect; + RpcRespWifiDeauthSta *resp_wifi_deauth_sta; + RpcRespWifiStaGetApInfo *resp_wifi_sta_get_ap_info; + RpcRespWifiSetProtocol *resp_wifi_set_protocol; + RpcRespWifiGetProtocol *resp_wifi_get_protocol; RpcRespWifiSetBandwidth *resp_wifi_set_bandwidth; - RpcRespWifiSetBandwidths *resp_wifi_set_bandwidths; + RpcRespWifiGetBandwidth *resp_wifi_get_bandwidth; RpcRespWifiSetChannel *resp_wifi_set_channel; - RpcRespWifiSetConfig *resp_wifi_set_config; + RpcRespWifiGetChannel *resp_wifi_get_channel; RpcRespWifiSetCountry *resp_wifi_set_country; - RpcRespWifiSetCountryCode *resp_wifi_set_country_code; - RpcRespWifiSetInactiveTime *resp_wifi_set_inactive_time; - RpcRespWifiSetProtocol *resp_wifi_set_protocol; - RpcRespWifiSetProtocols *resp_wifi_set_protocols; - RpcRespSetPs *resp_wifi_set_ps; + RpcRespWifiGetCountry *resp_wifi_get_country; + RpcRespWifiApGetStaList *resp_wifi_ap_get_sta_list; + RpcRespWifiApGetStaAid *resp_wifi_ap_get_sta_aid; RpcRespWifiSetStorage *resp_wifi_set_storage; + RpcRespWifiSetInactiveTime *resp_wifi_set_inactive_time; + RpcRespWifiGetInactiveTime *resp_wifi_get_inactive_time; + RpcRespWifiSetCountryCode *resp_wifi_set_country_code; + RpcRespWifiGetCountryCode *resp_wifi_get_country_code; RpcRespWifiStaGetAid *resp_wifi_sta_get_aid; - RpcRespWifiStaGetApInfo *resp_wifi_sta_get_ap_info; RpcRespWifiStaGetNegotiatedPhymode *resp_wifi_sta_get_negotiated_phymode; RpcRespWifiStaGetRssi *resp_wifi_sta_get_rssi; + RpcRespWifiSetProtocols *resp_wifi_set_protocols; + RpcRespWifiGetProtocols *resp_wifi_get_protocols; + RpcRespWifiSetBandwidths *resp_wifi_set_bandwidths; + RpcRespWifiGetBandwidths *resp_wifi_get_bandwidths; + RpcRespWifiSetBand *resp_wifi_set_band; + RpcRespWifiGetBand *resp_wifi_get_band; + RpcRespWifiSetBandMode *resp_wifi_set_bandmode; + RpcRespWifiGetBandMode *resp_wifi_get_bandmode; + RpcRespGetCoprocessorFwVersion *resp_get_coprocessor_fwversion; + RpcRespWifiScanGetApRecord *resp_wifi_scan_get_ap_record; + RpcRespSetDhcpDnsStatus *resp_set_dhcp_dns; + RpcRespGetDhcpDnsStatus *resp_get_dhcp_dns; + RpcRespWifiStaTwtConfig *resp_wifi_sta_twt_config; + RpcRespWifiStaItwtSetup *resp_wifi_sta_itwt_setup; + RpcRespWifiStaItwtTeardown *resp_wifi_sta_itwt_teardown; + RpcRespWifiStaItwtSuspend *resp_wifi_sta_itwt_suspend; RpcRespWifiStaItwtGetFlowIdStatus *resp_wifi_sta_itwt_get_flow_id_status; RpcRespWifiStaItwtSendProbeReq *resp_wifi_sta_itwt_send_probe_req; RpcRespWifiStaItwtSetTargetWakeTimeOffset *resp_wifi_sta_itwt_set_target_wake_time_offset; - RpcRespWifiStaItwtSetup *resp_wifi_sta_itwt_setup; - RpcRespWifiStaItwtSuspend *resp_wifi_sta_itwt_suspend; - RpcRespWifiStaItwtTeardown *resp_wifi_sta_itwt_teardown; - RpcRespWifiStaTwtConfig *resp_wifi_sta_twt_config; - RpcRespWifiStart *resp_wifi_start; - RpcRespWifiStop *resp_wifi_stop; + RpcRespGpioConfig *resp_gpio_config; + RpcRespGpioResetPin *resp_gpio_reset; + RpcRespGpioSetLevel *resp_gpio_set_level; + RpcRespGpioGetLevel *resp_gpio_get_level; + RpcRespGpioSetDirection *resp_gpio_set_direction; + RpcRespGpioInputEnable *resp_gpio_input_enable; + RpcRespGpioSetPullMode *resp_gpio_set_pull_mode; + /* + ** Notifications * + */ + RpcEventESPInit *event_esp_init; + RpcEventHeartbeat *event_heartbeat; + RpcEventAPStaConnected *event_ap_sta_connected; + RpcEventAPStaDisconnected *event_ap_sta_disconnected; + RpcEventWifiEventNoArgs *event_wifi_event_no_args; + RpcEventStaScanDone *event_sta_scan_done; + RpcEventStaConnected *event_sta_connected; + RpcEventStaDisconnected *event_sta_disconnected; + RpcEventDhcpDnsStatus *event_dhcp_dns; + RpcEventStaItwtSetup *event_sta_itwt_setup; + RpcEventStaItwtTeardown *event_sta_itwt_teardown; + RpcEventStaItwtSuspend *event_sta_itwt_suspend; + RpcEventStaItwtProbe *event_sta_itwt_probe; }; }; #define RPC__INIT \ { PROTOBUF_C_MESSAGE_INIT (&rpc__descriptor) \ -, RPC_TYPE__MsgType_Invalid, RPC_ID__MsgId_Invalid, 0, RPC__PAYLOAD__NOT_SET, {0} } + , RPC_TYPE__MsgType_Invalid, RPC_ID__MsgId_Invalid, 0, RPC__PAYLOAD__NOT_SET, {0} } /* WifiInitConfig methods */ From b8c821dc07529fd0f812cd874c199e51c2c3310f Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Tue, 2 Sep 2025 10:47:38 +0200 Subject: [PATCH 11/17] removed #ifdef ESP_PLATFORM --- host/api/include/esp_hosted_gpio.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/host/api/include/esp_hosted_gpio.h b/host/api/include/esp_hosted_gpio.h index 46a8f60..f97890b 100644 --- a/host/api/include/esp_hosted_gpio.h +++ b/host/api/include/esp_hosted_gpio.h @@ -9,8 +9,7 @@ #ifndef __ESP_HOSTED_GPIO_H__ #define __ESP_HOSTED_GPIO_H__ -#ifdef ESP_PLATFORM -// OTA API for ESP-IDF + #include "esp_err.h" esp_err_t esp_hosted_gpio_config(const gpio_config_t *pGPIOConfig); @@ -21,6 +20,6 @@ esp_err_t esp_hosted_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode); esp_err_t esp_hosted_gpio_input_enable(gpio_num_t gpio_num); esp_err_t esp_hosted_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull); -#endif + #endif /*__ESP_HOSTED_OTA_H__*/ From c102455b9f8244f85fa3065151f72b9bb40fafa7 Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Tue, 2 Sep 2025 10:48:31 +0200 Subject: [PATCH 12/17] fixed typo --- host/api/include/esp_hosted_gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/api/include/esp_hosted_gpio.h b/host/api/include/esp_hosted_gpio.h index f97890b..b6925b5 100644 --- a/host/api/include/esp_hosted_gpio.h +++ b/host/api/include/esp_hosted_gpio.h @@ -22,4 +22,4 @@ esp_err_t esp_hosted_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pu -#endif /*__ESP_HOSTED_OTA_H__*/ +#endif /*__ESP_HOSTED_GPIO_H__*/ From 8845a6c5efc3d610a5cae87275f9d0526bc5ee91 Mon Sep 17 00:00:00 2001 From: YoussefTarkhan Date: Tue, 2 Sep 2025 11:01:46 +0200 Subject: [PATCH 13/17] fixed white space --- host/drivers/rpc/core/rpc_req.c | 52 ++++++++++++++++----------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/host/drivers/rpc/core/rpc_req.c b/host/drivers/rpc/core/rpc_req.c index d1dc5ac..45e3119 100644 --- a/host/drivers/rpc/core/rpc_req.c +++ b/host/drivers/rpc/core/rpc_req.c @@ -617,7 +617,7 @@ int compose_rpc_req(Rpc *req, ctrl_cmd_t *app_req, int32_t *failure_status) RPC_REQ_COPY_STR(p_c->dhcp_gw, p_a->dhcp_gw, 64); RPC_REQ_COPY_STR(p_c->dns_ip, p_a->dns_ip, 64); break; - } case RPC_ID__Req_GpioConfig: { + } case RPC_ID__Req_GpioConfig: { RPC_ALLOC_ASSIGN(RpcReqGpioConfig, req_gpio_config, rpc__req__gpio_config__init); RPC_ALLOC_ELEMENT(RpcGpioConfig, req_payload->config, rpc__gpio_config__init); @@ -629,43 +629,43 @@ int compose_rpc_req(Rpc *req, ctrl_cmd_t *app_req, int32_t *failure_status) req_payload->config->pull_down_en = app_req->u.gpio_config.pull_down_en; break; } case RPC_ID__Req_GpioResetPin: { - RPC_ALLOC_ASSIGN(RpcReqGpioReset, req_gpio_reset, - rpc__req__gpio_reset__init); - req_payload->gpio_num = app_req->u.gpio_num; - break; + RPC_ALLOC_ASSIGN(RpcReqGpioReset, req_gpio_reset, + rpc__req__gpio_reset__init); + req_payload->gpio_num = app_req->u.gpio_num; + break; } case RPC_ID__Req_GpioSetLevel: { - RPC_ALLOC_ASSIGN(RpcReqGpioSetLevel, req_gpio_set_level, + RPC_ALLOC_ASSIGN(RpcReqGpioSetLevel, req_gpio_set_level, rpc__req__gpio_set_level__init); - req_payload->gpio_num = app_req->u.gpio_set_level.gpio_num; - req_payload->level = app_req->u.gpio_set_level.level; - break; + req_payload->gpio_num = app_req->u.gpio_set_level.gpio_num; + req_payload->level = app_req->u.gpio_set_level.level; + break; } case RPC_ID__Req_GpioGetLevel: { - RPC_ALLOC_ASSIGN(RpcReqGpioGetLevel, req_gpio_get_level, + RPC_ALLOC_ASSIGN(RpcReqGpioGetLevel, req_gpio_get_level, rpc__req__gpio_get_level__init); - req_payload->gpio_num = app_req->u.gpio_num; - break; + req_payload->gpio_num = app_req->u.gpio_num; + break; } case RPC_ID__Req_GpioSetDirection: { - RPC_ALLOC_ASSIGN(RpcReqGpioSetDirection, req_gpio_set_direction, - rpc__req__gpio_set_direction__init); + RPC_ALLOC_ASSIGN(RpcReqGpioSetDirection, req_gpio_set_direction, + rpc__req__gpio_set_direction__init); - req_payload->gpio_num = app_req->u.gpio_set_direction.gpio_num; - req_payload->mode = app_req->u.gpio_set_direction.mode; - break; + req_payload->gpio_num = app_req->u.gpio_set_direction.gpio_num; + req_payload->mode = app_req->u.gpio_set_direction.mode; + break; } case RPC_ID__Req_GpioInputEnable: { - RPC_ALLOC_ASSIGN(RpcReqGpioInputEnable, req_gpio_input_enable, - rpc__req__gpio_input_enable__init); + RPC_ALLOC_ASSIGN(RpcReqGpioInputEnable, req_gpio_input_enable, + rpc__req__gpio_input_enable__init); - req_payload->gpio_num = app_req->u.gpio_num; - break; + req_payload->gpio_num = app_req->u.gpio_num; + break; } case RPC_ID__Req_GpioSetPullMode: { - RPC_ALLOC_ASSIGN(RpcReqGpioSetPullMode, req_gpio_set_pull_mode, - rpc__req__gpio_set_pull_mode__init); + RPC_ALLOC_ASSIGN(RpcReqGpioSetPullMode, req_gpio_set_pull_mode, + rpc__req__gpio_set_pull_mode__init); - req_payload->gpio_num = app_req->u.gpio_set_pull_mode.gpio_num; - req_payload->pull = app_req->u.gpio_set_pull_mode.pull_mode; - break; + req_payload->gpio_num = app_req->u.gpio_set_pull_mode.gpio_num; + req_payload->pull = app_req->u.gpio_set_pull_mode.pull_mode; + break; } default: { *failure_status = RPC_ERR_UNSUPPORTED_MSG; ESP_LOGE(TAG, "Unsupported RPC Req[%u]",req->msg_id); From 25ae4fc44fff40a5d386404ca598bf5c7f892b8f Mon Sep 17 00:00:00 2001 From: Simon Canins Date: Thu, 16 Oct 2025 16:12:08 +0200 Subject: [PATCH 14/17] Added #ifdefs --- CMakeLists.txt | 4 +++- Kconfig | 8 ++++++++ host/drivers/rpc/core/rpc_req.c | 2 ++ host/drivers/rpc/core/rpc_rsp.c | 4 +++- host/drivers/rpc/slaveif/rpc_slave_if.c | 3 ++- host/drivers/rpc/slaveif/rpc_slave_if.h | 8 ++++++-- host/drivers/rpc/wrap/rpc_wrap.c | 8 +++++++- host/drivers/rpc/wrap/rpc_wrap.h | 9 ++++----- .../include/port_esp_hosted_host_config.h | 6 ++++++ .../esp/freertos/src/port_esp_hosted_host_gpio.c | 16 ++++++++-------- slave/main/slave_control.c | 3 +++ slave/main/transport_gpio_pin_guard.c | 11 +++++------ slave/main/transport_gpio_pin_guard.h | 7 ++++++- 13 files changed, 63 insertions(+), 26 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e109f2..3644741 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,9 @@ if(CONFIG_ESP_HOSTED_ENABLED) "${common_dir}/protobuf-c" "${common_dir}/proto" ) - list(APPEND srcs "${host_dir}/port/esp/freertos/src/port_esp_hosted_host_gpio.c") + if(CONFIG_ESP_HOSTED_ENABLE_GPIO_CONTROL) + list(APPEND srcs "${host_dir}/port/esp/freertos/src/port_esp_hosted_host_gpio.c") + endif() # cli list(APPEND srcs "${common_dir}/utils/esp_hosted_cli.c") diff --git a/Kconfig b/Kconfig index c4efc96..949c41c 100644 --- a/Kconfig +++ b/Kconfig @@ -1508,6 +1508,14 @@ ESP32XX_SPI_HD_CLK_FREQ_RANGE_MAX := 40 Enable Wi-Fi iTWT (individual Target Wake Time) APIs on Host. Using the API, Host can instruct the co-processor to negotiate specific wake and sleep schedules with the access point (AP) for lower power consumption. + + config ESP_HOSTED_ENABLE_GPIO_CONTROL + bool "Enable GPIO control on co-processor" + default n + help + Enable RPC methods that allow the HOST MCU to configure and control GPIOs + on the co-processor. Leave disabled unless you really need it. + GPIO requests that target pins used by the active transport will be rejected. config ESP_HOSTED_ENABLE_DPP bool "Enable Wi-Fi Easy Connect (DPP)" diff --git a/host/drivers/rpc/core/rpc_req.c b/host/drivers/rpc/core/rpc_req.c index 6099da9..6e6af5b 100644 --- a/host/drivers/rpc/core/rpc_req.c +++ b/host/drivers/rpc/core/rpc_req.c @@ -819,6 +819,7 @@ int compose_rpc_req(Rpc *req, ctrl_cmd_t *app_req, int32_t *failure_status) } break; #endif +#if H_ENABLE_GPIO_CONTROL } case RPC_ID__Req_GpioConfig: { RPC_ALLOC_ASSIGN(RpcReqGpioConfig, req_gpio_config, rpc__req__gpio_config__init); @@ -868,6 +869,7 @@ int compose_rpc_req(Rpc *req, ctrl_cmd_t *app_req, int32_t *failure_status) req_payload->gpio_num = app_req->u.gpio_set_pull_mode.gpio_num; req_payload->pull = app_req->u.gpio_set_pull_mode.pull_mode; break; +#endif } default: { *failure_status = RPC_ERR_UNSUPPORTED_MSG; ESP_LOGE(TAG, "Unsupported RPC Req[%u]",req->msg_id); diff --git a/host/drivers/rpc/core/rpc_rsp.c b/host/drivers/rpc/core/rpc_rsp.c index be15577..9229262 100644 --- a/host/drivers/rpc/core/rpc_rsp.c +++ b/host/drivers/rpc/core/rpc_rsp.c @@ -761,7 +761,8 @@ int rpc_parse_rsp(Rpc *rpc_msg, ctrl_cmd_t *app_resp) RPC_ERR_IN_RESP(resp_supp_dpp_stop_listen); break; #endif - } case RPC_ID__Resp_GpioConfig: { +#if H_ENABLE_GPIO_CONTROL + } case RPC_ID__Resp_GpioConfig: { RPC_FAIL_ON_NULL(resp_gpio_config); RPC_ERR_IN_RESP(resp_gpio_config); break; @@ -790,6 +791,7 @@ int rpc_parse_rsp(Rpc *rpc_msg, ctrl_cmd_t *app_resp) RPC_FAIL_ON_NULL(resp_gpio_set_pull_mode); RPC_ERR_IN_RESP(resp_gpio_set_pull_mode); break; +#endif // H_ENABLE_GPIO_CONTROL } default: { ESP_LOGE(TAG, "Unsupported rpc Resp[%u]", rpc_msg->msg_id); goto fail_parse_rpc_msg; diff --git a/host/drivers/rpc/slaveif/rpc_slave_if.c b/host/drivers/rpc/slaveif/rpc_slave_if.c index 26ed1c1..3c5def1 100644 --- a/host/drivers/rpc/slaveif/rpc_slave_if.c +++ b/host/drivers/rpc/slaveif/rpc_slave_if.c @@ -649,7 +649,7 @@ ctrl_cmd_t * rpc_slaveif_supp_dpp_stop_listen(ctrl_cmd_t *req) RPC_DECODE_RSP_IF_NOT_ASYNC(); } #endif - +#if H_ENABLE_GPIO_CONTROL ctrl_cmd_t * rpc_slaveif_gpio_config(ctrl_cmd_t *req) { RPC_SEND_REQ(RPC_ID__Req_GpioConfig); @@ -691,3 +691,4 @@ ctrl_cmd_t * rpc_slaveif_gpio_set_pull_mode(ctrl_cmd_t *req) RPC_SEND_REQ(RPC_ID__Req_GpioSetPullMode); RPC_DECODE_RSP_IF_NOT_ASYNC(); } +#endif //H_ENABLE_GPIO_CONTROL diff --git a/host/drivers/rpc/slaveif/rpc_slave_if.h b/host/drivers/rpc/slaveif/rpc_slave_if.h index 5a209a9..3282d7c 100644 --- a/host/drivers/rpc/slaveif/rpc_slave_if.h +++ b/host/drivers/rpc/slaveif/rpc_slave_if.h @@ -13,7 +13,6 @@ #include "esp_wifi.h" #include "esp_mac.h" #include "esp_wifi_types.h" -#include "driver/gpio.h" #include "port_esp_hosted_host_wifi_config.h" #if H_WIFI_ENTERPRISE_SUPPORT @@ -336,6 +335,7 @@ typedef struct { } rpc_eap_domain_name_t; #endif +#if H_ENABLE_GPIO_CONTROL typedef struct { gpio_num_t gpio_num; uint32_t level; @@ -350,6 +350,7 @@ typedef struct { gpio_num_t gpio_num; gpio_pull_mode_t pull_mode; } rpc_gpio_set_pull_mode_t; +#endif typedef struct Ctrl_cmd_t { /* msg type could be 1. req 2. resp 3. notification */ @@ -522,7 +523,7 @@ typedef struct Ctrl_cmd_t { supp_wifi_event_dpp_failed_t e_dpp_failed; #endif - +#if H_ENABLE_GPIO_CONTROL gpio_config_t gpio_config; gpio_num_t gpio_num; @@ -534,6 +535,7 @@ typedef struct Ctrl_cmd_t { rpc_gpio_set_direction_t gpio_set_direction; rpc_gpio_set_pull_mode_t gpio_set_pull_mode; +#endif }u; /* By default this callback is set to NULL. @@ -792,6 +794,7 @@ ctrl_cmd_t * rpc_slaveif_supp_dpp_bootstrap_gen(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_supp_dpp_start_listen(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_supp_dpp_stop_listen(ctrl_cmd_t *req); #endif +#if H_ENABLE_GPIO_CONTROL ctrl_cmd_t * rpc_slaveif_gpio_config(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_gpio_reset_pin(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_gpio_set_level(ctrl_cmd_t *req); @@ -799,6 +802,7 @@ ctrl_cmd_t * rpc_slaveif_gpio_get_level(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_gpio_set_direction(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_gpio_input_enable(ctrl_cmd_t *req); ctrl_cmd_t * rpc_slaveif_gpio_set_pull_mode(ctrl_cmd_t *req); +#endif #ifdef __cplusplus } #endif diff --git a/host/drivers/rpc/wrap/rpc_wrap.c b/host/drivers/rpc/wrap/rpc_wrap.c index 5ef5681..49b6a07 100644 --- a/host/drivers/rpc/wrap/rpc_wrap.c +++ b/host/drivers/rpc/wrap/rpc_wrap.c @@ -13,6 +13,7 @@ #include "esp_hosted_rpc.h" #include "esp_log.h" #include "port_esp_hosted_host_wifi_config.h" +#include "port_esp_hosted_host_config.h" #include "port_esp_hosted_host_os.h" #include "esp_hosted_transport.h" #include "port_esp_hosted_host_log.h" @@ -691,6 +692,7 @@ int rpc_rsp_callback(ctrl_cmd_t * app_resp) case RPC_ID__Resp_SuppDppStartListen: case RPC_ID__Resp_SuppDppStopListen: #endif +#if H_ENABLE_GPIO_CONTROL case RPC_ID__Resp_GetCoprocessorFwVersion: case RPC_ID__Resp_GpioConfig: case RPC_ID__Resp_GpioResetPin: @@ -698,7 +700,9 @@ int rpc_rsp_callback(ctrl_cmd_t * app_resp) case RPC_ID__Resp_GpioGetLevel: case RPC_ID__Resp_GpioSetDirection: case RPC_ID__Resp_GpioInputEnable: - case RPC_ID__Resp_GpioSetPullMode: { + case RPC_ID__Resp_GpioSetPullMode: +#endif + { /* Intended fallthrough */ break; } default: { @@ -2395,6 +2399,7 @@ static esp_err_t rpc_iface_feature_control(rcp_feature_control_t *feature_contro return rpc_rsp_callback(resp); } +#if H_ENABLE_GPIO_CONTROL esp_err_t rpc_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode) { /* implemented synchronous */ @@ -2431,3 +2436,4 @@ esp_err_t rpc_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull_mode resp = rpc_slaveif_gpio_set_pull_mode(req); return rpc_rsp_callback(resp); } +#endif diff --git a/host/drivers/rpc/wrap/rpc_wrap.h b/host/drivers/rpc/wrap/rpc_wrap.h index a56e3e5..655b835 100644 --- a/host/drivers/rpc/wrap/rpc_wrap.h +++ b/host/drivers/rpc/wrap/rpc_wrap.h @@ -14,8 +14,7 @@ extern "C" { /** Includes **/ #include "esp_wifi.h" -#include "driver/gpio.h" -#include "port_esp_hosted_host_wifi_config.h" +v#include "port_esp_hosted_host_wifi_config.h" #include "esp_mac.h" #include "esp_hosted_api_types.h" @@ -171,15 +170,15 @@ esp_err_t rpc_supp_dpp_bootstrap_gen(const char *chan_list, esp_err_t rpc_supp_dpp_start_listen(void); esp_err_t rpc_supp_dpp_stop_listen(void); #endif - +#if H_ENABLE_GPIO_CONTROL esp_err_t rpc_gpio_config(const gpio_config_t *pGPIOConfig); esp_err_t rpc_gpio_reset_pin(gpio_num_t gpio_num); esp_err_t rpc_gpio_set_level(gpio_num_t gpio_num, uint32_t level); int rpc_gpio_get_level(gpio_num_t gpio_num, int *level); esp_err_t rpc_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode); esp_err_t rpc_gpio_input_enable(gpio_num_t gpio_num); -esp_err_t rpc_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull); - +esp_err_t rpc_gpio_set_puall_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull); +#endif #ifdef __cplusplus } diff --git a/host/port/esp/freertos/include/port_esp_hosted_host_config.h b/host/port/esp/freertos/include/port_esp_hosted_host_config.h index 82ecdc3..94bf070 100644 --- a/host/port/esp/freertos/include/port_esp_hosted_host_config.h +++ b/host/port/esp/freertos/include/port_esp_hosted_host_config.h @@ -570,4 +570,10 @@ enum { esp_err_t esp_hosted_set_default_config(void); bool esp_hosted_is_config_valid(void); +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_CONTROL +#define H_ENABLE_GPIO_CONTROL 1 +#else +#define H_ENABLE_GPIO_CONTROL 0 +#endif + #endif /*__ESP_HOSTED_CONFIG_H__*/ diff --git a/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c b/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c index 57f18b7..80e66de 100644 --- a/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c +++ b/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c @@ -1,11 +1,7 @@ -/* Current GPIO method(s) supported: - * - gpio_config() - * - gpio_reset_pin() - * - gpio_set_level() - * - gpio_get_level() - * - gpio_set_direction() - * - gpio_input_enable() - * - gpio_set_pull_mode() +/* + * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 */ #include "esp_log.h" @@ -13,6 +9,8 @@ #include "rpc_wrap.h" #include "esp_hosted_gpio.h" +#if H_ENABLE_GPIO_CONTROL + static char *TAG = "hosted_gpio"; esp_err_t esp_hosted_gpio_config(const gpio_config_t *pGPIOConfig) @@ -51,3 +49,5 @@ esp_err_t esp_hosted_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pu { return rpc_gpio_set_pull_mode(gpio_num, pull); } + +#endif // H_ENABLE_GPIO_CONTROL diff --git a/slave/main/slave_control.c b/slave/main/slave_control.c index f40a1e0..e7f0a30 100644 --- a/slave/main/slave_control.c +++ b/slave/main/slave_control.c @@ -21,8 +21,11 @@ #include "esp_hosted_log.h" #include "slave_bt.h" #include "esp_hosted_coprocessor_fw_ver.h" + +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC #include "driver/gpio.h" #include "transport_gpio_pin_guard.h" +#endif #if H_DPP_SUPPORT #include "esp_dpp.h" diff --git a/slave/main/transport_gpio_pin_guard.c b/slave/main/transport_gpio_pin_guard.c index 1347357..d781b31 100644 --- a/slave/main/transport_gpio_pin_guard.c +++ b/slave/main/transport_gpio_pin_guard.c @@ -1,6 +1,8 @@ -#include "transport_gpio_pin_guard.h" #include "sdkconfig.h" +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC +#include "transport_gpio_pin_guard.h" + static inline void add_pin(uint64_t *mask, int pin) { if (pin >= 0 && pin < GPIO_NUM_MAX) { @@ -35,11 +37,6 @@ static uint64_t get_reserved_pin_mask(void) add_pin(&mask, CONFIG_ESP_SPI_GPIO_HANDSHAKE); add_pin(&mask, CONFIG_ESP_SPI_GPIO_DATA_READY); add_pin(&mask, CONFIG_ESP_SPI_GPIO_RESET); - - add_pin(&mask, CONFIG_ESP_SPI_HSPI_GPIO_MOSI); - add_pin(&mask, CONFIG_ESP_SPI_HSPI_GPIO_MISO); - add_pin(&mask, CONFIG_ESP_SPI_HSPI_GPIO_CLK); - add_pin(&mask, CONFIG_ESP_SPI_HSPI_GPIO_CS); #endif /* ---------- SPI (half duplex) ---------- */ @@ -70,3 +67,5 @@ uint8_t transport_gpio_pin_guard_is_eligible(gpio_num_t pin) uint64_t reserved = get_reserved_pin_mask(); return ((reserved & (1ULL << pin)) == 0); } + +#endif // CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC diff --git a/slave/main/transport_gpio_pin_guard.h b/slave/main/transport_gpio_pin_guard.h index b2738f6..3b473d7 100644 --- a/slave/main/transport_gpio_pin_guard.h +++ b/slave/main/transport_gpio_pin_guard.h @@ -1,7 +1,11 @@ #pragma once -#include "driver/gpio.h" #include +#include "sdkconfig.h" + +#if CONFIG_ESP_HOSTED_ENABLE_GPIO_RPC + +#include "driver/gpio.h" /** * @brief Check if a GPIO pin is free for general use. @@ -12,3 +16,4 @@ */ uint8_t transport_gpio_pin_guard_is_eligible(gpio_num_t pin); +#endif From 4a01be185b6af337f65b53425c552aa0798ccdb8 Mon Sep 17 00:00:00 2001 From: Simon Canins Date: Thu, 16 Oct 2025 21:33:49 +0200 Subject: [PATCH 15/17] compiles again --- host/api/include/esp_hosted_gpio.h | 22 ++++-- host/drivers/rpc/slaveif/rpc_slave_if.h | 26 +++++-- host/drivers/rpc/wrap/rpc_wrap.c | 67 ++++++++++++++++++- host/drivers/rpc/wrap/rpc_wrap.h | 21 +++--- .../freertos/src/port_esp_hosted_host_gpio.c | 21 +++--- 5 files changed, 120 insertions(+), 37 deletions(-) diff --git a/host/api/include/esp_hosted_gpio.h b/host/api/include/esp_hosted_gpio.h index b6925b5..03e0216 100644 --- a/host/api/include/esp_hosted_gpio.h +++ b/host/api/include/esp_hosted_gpio.h @@ -12,14 +12,22 @@ #include "esp_err.h" -esp_err_t esp_hosted_gpio_config(const gpio_config_t *pGPIOConfig); -esp_err_t esp_hosted_gpio_reset_pin(gpio_num_t gpio_num); -esp_err_t esp_hosted_gpio_set_level(gpio_num_t gpio_num, uint32_t level); -int esp_hosted_gpio_get_level(gpio_num_t gpio_num); -esp_err_t esp_hosted_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode); -esp_err_t esp_hosted_gpio_input_enable(gpio_num_t gpio_num); -esp_err_t esp_hosted_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull); +typedef struct +{ + uint64_t pin_bit_mask; /*!< GPIO pin: set with bit mask, each bit maps to a GPIO */ + uint32_t mode; /*!< GPIO mode: set input/output mode */ + uint32_t pull_up_en; /*!< GPIO pull-up */ + uint32_t pull_down_en; /*!< GPIO pull-down */ + uint32_t intr_type; /*!< GPIO interrupt type */ +} esp_hosted_gpio_config_t; +esp_err_t esp_hosted_gpio_config(const esp_hosted_gpio_config_t *pGPIOConfig); +esp_err_t esp_hosted_gpio_reset_pin(uint32_t gpio_num); +esp_err_t esp_hosted_gpio_set_level(uint32_t gpio_num, uint32_t level); +int esp_hosted_gpio_get_level(uint32_t gpio_num); +esp_err_t esp_hosted_gpio_set_direction(uint32_t gpio_num, uint32_t mode); +esp_err_t esp_hosted_gpio_input_enable(uint32_t gpio_num); +esp_err_t esp_hosted_gpio_set_pull_mode(uint32_t gpio_num, uint32_t pull); #endif /*__ESP_HOSTED_GPIO_H__*/ diff --git a/host/drivers/rpc/slaveif/rpc_slave_if.h b/host/drivers/rpc/slaveif/rpc_slave_if.h index 3282d7c..8388e56 100644 --- a/host/drivers/rpc/slaveif/rpc_slave_if.h +++ b/host/drivers/rpc/slaveif/rpc_slave_if.h @@ -14,6 +14,7 @@ #include "esp_mac.h" #include "esp_wifi_types.h" #include "port_esp_hosted_host_wifi_config.h" +#include "port_esp_hosted_host_config.h" #if H_WIFI_ENTERPRISE_SUPPORT #include "esp_eap_client.h" @@ -337,18 +338,29 @@ typedef struct { #if H_ENABLE_GPIO_CONTROL typedef struct { - gpio_num_t gpio_num; + uint64_t pin_bit_mask; /*!< GPIO pin: set with bit mask, each bit maps to a GPIO */ + uint32_t mode; /*!< GPIO mode: set input/output mode */ + uint32_t pull_up_en; /*!< GPIO pull-up */ + uint32_t pull_down_en; /*!< GPIO pull-down */ + uint32_t intr_type; /*!< GPIO interrupt type */ +//#if SOC_GPIO_SUPPORT_PIN_HYS_FILTER +// uint32_t hys_ctrl_mode; /*!< GPIO hysteresis: hysteresis filter on slope input */ +//#endif +} rpc_gpio_config_t; + +typedef struct { + uint32_t gpio_num; uint32_t level; } rpc_gpio_set_level_t; typedef struct { - gpio_num_t gpio_num; - gpio_mode_t mode; + uint32_t gpio_num; + uint32_t mode; } rpc_gpio_set_direction_t; typedef struct { - gpio_num_t gpio_num; - gpio_pull_mode_t pull_mode; + uint32_t gpio_num; + uint32_t pull_mode; } rpc_gpio_set_pull_mode_t; #endif @@ -524,9 +536,9 @@ typedef struct Ctrl_cmd_t { supp_wifi_event_dpp_failed_t e_dpp_failed; #endif #if H_ENABLE_GPIO_CONTROL - gpio_config_t gpio_config; + rpc_gpio_config_t gpio_config; - gpio_num_t gpio_num; + uint32_t gpio_num; rpc_gpio_set_level_t gpio_set_level; diff --git a/host/drivers/rpc/wrap/rpc_wrap.c b/host/drivers/rpc/wrap/rpc_wrap.c index 49b6a07..6fc76a2 100644 --- a/host/drivers/rpc/wrap/rpc_wrap.c +++ b/host/drivers/rpc/wrap/rpc_wrap.c @@ -2400,7 +2400,68 @@ static esp_err_t rpc_iface_feature_control(rcp_feature_control_t *feature_contro } #if H_ENABLE_GPIO_CONTROL -esp_err_t rpc_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode) +esp_err_t rpc_gpio_config(const esp_hosted_gpio_config_t *pGPIOConfig) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + if (!pGPIOConfig) + return FAILURE; + + req->u.gpio_config.pin_bit_mask = pGPIOConfig->pin_bit_mask; + req->u.gpio_config.mode = pGPIOConfig->mode; + req->u.gpio_config.pull_up_en = pGPIOConfig->pull_up_en; + req->u.gpio_config.pull_down_en = pGPIOConfig->pull_down_en; + req->u.gpio_config.intr_type = pGPIOConfig->intr_type; + + resp = rpc_slaveif_gpio_config(req); + + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_reset(uint32_t gpio_num) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_num = gpio_num; + resp = rpc_slaveif_gpio_reset_pin(req); + + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_set_level(uint32_t gpio_num, uint32_t level) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_set_level.gpio_num = gpio_num; + req->u.gpio_set_level.level = level; + + resp = rpc_slaveif_gpio_set_level(req); + return rpc_rsp_callback(resp); +} + +int rpc_gpio_get_level(uint32_t gpio_num, int *level) +{ + /* implemented synchronous */ + ctrl_cmd_t *req = RPC_DEFAULT_REQ(); + ctrl_cmd_t *resp = NULL; + + req->u.gpio_num = gpio_num; + resp = rpc_slaveif_gpio_get_level(req); + + if (resp && resp->resp_event_status == SUCCESS) { + *level = resp->u.gpio_get_level; + } + + return rpc_rsp_callback(resp); +} + +esp_err_t rpc_gpio_set_direction(uint32_t gpio_num, uint32_t mode) { /* implemented synchronous */ ctrl_cmd_t *req = RPC_DEFAULT_REQ(); @@ -2413,7 +2474,7 @@ esp_err_t rpc_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode) return rpc_rsp_callback(resp); } -esp_err_t rpc_gpio_input_enable(gpio_num_t gpio_num) +esp_err_t rpc_gpio_input_enable(uint32_t gpio_num) { /* implemented synchronous */ ctrl_cmd_t *req = RPC_DEFAULT_REQ(); @@ -2424,7 +2485,7 @@ esp_err_t rpc_gpio_input_enable(gpio_num_t gpio_num) return rpc_rsp_callback(resp); } -esp_err_t rpc_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull_mode) +esp_err_t rpc_gpio_set_pull_mode(uint32_t gpio_num, uint32_t pull_mode) { /* implemented synchronous */ ctrl_cmd_t *req = RPC_DEFAULT_REQ(); diff --git a/host/drivers/rpc/wrap/rpc_wrap.h b/host/drivers/rpc/wrap/rpc_wrap.h index 655b835..4159e53 100644 --- a/host/drivers/rpc/wrap/rpc_wrap.h +++ b/host/drivers/rpc/wrap/rpc_wrap.h @@ -14,7 +14,8 @@ extern "C" { /** Includes **/ #include "esp_wifi.h" -v#include "port_esp_hosted_host_wifi_config.h" +#include "port_esp_hosted_host_wifi_config.h" +#include "port_esp_hosted_host_config.h" #include "esp_mac.h" #include "esp_hosted_api_types.h" @@ -24,7 +25,9 @@ v#include "port_esp_hosted_host_wifi_config.h" #if H_DPP_SUPPORT #include "esp_dpp.h" #endif - +#if H_ENABLE_GPIO_CONTROL +#include "esp_hosted_gpio.h" +#endif /** Exported variables **/ /** Inline functions **/ @@ -171,13 +174,13 @@ esp_err_t rpc_supp_dpp_start_listen(void); esp_err_t rpc_supp_dpp_stop_listen(void); #endif #if H_ENABLE_GPIO_CONTROL -esp_err_t rpc_gpio_config(const gpio_config_t *pGPIOConfig); -esp_err_t rpc_gpio_reset_pin(gpio_num_t gpio_num); -esp_err_t rpc_gpio_set_level(gpio_num_t gpio_num, uint32_t level); -int rpc_gpio_get_level(gpio_num_t gpio_num, int *level); -esp_err_t rpc_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode); -esp_err_t rpc_gpio_input_enable(gpio_num_t gpio_num); -esp_err_t rpc_gpio_set_puall_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull); +esp_err_t rpc_gpio_config(const esp_hosted_gpio_config_t *pGPIOConfig); +esp_err_t rpc_gpio_reset_pin(uint32_t gpio_num); +esp_err_t rpc_gpio_set_level(uint32_t gpio_num, uint32_t level); +int rpc_gpio_get_level(uint32_t gpio_num, int *level); +esp_err_t rpc_gpio_set_direction(uint32_t gpio_num, uint32_t mode); +esp_err_t rpc_gpio_input_enable(uint32_t gpio_num); +esp_err_t rpc_gpio_set_pull_mode(uint32_t gpio_num, uint32_t pull); #endif #ifdef __cplusplus diff --git a/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c b/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c index 80e66de..25b8e8b 100644 --- a/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c +++ b/host/port/esp/freertos/src/port_esp_hosted_host_gpio.c @@ -7,45 +7,44 @@ #include "esp_log.h" #include "rpc_wrap.h" -#include "esp_hosted_gpio.h" +#include "port_esp_hosted_host_config.h" #if H_ENABLE_GPIO_CONTROL +#include "esp_hosted_gpio.h" -static char *TAG = "hosted_gpio"; - -esp_err_t esp_hosted_gpio_config(const gpio_config_t *pGPIOConfig) +esp_err_t esp_hosted_gpio_config(const esp_hosted_gpio_config_t *pGPIOConfig) { return rpc_gpio_config(pGPIOConfig); } -esp_err_t esp_hosted_gpio_reset_pin(gpio_num_t gpio_num) +esp_err_t esp_hosted_gpio_reset_pin(uint32_t gpio_num) { return rpc_gpio_reset_pin(gpio_num); } -esp_err_t esp_hosted_gpio_set_level(gpio_num_t gpio_num, uint32_t level) +esp_err_t esp_hosted_gpio_set_level(uint32_t gpio_num, uint32_t level) { return rpc_gpio_set_level(gpio_num, level); } -int esp_hosted_gpio_get_level(gpio_num_t gpio_num) +int esp_hosted_gpio_get_level(uint32_t gpio_num) { int level = 0; - esp_err_t err = rpc_gpio_get_level(gpio_num, &level); + rpc_gpio_get_level(gpio_num, &level); return level; } -esp_err_t esp_hosted_gpio_set_direction(gpio_num_t gpio_num, gpio_mode_t mode) +esp_err_t esp_hosted_gpio_set_direction(uint32_t gpio_num, uint32_t mode) { return rpc_gpio_set_direction(gpio_num, mode); } -esp_err_t esp_hosted_gpio_input_enable(gpio_num_t gpio_num) +esp_err_t esp_hosted_gpio_input_enable(uint32_t gpio_num) { return rpc_gpio_input_enable(gpio_num); } -esp_err_t esp_hosted_gpio_set_pull_mode(gpio_num_t gpio_num, gpio_pull_mode_t pull) +esp_err_t esp_hosted_gpio_set_pull_mode(uint32_t gpio_num, uint32_t pull) { return rpc_gpio_set_pull_mode(gpio_num, pull); } From e273a11985c000f7593cba241c640f5098004d5a Mon Sep 17 00:00:00 2001 From: Simon Canins Date: Thu, 16 Oct 2025 22:21:44 +0200 Subject: [PATCH 16/17] Fixed Kconfig on slave --- host/drivers/rpc/core/rpc_req.c | 2 +- host/drivers/rpc/core/rpc_rsp.c | 2 +- host/drivers/rpc/slaveif/rpc_slave_if.c | 1 - slave/main/Kconfig.projbuild | 19 ++++++++----------- 4 files changed, 10 insertions(+), 14 deletions(-) diff --git a/host/drivers/rpc/core/rpc_req.c b/host/drivers/rpc/core/rpc_req.c index 6e6af5b..80f3013 100644 --- a/host/drivers/rpc/core/rpc_req.c +++ b/host/drivers/rpc/core/rpc_req.c @@ -690,7 +690,7 @@ int compose_rpc_req(Rpc *req, ctrl_cmd_t *app_req, int32_t *failure_status) RPC_REQ_COPY_STR(p_c->dhcp_gw, p_a->dhcp_gw, 64); RPC_REQ_COPY_STR(p_c->dns_ip, p_a->dns_ip, 64); break; - #if H_WIFI_ENTERPRISE_SUPPORT +#if H_WIFI_ENTERPRISE_SUPPORT } case RPC_ID__Req_EapSetIdentity: { RPC_ALLOC_ASSIGN(RpcReqEapSetIdentity, req_eap_set_identity, rpc__req__eap_set_identity__init); diff --git a/host/drivers/rpc/core/rpc_rsp.c b/host/drivers/rpc/core/rpc_rsp.c index 9229262..06b6a27 100644 --- a/host/drivers/rpc/core/rpc_rsp.c +++ b/host/drivers/rpc/core/rpc_rsp.c @@ -640,7 +640,7 @@ int rpc_parse_rsp(Rpc *rpc_msg, ctrl_cmd_t *app_resp) RPC_FAIL_ON_NULL(resp_set_dhcp_dns); RPC_ERR_IN_RESP(resp_set_dhcp_dns); break; - #if H_WIFI_ENTERPRISE_SUPPORT +#if H_WIFI_ENTERPRISE_SUPPORT } case RPC_ID__Resp_WifiStaEnterpriseEnable: { RPC_FAIL_ON_NULL(resp_wifi_sta_enterprise_enable); RPC_ERR_IN_RESP(resp_wifi_sta_enterprise_enable); diff --git a/host/drivers/rpc/slaveif/rpc_slave_if.c b/host/drivers/rpc/slaveif/rpc_slave_if.c index 3c5def1..9884bc4 100644 --- a/host/drivers/rpc/slaveif/rpc_slave_if.c +++ b/host/drivers/rpc/slaveif/rpc_slave_if.c @@ -402,7 +402,6 @@ ctrl_cmd_t * rpc_slaveif_get_coprocessor_fwversion(ctrl_cmd_t *req) RPC_DECODE_RSP_IF_NOT_ASYNC(); } - ctrl_cmd_t * rpc_slaveif_iface_mac_addr_set_get(ctrl_cmd_t *req) { RPC_SEND_REQ(RPC_ID__Req_IfaceMacAddrSetGet); diff --git a/slave/main/Kconfig.projbuild b/slave/main/Kconfig.projbuild index b8db02a..383b8d6 100644 --- a/slave/main/Kconfig.projbuild +++ b/slave/main/Kconfig.projbuild @@ -664,17 +664,7 @@ menu "Example Configuration" default ESP_SPI_GPIO_RESET if ESP_SPI_HOST_INTERFACE default ESP_SDIO_GPIO_RESET if ESP_SDIO_HOST_INTERFACE default ESP_SPI_HD_GPIO_RESET if ESP_SPI_HD_HOST_INTERFACE - default ESP_UART_GPIO_RESET if ESP_UART_HOST_INTERFACE - menu "Hosted GPIO" - config ESP_HOSTED_ENABLE_GPIO_RPC - bool "Expose GPIO RPC APIs (host can control slave GPIOs)" - default n - help - Enable RPC methods that allow the HOST MCU to configure and control - GPIOs on the SLAVE. Leave disabled unless you really need it. This - will additionally reject GPIO requests that target pins used by the - active transport (SPI/SDIO/SPI-HD/UART) - endmenu + default ESP_UART_GPIO_RESET if ESP_UART_HOST_INTERFACE endmenu # HCI UART menu for ESP32-C3/S3 @@ -1135,6 +1125,13 @@ menu "Example Configuration" This can be useful for testing and development purposes where a known Wi-Fi setup is required. + config ESP_HOSTED_ENABLE_GPIO_RPC + bool "Enable GPIO control on SLAVE (host can control slave GPIOs)" + default n + help + Enable RPC methods that allow the HOST MCU to configure and control + GPIOs on the SLAVE. Leave disabled unless you really need it. + Access to GPIOs used by the transport (SPI/SDIO/SPI-HD/UART) are always blocked. menu "Wi-Fi default config (pre-provisioning)" depends on ESP_HOSTED_USE_EXAMPLE_WIFI_PRE_PROVISION_CONFIG From 1e15cc45566e275e1f4723f11cd86b425a988562 Mon Sep 17 00:00:00 2001 From: Simon Canins Date: Thu, 16 Oct 2025 23:46:01 +0200 Subject: [PATCH 17/17] Fixed esp_hosted_rpc.proto --- common/proto/esp_hosted_rpc.pb-c.c | 76 +- common/proto/esp_hosted_rpc.pb-c.h | 18 +- common/proto/esp_hosted_rpc.proto | 4546 ++++++++++++++-------------- 3 files changed, 2320 insertions(+), 2320 deletions(-) diff --git a/common/proto/esp_hosted_rpc.pb-c.c b/common/proto/esp_hosted_rpc.pb-c.c index 380f76c..2e34812 100644 --- a/common/proto/esp_hosted_rpc.pb-c.c +++ b/common/proto/esp_hosted_rpc.pb-c.c @@ -30163,7 +30163,14 @@ static const ProtobufCEnumValue rpc_id__enum_values_by_number[292] = { "Resp_IfaceMacAddrSetGet", "RPC_ID__Resp_IfaceMacAddrSetGet", 641 }, { "Resp_IfaceMacAddrLenGet", "RPC_ID__Resp_IfaceMacAddrLenGet", 642 }, { "Resp_FeatureControl", "RPC_ID__Resp_FeatureControl", 643 }, - { "Resp_Max", "RPC_ID__Resp_Max", 644 }, + { "Resp_GpioConfig", "RPC_ID__Resp_GpioConfig", 644 }, + { "Resp_GpioResetPin", "RPC_ID__Resp_GpioResetPin", 645 }, + { "Resp_GpioSetLevel", "RPC_ID__Resp_GpioSetLevel", 646 }, + { "Resp_GpioGetLevel", "RPC_ID__Resp_GpioGetLevel", 647 }, + { "Resp_GpioSetDirection", "RPC_ID__Resp_GpioSetDirection", 648 }, + { "Resp_GpioInputEnable", "RPC_ID__Resp_GpioInputEnable", 649 }, + { "Resp_GpioSetPullMode", "RPC_ID__Resp_GpioSetPullMode", 650 }, + { "Resp_Max", "RPC_ID__Resp_Max", 651 }, { "Event_Base", "RPC_ID__Event_Base", 768 }, { "Event_ESPInit", "RPC_ID__Event_ESPInit", 769 }, { "Event_Heartbeat", "RPC_ID__Event_Heartbeat", 770 }, @@ -30184,41 +30191,34 @@ static const ProtobufCEnumValue rpc_id__enum_values_by_number[292] = { "Event_WifiDppUriReady", "RPC_ID__Event_WifiDppUriReady", 785 }, { "Event_WifiDppCfgRecvd", "RPC_ID__Event_WifiDppCfgRecvd", 786 }, { "Event_WifiDppFail", "RPC_ID__Event_WifiDppFail", 787 }, - { "Resp_GpioConfig", "RPC_ID__Resp_GpioConfig", 788 }, - { "Resp_GpioResetPin", "RPC_ID__Resp_GpioResetPin", 789 }, - { "Resp_GpioSetLevel", "RPC_ID__Resp_GpioSetLevel", 790 }, - { "Resp_GpioGetLevel", "RPC_ID__Resp_GpioGetLevel", 791 }, - { "Resp_GpioSetDirection", "RPC_ID__Resp_GpioSetDirection", 792 }, - { "Resp_GpioInputEnable", "RPC_ID__Resp_GpioInputEnable", 793 }, - { "Resp_GpioSetPullMode", "RPC_ID__Resp_GpioSetPullMode", 794 }, - { "Event_Max", "RPC_ID__Event_Max", 795 }, + { "Event_Max", "RPC_ID__Event_Max", 788 }, }; static const ProtobufCIntRange rpc_id__value_ranges[] = { -{0, 0},{256, 1},{270, 12},{297, 37},{512, 136},{526, 147},{553, 172},{768, 264},{0, 292} +{0, 0},{256, 1},{270, 12},{297, 37},{512, 136},{526, 147},{553, 172},{768, 271},{0, 292} }; static const ProtobufCEnumValueIndex rpc_id__enum_values_by_name[292] = { - { "Event_AP_StaConnected", 267 }, - { "Event_AP_StaDisconnected", 268 }, - { "Event_Base", 264 }, - { "Event_DhcpDnsStatus", 273 }, - { "Event_ESPInit", 265 }, - { "Event_Heartbeat", 266 }, + { "Event_AP_StaConnected", 274 }, + { "Event_AP_StaDisconnected", 275 }, + { "Event_Base", 271 }, + { "Event_DhcpDnsStatus", 280 }, + { "Event_ESPInit", 272 }, + { "Event_Heartbeat", 273 }, { "Event_Max", 291 }, - { "Event_StaConnected", 271 }, - { "Event_StaDisconnected", 272 }, - { "Event_StaItwtProbe", 277 }, - { "Event_StaItwtSetup", 274 }, - { "Event_StaItwtSuspend", 276 }, - { "Event_StaItwtTeardown", 275 }, - { "Event_StaScanDone", 270 }, - { "Event_SuppDppCfgRecvd", 279 }, - { "Event_SuppDppFail", 280 }, - { "Event_SuppDppUriReady", 278 }, - { "Event_WifiDppCfgRecvd", 282 }, - { "Event_WifiDppFail", 283 }, - { "Event_WifiDppUriReady", 281 }, - { "Event_WifiEventNoArgs", 269 }, + { "Event_StaConnected", 278 }, + { "Event_StaDisconnected", 279 }, + { "Event_StaItwtProbe", 284 }, + { "Event_StaItwtSetup", 281 }, + { "Event_StaItwtSuspend", 283 }, + { "Event_StaItwtTeardown", 282 }, + { "Event_StaScanDone", 277 }, + { "Event_SuppDppCfgRecvd", 286 }, + { "Event_SuppDppFail", 287 }, + { "Event_SuppDppUriReady", 285 }, + { "Event_WifiDppCfgRecvd", 289 }, + { "Event_WifiDppFail", 290 }, + { "Event_WifiDppUriReady", 288 }, + { "Event_WifiEventNoArgs", 276 }, { "MsgId_Invalid", 0 }, { "Req_Base", 1 }, { "Req_ConfigHeartbeat", 19 }, @@ -30383,16 +30383,16 @@ static const ProtobufCEnumValueIndex rpc_id__enum_values_by_name[292] = { "Resp_GetDhcpDnsStatus", 228 }, { "Resp_GetMACAddress", 137 }, { "Resp_GetWifiMode", 139 }, - { "Resp_GpioConfig", 284 }, - { "Resp_GpioGetLevel", 287 }, - { "Resp_GpioInputEnable", 289 }, - { "Resp_GpioResetPin", 285 }, - { "Resp_GpioSetDirection", 288 }, - { "Resp_GpioSetLevel", 286 }, - { "Resp_GpioSetPullMode", 290 }, + { "Resp_GpioConfig", 263 }, + { "Resp_GpioGetLevel", 266 }, + { "Resp_GpioInputEnable", 268 }, + { "Resp_GpioResetPin", 264 }, + { "Resp_GpioSetDirection", 267 }, + { "Resp_GpioSetLevel", 265 }, + { "Resp_GpioSetPullMode", 269 }, { "Resp_IfaceMacAddrLenGet", 261 }, { "Resp_IfaceMacAddrSetGet", 260 }, - { "Resp_Max", 263 }, + { "Resp_Max", 270 }, { "Resp_OTAActivate", 146 }, { "Resp_OTABegin", 149 }, { "Resp_OTAEnd", 151 }, diff --git a/common/proto/esp_hosted_rpc.pb-c.h b/common/proto/esp_hosted_rpc.pb-c.h index e5b8196..860ef68 100644 --- a/common/proto/esp_hosted_rpc.pb-c.h +++ b/common/proto/esp_hosted_rpc.pb-c.h @@ -1101,11 +1101,18 @@ typedef enum _RpcId { RPC_ID__Resp_IfaceMacAddrSetGet = 641, RPC_ID__Resp_IfaceMacAddrLenGet = 642, RPC_ID__Resp_FeatureControl = 643, + RPC_ID__Resp_GpioConfig = 644, + RPC_ID__Resp_GpioResetPin = 645, + RPC_ID__Resp_GpioSetLevel = 646, + RPC_ID__Resp_GpioGetLevel = 647, + RPC_ID__Resp_GpioSetDirection = 648, + RPC_ID__Resp_GpioInputEnable = 649, + RPC_ID__Resp_GpioSetPullMode = 650, /* * Add new control path command response before Resp_Max * and update Resp_Max */ - RPC_ID__Resp_Max = 644, + RPC_ID__Resp_Max = 651, /* ** Event Msgs * */ @@ -1135,18 +1142,11 @@ typedef enum _RpcId { RPC_ID__Event_WifiDppUriReady = 785, RPC_ID__Event_WifiDppCfgRecvd = 786, RPC_ID__Event_WifiDppFail = 787, - RPC_ID__Resp_GpioConfig = 788, - RPC_ID__Resp_GpioResetPin = 789, - RPC_ID__Resp_GpioSetLevel = 790, - RPC_ID__Resp_GpioGetLevel = 791, - RPC_ID__Resp_GpioSetDirection = 792, - RPC_ID__Resp_GpioInputEnable = 793, - RPC_ID__Resp_GpioSetPullMode = 794, /* * Add new control path command notification before Event_Max * and update Event_Max */ - RPC_ID__Event_Max = 795 + RPC_ID__Event_Max = 788 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(RPC_ID) } RpcId; typedef enum _RpcGpioMode { diff --git a/common/proto/esp_hosted_rpc.proto b/common/proto/esp_hosted_rpc.proto index 736507a..c7c7966 100644 --- a/common/proto/esp_hosted_rpc.proto +++ b/common/proto/esp_hosted_rpc.proto @@ -1,2273 +1,2273 @@ -/* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD */ -/* SPDX-License-Identifier: Apache-2.0 */ - -syntax = "proto3"; - -enum Rpc_WifiBw { - BW_Invalid = 0; - HT20 = 1; - HT40 = 2; -} - -enum Rpc_WifiPowerSave { - PS_Invalid = 0; - MIN_MODEM = 1; - MAX_MODEM = 2; -} - -enum Rpc_WifiSecProt { - Open = 0; - WEP = 1; - WPA_PSK = 2; - WPA2_PSK = 3; - WPA_WPA2_PSK = 4; - WPA2_ENTERPRISE = 5; - WPA3_PSK = 6; - WPA2_WPA3_PSK = 7; -} - -/* enums for Control path */ -enum Rpc_Status { - Connected = 0; - Not_Connected = 1; - No_AP_Found = 2; - Connection_Fail = 3; - Invalid_Argument = 4; - Out_Of_Range = 5; -} - - -enum RpcType { -MsgType_Invalid = 0; - Req = 1; - Resp = 2; - Event = 3; - MsgType_Max = 4; -} - -enum RpcFeature { - Feature_None = 0; - // Bluetooth (BT) Feature - Feature_Bluetooth = 1; - // add additional features here -} - -enum RpcFeatureCommand { - Feature_Command_None = 0; - // Bluetooth (BT) Feature Commands - Feature_Command_BT_Init = 1; - Feature_Command_BT_Deinit = 2; - Feature_Command_BT_Enable = 3; - Feature_Command_BT_Disable = 4; - // add additional feature commands here -} - -enum RpcFeatureOption { - Feature_Option_None = 0; - // Bluetooth (BT) Feature Options - Feature_Option_BT_Deinit_Release_Memory = 1; // release memory when deinit BT - // add additional feature options here -} - -enum RpcId { - MsgId_Invalid = 0; - - /** Request Msgs **/ - Req_Base = 256; //0x100 - - Req_GetMACAddress = 257; //0x101 - Req_SetMacAddress = 258; //0x102 - Req_GetWifiMode = 259; //0x103 - Req_SetWifiMode = 260; //0x104 - - Req_SuppDppInit = 261; //0x105 - Req_SuppDppDeinit = 262; //0x106 - Req_SuppDppBootstrapGen = 263; //0x107 - Req_SuppDppStartListen = 264; //0x108 - Req_SuppDppStopListen = 265; //0x109 - - //Req_SetSoftAPVendorSpecificIE = 266; //0x10a - //Req_StartSoftAP = 267; //0x10b - //Req_GetSoftAPConnectedSTAList = 268; //0x10c - //Req_StopSoftAP = 269; //0x10d - Req_OTAActivate = 266; //0x112 - - Req_WifiSetPs = 270; //0x10e - Req_WifiGetPs = 271; //0x10f - - Req_OTABegin = 272; //0x110 - Req_OTAWrite = 273; //0x111 - Req_OTAEnd = 274; //0x112 - - Req_WifiSetMaxTxPower = 275; //0x113 - Req_WifiGetMaxTxPower = 276; //0x114 - - Req_ConfigHeartbeat = 277; //0x115 - - Req_WifiInit = 278; //0x116 - Req_WifiDeinit = 279; //0x117 - Req_WifiStart = 280; //0x118 - Req_WifiStop = 281; //0x119 - Req_WifiConnect = 282; //0x11a - Req_WifiDisconnect = 283; //0x11b - Req_WifiSetConfig = 284; //0x11c - Req_WifiGetConfig = 285; //0x11d - - Req_WifiScanStart = 286; //0x11e - Req_WifiScanStop = 287; //0x11f - Req_WifiScanGetApNum = 288; //0x120 - Req_WifiScanGetApRecords = 289; //0x121 - Req_WifiClearApList = 290; //0x122 - - Req_WifiRestore = 291; //0x123 - Req_WifiClearFastConnect = 292; //0x124 - Req_WifiDeauthSta = 293; //0x125 - Req_WifiStaGetApInfo = 294; //0x126 - //Req_WifiSetPs = 295; //0x127 - //Req_WifiGetPs = 296; //0x128 - Req_WifiSetProtocol = 297; //0x129 - Req_WifiGetProtocol = 298; //0x12a - Req_WifiSetBandwidth = 299; //0x12b - Req_WifiGetBandwidth = 300; //0x12c - Req_WifiSetChannel = 301; //0x12d - Req_WifiGetChannel = 302; //0x12e - Req_WifiSetCountry = 303; //0x12f - Req_WifiGetCountry = 304; //0x130 - -// Req_WifiSetPromiscuousRxCb = 305; //0x131 - Req_WifiSetPromiscuous = 305; //0x131 - Req_WifiGetPromiscuous = 306; //0x132 - Req_WifiSetPromiscuousFilter = 307; //0x133 - Req_WifiGetPromiscuousFilter = 308; //0x134 - Req_WifiSetPromiscuousCtrlFilter = 309; //0x135 - Req_WifiGetPromiscuousCtrlFilter = 310; //0x136 - - Req_WifiApGetStaList = 311; //0x137 - Req_WifiApGetStaAid = 312; //0x138 - Req_WifiSetStorage = 313; //0x139 - Req_WifiSetVendorIe = 314; //0x13a -// Req_WifiSetVendorIeCb = 315; //0x13b - Req_WifiSetEventMask = 315; //0x13b - Req_WifiGetEventMask = 316; //0x13c - Req_Wifi80211Tx = 317; //0x13d - -// Req_WifiSetCsiRxCb = 318; //0x13e - Req_WifiSetCsiConfig = 318; //0x13e - Req_WifiSetCsi = 319; //0x13f - - Req_WifiSetAntGpio = 320; //0x140 - Req_WifiGetAntGpio = 321; //0x141 - Req_WifiSetAnt = 322; //0x142 - Req_WifiGetAnt = 323; //0x143 - - Req_WifiGetTsfTime = 324; //0x144 - Req_WifiSetInactiveTime = 325; //0x145 - Req_WifiGetInactiveTime = 326; //0x146 - Req_WifiStatisDump = 327; //0x147 - Req_WifiSetRssiThreshold = 328; //0x148 - - Req_WifiFtmInitiateSession = 329; //0x149 - Req_WifiFtmEndSession = 330; //0x14a - Req_WifiFtmRespSetOffset = 331; //0x14b - - Req_WifiConfig11bRate = 332; //0x14c - Req_WifiConnectionlessModuleSetWakeInterval = 333; //0x14d - Req_WifiSetCountryCode = 334; //0x14e - Req_WifiGetCountryCode = 335; //0x14f - Req_WifiConfig80211TxRate = 336; //0x150 - Req_WifiDisablePmfConfig = 337; //0x151 - Req_WifiStaGetAid = 338; //0x152 - Req_WifiStaGetNegotiatedPhymode = 339; //0x153 - Req_WifiSetDynamicCs = 340; //0x154 - Req_WifiStaGetRssi = 341; //0x155 - - Req_WifiSetProtocols = 342; //0x156 - Req_WifiGetProtocols = 343; //0x157 - Req_WifiSetBandwidths = 344; //0x158 - Req_WifiGetBandwidths = 345; //0x159 - - Req_WifiSetBand = 346; //0x15a - Req_WifiGetBand = 347; //0x15b - Req_WifiSetBandMode = 348; //0x15c - Req_WifiGetBandMode = 349; //0x15d - - Req_GetCoprocessorFwVersion = 350; //0x15e - - Req_WifiScanGetApRecord = 351; //0x15f - - Req_SetDhcpDnsStatus = 352; //0x160 - Req_GetDhcpDnsStatus = 353; //0x161 - - Req_WifiStaTwtConfig = 354; //0x162 - Req_WifiStaItwtSetup = 355; //0x163 - Req_WifiStaItwtTeardown = 356; //0x164 - Req_WifiStaItwtSuspend = 357; //0x165 - Req_WifiStaItwtGetFlowIdStatus = 358; //0x166 - Req_WifiStaItwtSendProbeReq = 359; //0x167 - Req_WifiStaItwtSetTargetWakeTimeOffset = 360; //0x168 - - Req_WifiStaEnterpriseEnable = 361; //0x169 - Req_WifiStaEnterpriseDisable = 362; //0x16A - Req_EapSetIdentity = 363; //0x16B - Req_EapClearIdentity = 364; //0x16C - Req_EapSetUsername = 365; //0x16D - Req_EapClearUsername = 366; //0x16E - Req_EapSetPassword = 367; //0x16F - Req_EapClearPassword = 368; //0x170 - Req_EapSetNewPassword = 369; //0x171 - Req_EapClearNewPassword = 370; //0x172 - Req_EapSetCaCert = 371; //0x173 - Req_EapClearCaCert = 372; //0x174 - Req_EapSetCertificateAndKey = 373; //0x175 - Req_EapClearCertificateAndKey = 374; //0x176 - Req_EapGetDisableTimeCheck = 375; //0x177 - Req_EapSetTtlsPhase2Method = 376; //0x178 - Req_EapSetSuitebCertification = 377; //0x179 - Req_EapSetPacFile = 378; //0x17A - Req_EapSetFastParams = 379; //0x17B - Req_EapUseDefaultCertBundle = 380; //0x17C - Req_WifiSetOkcSupport = 381; //0x17D - Req_EapSetDomainName = 382; //0x17E - Req_EapSetDisableTimeCheck = 383; //0x17F - Req_EapSetEapMethods = 384; //0x180 - - Req_IfaceMacAddrSetGet = 385; //0x181 - Req_IfaceMacAddrLenGet = 386; //0x182 - - /* Common RPC to handle simple feature control with one optional parameter - * Supported Features: - * - BT Init/Deinit/Enable/Disable - */ - Req_FeatureControl = 387; //0x183 - - Req_GpioConfig = 388; // 0x184 - Req_GpioResetPin = 389; // 0x185 - Req_GpioSetLevel = 390; // 0x186 - Req_GpioGetLevel = 391; // 0x187 - Req_GpioSetDirection = 392; // 0x188 - Req_GpioInputEnable = 393; // 0x189 - Req_GpioSetPullMode = 394; // 0x18A - - /* Add new control path command response before Req_Max - * and update Req_Max */ - Req_Max = 395; //0x18B - - /** Response Msgs **/ - Resp_Base = 512; - - Resp_GetMACAddress = 513; - Resp_SetMacAddress = 514; - Resp_GetWifiMode = 515; - Resp_SetWifiMode = 516; - - Resp_SuppDppInit = 517; - Resp_SuppDppDeinit = 518; - Resp_SuppDppBootstrapGen = 519; - Resp_SuppDppStartListen = 520; - Resp_SuppDppStopListen = 521; - - //Resp_SetSoftAPVendorSpecificIE = 522; - //Resp_StartSoftAP = 523; - //Resp_GetSoftAPConnectedSTAList = 524; - //Resp_StopSoftAP = 525; - Resp_OTAActivate = 522; - - Resp_WifiSetPs = 526; - Resp_WifiGetPs = 527; - - Resp_OTABegin = 528; - Resp_OTAWrite = 529; - Resp_OTAEnd = 530; - - Resp_WifiSetMaxTxPower = 531; - Resp_WifiGetMaxTxPower = 532; - - Resp_ConfigHeartbeat = 533; - - Resp_WifiInit = 534; - Resp_WifiDeinit = 535; - Resp_WifiStart = 536; - Resp_WifiStop = 537; - Resp_WifiConnect = 538; - Resp_WifiDisconnect = 539; - Resp_WifiSetConfig = 540; - Resp_WifiGetConfig = 541; - - Resp_WifiScanStart = 542; - Resp_WifiScanStop = 543; - Resp_WifiScanGetApNum = 544; - Resp_WifiScanGetApRecords = 545; - Resp_WifiClearApList = 546; - - Resp_WifiRestore = 547; - Resp_WifiClearFastConnect = 548; - Resp_WifiDeauthSta = 549; - Resp_WifiStaGetApInfo = 550; - //Resp_WifiSetPs = 551; - //Resp_WifiGetPs = 552; - Resp_WifiSetProtocol = 553; - Resp_WifiGetProtocol = 554; - Resp_WifiSetBandwidth = 555; - Resp_WifiGetBandwidth = 556; - Resp_WifiSetChannel = 557; - Resp_WifiGetChannel = 558; - Resp_WifiSetCountry = 559; - Resp_WifiGetCountry = 560; - -// Resp_WifiSetPromiscuousRxCb = 561; - Resp_WifiSetPromiscuous = 561; - Resp_WifiGetPromiscuous = 562; - Resp_WifiSetPromiscuousFilter = 563; - Resp_WifiGetPromiscuousFilter = 564; - Resp_WifiSetPromiscuousCtrlFilter = 565; - Resp_WifiGetPromiscuousCtrlFilter = 566; - - Resp_WifiApGetStaList = 567; - Resp_WifiApGetStaAid = 568; - Resp_WifiSetStorage = 569; - Resp_WifiSetVendorIe = 570; -// Resp_WifiSetVendorIeCb = 571; - Resp_WifiSetEventMask = 571; - Resp_WifiGetEventMask = 572; - Resp_Wifi80211Tx = 573; - -// Resp_WifiSetCsiRxCb = 573; - Resp_WifiSetCsiConfig = 574; - Resp_WifiSetCsi = 575; - - Resp_WifiSetAntGpio = 576; - Resp_WifiGetAntGpio = 577; - Resp_WifiSetAnt = 578; - Resp_WifiGetAnt = 579; - - Resp_WifiGetTsfTime = 580; - Resp_WifiSetInactiveTime = 581; - Resp_WifiGetInactiveTime = 582; - Resp_WifiStatisDump = 583; - Resp_WifiSetRssiThreshold = 584; - - Resp_WifiFtmInitiateSession = 585; - Resp_WifiFtmEndSession = 586; - Resp_WifiFtmRespSetOffset = 587; - - Resp_WifiConfig11bRate = 588; - Resp_WifiConnectionlessModuleSetWakeInterval = 589; - Resp_WifiSetCountryCode = 590; - Resp_WifiGetCountryCode = 591; - Resp_WifiConfig80211TxRate = 592; - Resp_WifiDisablePmfConfig = 593; - Resp_WifiStaGetAid = 594; - Resp_WifiStaGetNegotiatedPhymode = 595; - Resp_WifiSetDynamicCs = 596; - Resp_WifiStaGetRssi = 597; - - Resp_WifiSetProtocols = 598; - Resp_WifiGetProtocols = 599; - Resp_WifiSetBandwidths = 600; - Resp_WifiGetBandwidths = 601; - - Resp_WifiSetBand = 602; - Resp_WifiGetBand = 603; - Resp_WifiSetBandMode = 604; - Resp_WifiGetBandMode = 605; - - Resp_GetCoprocessorFwVersion = 606; - - Resp_WifiScanGetApRecord = 607; - - Resp_SetDhcpDnsStatus = 608; - Resp_GetDhcpDnsStatus = 609; - - Resp_WifiStaTwtConfig = 610; - Resp_WifiStaItwtSetup = 611; - Resp_WifiStaItwtTeardown = 612; - Resp_WifiStaItwtSuspend = 613; - Resp_WifiStaItwtGetFlowIdStatus = 614; - Resp_WifiStaItwtSendProbeReq = 615; - Resp_WifiStaItwtSetTargetWakeTimeOffset = 616; - - Resp_WifiStaEnterpriseEnable = 617; - Resp_WifiStaEnterpriseDisable = 618; - Resp_EapSetIdentity = 619; - Resp_EapClearIdentity = 620; - Resp_EapSetUsername = 621; - Resp_EapClearUsername = 622; - Resp_EapSetPassword = 623; - Resp_EapClearPassword = 624; - Resp_EapSetNewPassword = 625; - Resp_EapClearNewPassword = 626; - Resp_EapSetCaCert = 627; - Resp_EapClearCaCert = 628; - Resp_EapSetCertificateAndKey = 629; - Resp_EapClearCertificateAndKey = 630; - Resp_EapGetDisableTimeCheck = 631; - Resp_EapSetTtlsPhase2Method = 632; - Resp_EapSetSuitebCertification = 633; - Resp_EapSetPacFile = 634; - Resp_EapSetFastParams = 635; - Resp_EapUseDefaultCertBundle = 636; - Resp_WifiSetOkcSupport = 637; - Resp_EapSetDomainName = 638; - Resp_EapSetDisableTimeCheck = 639; - Resp_EapSetEapMethods = 640; - - Resp_IfaceMacAddrSetGet = 641; - Resp_IfaceMacAddrLenGet = 642; - Resp_FeatureControl = 643; - - /* Add new control path command response before Resp_Max - * and update Resp_Max */ - Resp_Max = 644; - - /** Event Msgs **/ - Event_Base = 768; - Event_ESPInit = 769; - Event_Heartbeat = 770; - Event_AP_StaConnected = 771; - Event_AP_StaDisconnected = 772; - Event_WifiEventNoArgs = 773; - Event_StaScanDone = 774; - Event_StaConnected = 775; - Event_StaDisconnected = 776; - Event_DhcpDnsStatus = 777; - - Event_StaItwtSetup = 778; - Event_StaItwtTeardown = 779; - Event_StaItwtSuspend = 780; - Event_StaItwtProbe = 781; - - // Supplicant DPP Events received by dpp callback on host - Event_SuppDppUriReady = 782; - Event_SuppDppCfgRecvd = 783; - Event_SuppDppFail = 784; - // Wifi DPP Events - Event_WifiDppUriReady = 785; - Event_WifiDppCfgRecvd = 786; - Event_WifiDppFail = 787; - - Resp_GpioConfig = 788; - Resp_GpioResetPin = 789; - Resp_GpioSetLevel = 790; - Resp_GpioGetLevel = 791; - Resp_GpioSetDirection = 792; - Resp_GpioInputEnable = 793; - Resp_GpioSetPullMode = 794; - - /* Add new control path command notification before Event_Max - * and update Event_Max */ - Event_Max = 795; -} - -message wifi_init_config { - int32 static_rx_buf_num = 1; /**< WiFi static RX buffer number */ - int32 dynamic_rx_buf_num = 2; /**< WiFi dynamic RX buffer number */ - int32 tx_buf_type = 3; /**< WiFi TX buffer type */ - int32 static_tx_buf_num = 4; /**< WiFi static TX buffer number */ - int32 dynamic_tx_buf_num = 5; /**< WiFi dynamic TX buffer number */ - int32 cache_tx_buf_num = 6; /**< WiFi TX cache buffer number */ - int32 csi_enable = 7; /**< WiFi channel state information enable flag */ - int32 ampdu_rx_enable = 8; /**< WiFi AMPDU RX feature enable flag */ - int32 ampdu_tx_enable = 9; /**< WiFi AMPDU TX feature enable flag */ - int32 amsdu_tx_enable = 10; /**< WiFi AMSDU TX feature enable flag */ - int32 nvs_enable = 11; /**< WiFi NVS flash enable flag */ - int32 nano_enable = 12; /**< Nano option for printf/scan family enable flag */ - int32 rx_ba_win = 13; /**< WiFi Block Ack RX window size */ - int32 wifi_task_core_id = 14; /**< WiFi Task Core ID */ - int32 beacon_max_len = 15; /**< WiFi softAP maximum length of the beacon */ - int32 mgmt_sbuf_num = 16; /**< WiFi management short buffer number, the minimum value is 6, the maximum value is 32 */ - uint64 feature_caps = 17; /**< Enables additional WiFi features and capabilities */ - bool sta_disconnected_pm = 18; /**< WiFi Power Management for station at disconnected status */ - int32 espnow_max_encrypt_num = 19; /**< Maximum encrypt number of peers supported by espnow */ - int32 magic = 20; /**< WiFi init magic number, it should be the last field */ - int32 rx_mgmt_buf_type = 21; /**< WiFi RX MGMT buffer type */ - int32 rx_mgmt_buf_num = 22; /**< WiFi RX MGMT buffer number */ - int32 tx_hetb_queue_num = 23; /**< WiFi TX HE TB QUEUE number for STA HE TB PPDU transmission */ - int32 dump_hesigb_enable = 24; /**< enable dump sigb field */ -} - -message wifi_country { - bytes cc = 1; /**< country code string of 3 chars*/ - uint32 schan = 2; /**< start channel */ - uint32 nchan = 3; /**< total channel number */ - int32 max_tx_power = 4; /**< This field is used for getting WiFi maximum transmitting power, - call esp_wifi_set_max_tx_power to set the maximum transmitting power. */ - int32 policy = 5; /**< country policy */ -} - - -message wifi_active_scan_time { - uint32 min = 1; /**< minimum active scan time per channel, units: millisecond */ - uint32 max = 2; /**< maximum active scan time per channel, units: millisecond, values above 1500ms may - cause station to disconnect from AP and are not recommended. */ -} ; - -message wifi_scan_time { - wifi_active_scan_time active = 1; /**< active scan time per channel, units: millisecond. */ - uint32 passive = 2; /**< passive scan time per channel, units: millisecond, values above 1500ms may - cause station to disconnect from AP and are not recommended. */ -} - -message wifi_scan_channel_bitmap { - uint32 ghz_2_channels = 1; /**< Represents 2.4 GHz channels, that bits can be set as wifi_2g_channel_bit_t shown. */ - uint32 ghz_5_channels = 2; /**< Represents 5 GHz channels, that bits can be set as wifi_5g_channel_bit_t shown. */ -} - -message wifi_scan_config { - bytes ssid = 1; /**< SSID of AP 33char*/ - bytes bssid = 2; /**< MAC address of AP 6char */ - uint32 channel = 3; /**< channel, scan the specific channel */ - bool show_hidden = 4; /**< enable to scan AP whose SSID is hidden */ - int32 scan_type = 5; /**< scan type, active or passive */ - wifi_scan_time scan_time = 6; /**< scan time per channel */ - uint32 home_chan_dwell_time = 7; /**< time spent at home channel between scanning consecutive channels.*/ - wifi_scan_channel_bitmap channel_bitmap = 8; /**< Channel bitmap for setting specific channels to be scanned. - Please note that the 'channel' parameter above needs to be set to 0 to allow scanning by bitmap. - Also, note that only allowed channels configured by wifi_country_t can be scanned. */ -} - -message wifi_he_ap_info { - //uint8_t bss_color:6; /**< an unsigned integer whose value is the BSS Color of the BSS corresponding to the AP */ - //uint8_t partial_bss_color:1; /**< indicate if an AID assignment rule based on the BSS color */ - //uint8_t bss_color_disabled:1; /**< indicate if the use of BSS color is disabled */ - uint32 bitmask = 1; /* Manually have to parse for above bits */ - uint32 bssid_index = 2; /**< in M-BSSID set, identifies the nontransmitted BSSID */ -} - -message wifi_ap_record { - bytes bssid = 1; /**< MAC address of AP 6char */ - bytes ssid = 2; /**< SSID of AP 33char */ - uint32 primary = 3; /**< channel of AP */ - int32 second = 4; /**< secondary channel of AP */ - int32 rssi = 5; /**< signal strength of AP */ - int32 authmode = 6; /**< authmode of AP */ - int32 pairwise_cipher = 7; /**< pairwise cipher of AP */ - int32 group_cipher = 8; /**< group cipher of AP */ - int32 ant = 9; /**< antenna used to receive beacon from AP */ - //uint32_t phy_11b:1; /**< bit: 0 flag to identify if 11b mode is enabled or not */ - //uint32_t phy_11g:1; /**< bit: 1 flag to identify if 11g mode is enabled or not */ - //uint32_t phy_11n:1; /**< bit: 2 flag to identify if 11n mode is enabled or not */ - //uint32_t phy_lr:1; /**< bit: 3 flag to identify if low rate is enabled or not */ - //uint32_t wps:1; /**< bit: 4 flag to identify if WPS is supported or not */ - //uint32_t ftm_responder:1; /**< bit: 5 flag to identify if FTM is supported in responder mode */ - //uint32_t ftm_initiator:1; /**< bit: 6 flag to identify if FTM is supported in initiator mode */ - //uint32_t reserved:25; /**< bit: 7..31 reserved */ - uint32 bitmask = 10; /* Manually have to parse for above bits */ - - wifi_country country = 11; /**< country information of AP */ - wifi_he_ap_info he_ap = 12; - uint32 bandwidth = 13; /**< For AP 20 MHz this value is set to 1. For AP 40 MHz this value is set to 2. - For AP 80 MHz this value is set to 3. For AP 160MHz this value is set to 4. - For AP 80+80MHz this value is set to 5*/ - uint32 vht_ch_freq1 = 14; /**< This fields are used only AP bandwidth is 80 and 160 MHz, to transmit the center channel - frequency of the BSS. For AP bandwidth is 80 + 80 MHz, it is the center channel frequency - of the lower frequency segment.*/ - uint32 vht_ch_freq2 = 15; /**< This fields are used only AP bandwidth is 80 + 80 MHz, and is used to transmit the center - channel frequency of the second segment. */ -} - -message wifi_scan_threshold { - int32 rssi = 1; /**< The minimum rssi to accept in the fast scan mode */ - int32 authmode = 2; /**< The weakest authmode to accept in the fast scan mode -Note: Incase this value is not set and password is set as per WPA2 standards(password len >= 8), -it will be defaulted to WPA2 and device won't connect to deprecated WEP/WPA networks. -Please set authmode threshold as WIFI_AUTH_WEP/WIFI_AUTH_WPA_PSK to connect to WEP/WPA networks */ - uint32 rssi_5g_adjustment = 3; /**< The RSSI value of the 5G AP is within the rssi_5g_adjustment range compared to the 2G AP, the 5G AP will be given priority for connection. */ -} - -message wifi_pmf_config { - bool capable = 1; /**< Deprecated variable. Device will always connect in PMF mode if other device also advertizes PMF capability. */ - bool required = 2; /**< Advertizes that Protected Management Frame is required. Device will not associate to non-PMF capable devices. */ -} - -message wifi_bss_max_idle_config { - uint32 period = 1; /**< Sets BSS Max idle period (1 Unit = 1000TUs OR 1.024 Seconds). If there are no frames for this period from a STA, SoftAP will disassociate due to inactivity. Setting it to 0 disables the feature */ - bool protected_keep_alive = 2; /**< Requires clients to use protected keep alive frames for BSS Max Idle period */ -} - -message wifi_ap_config { - bytes ssid = 1; /**< SSID of ESP32 soft-AP. If ssid_len field is 0, this must be a Null terminated string. Otherwise, length is set according to ssid_len. 32 char*/ - bytes password = 2; /**< Password of ESP32 soft-AP. 64 char*/ - uint32 ssid_len = 3; /**< Optional length of SSID field. */ - uint32 channel = 4; /**< Channel of ESP32 soft-AP */ - int32 authmode = 5; /**< Auth mode of ESP32 soft-AP. Do not support AUTH_WEP in soft-AP mode */ - uint32 ssid_hidden = 6; /**< Broadcast SSID or not, default 0, broadcast the SSID */ - uint32 max_connection = 7; /**< Max number of stations allowed to connect in */ - uint32 beacon_interval = 8; /**< Beacon interval which should be multiples of 100. Unit: TU(time unit, 1 TU = 1024 us). Range: 100 ~ 60000. Default value: 100 */ - int32 pairwise_cipher = 9; /**< pairwise cipher of SoftAP, group cipher will be derived using this. - cipher values are valid starting from WIFI_CIPHER_TYPE_TKIP, enum values before that will be considered as invalid and default cipher suites(TKIP+CCMP) will be used. - Valid cipher suites in softAP mode are WIFI_CIPHER_TYPE_TKIP, WIFI_CIPHER_TYPE_CCMP and WIFI_CIPHER_TYPE_TKIP_CCMP. */ - bool ftm_responder = 10; /**< Enable FTM Responder mode */ - wifi_pmf_config pmf_cfg = 11; /**< Configuration for Protected Management Frame */ - int32 sae_pwe_h2e = 12; /**< Configuration for SAE PWE derivation method */ - uint32 csa_count = 13; /**< Channel Switch Announcement Count. Notify the station that the channel will switch after the csa_count beacon intervals. Default value: 3 */ - uint32 dtim_period = 14; /**< Dtim period of soft-AP. Range: 1 ~ 10. Default value: 1 */ - uint32 transition_disable = 15; /**< Whether to enable transition disable feature */ - uint32 sae_ext = 16; /**< Enable SAE EXT feature. SOC_GCMP_SUPPORT is required for this feature. */ - wifi_bss_max_idle_config bss_max_idle_cfg = 17; /**< Configuration for bss max idle, effective if CONFIG_WIFI_BSS_MAX_IDLE_SUPPORT is enabled */ - uint32 gtk_rekey_interval = 18; /**< GTK rekeying interval in seconds. If set to 0, GTK rekeying is disabled. Range: 60 ~ 65535 including 0. */ -} - -message wifi_sta_config { - bytes ssid = 1; /**< SSID of target AP. 32char */ - bytes password = 2; /**< Password of target AP. 64char */ - int32 scan_method = 3; /**< do all channel scan or fast scan */ - bool bssid_set = 4; /**< whether set MAC address of target AP or not. Generally, station_config.bssid_set needs to be 0, - and it needs to be 1 only when users need to check the MAC address of the AP.*/ - bytes bssid = 5; /**< MAC address of target AP 6char */ - uint32 channel = 6; /**< channel of target AP. Set to 1~13 to scan starting from the specified channel - before connecting to AP. If the channel of AP is unknown, set it to 0.*/ - uint32 listen_interval = 7; /**< Listen interval for ESP32 station to receive beacon when WIFI_PS_MAX_MODEM is set. -Units: AP beacon intervals. Defaults to 3 if set to 0. */ - int32 sort_method = 8; /**< sort the connect AP in the list by rssi or security mode */ - wifi_scan_threshold threshold = 9; /**< When sort_method is set, only APs which have an auth mode that is more secure - than the selected auth mode and a signal stronger than the minimum RSSI will be used. */ - wifi_pmf_config pmf_cfg = 10; /**< Configuration for Protected Management Frame. Will be advertized in RSN Capabilities in RSN IE. */ - //uint32_t rm_enabled:1; /**< Whether Radio Measurements are enabled for the connection */ - //uint32_t btm_enabled:1; /**< Whether BSS Transition Management is enabled for the connection */ - //uint32_t mbo_enabled:1; /**< Whether MBO is enabled for the connection */ - //uint32_t ft_enabled:1; /**< Whether FT is enabled for the connection */ - //uint32_t owe_enabled:1; /**< Whether OWE is enabled for the connection */ - //uint32_t transition_disable:1; /**< Whether to enable transition disable feature */ - //uint32_t reserved:26; /**< Reserved for future feature set */ - uint32 bitmask = 11; - int32 sae_pwe_h2e = 12; /**< Whether SAE hash to element is enabled */ - uint32 failure_retry_cnt = 13; /**< Number of connection retries station will do before moving to next AP. - scan_method should be set as WIFI_ALL_CHANNEL_SCAN to use this config. - Note: Enabling this may cause connection time to increase incase best AP doesn't behave properly. */ - //uint32_t he_dcm_set:1; /**< Whether DCM max.constellation for transmission and reception is set. */ - //uint32_t he_dcm_max_constellation_tx:2; /**< Indicate the max.constellation for DCM in TB PPDU the STA supported. 0: not supported. 1: BPSK, 2: QPSK, 3: 16-QAM. The default value is 3. */ - //uint32_t he_dcm_max_constellation_rx:2; /**< Indicate the max.constellation for DCM in both Data field and HE-SIG-B field the STA supported. 0: not supported. 1: BPSK, 2: QPSK, 3: 16-QAM. The default value is 3. */ - //uint32_t he_mcs9_enabled:1; /**< Whether to support HE-MCS 0 to 9. The default value is 0. */ - //uint32_t he_su_beamformee_disabled:1; /**< Whether to disable support for operation as an SU beamformee. */ - //uint32_t he_trig_su_bmforming_feedback_disabled:1; /**< Whether to disable support the transmission of SU feedback in an HE TB sounding sequence. */ - //uint32_t he_trig_mu_bmforming_partial_feedback_disabled:1; /**< Whether to disable support the transmission of partial-bandwidth MU feedback in an HE TB sounding sequence. */ - // uint32_t he_trig_cqi_feedback_disabled:1; /**< Whether to disable support the transmission of CQI feedback in an HE TB sounding sequence. */ - // uint32_t vht_su_beamformee_disabled: 1; /**< Whether to disable support for operation as an VHT SU beamformee. */ - // uint32_t vht_mu_beamformee_disabled: 1; /**< Whether to disable support for operation as an VHT MU beamformee. */ - // uint32_t vht_mcs8_enabled: 1; /**< Whether to support VHT-MCS8. The default value is 0. */ - // uint32_t he_reserved:19; /**< Reserved for future feature set */ - uint32 he_bitmask = 14; - bytes sae_h2e_identifier = 15; /**< Password identifier for H2E. this needs to be null terminated string. SAE_H2E_IDENTIFIER_LEN chars */ - uint32 sae_pk_mode = 16; /**< Configuration for SAE-PK (Public Key) Authentication method */ -} - -message wifi_config { - oneof u { - wifi_ap_config ap = 1; /**< configuration of AP */ - wifi_sta_config sta = 2; /**< configuration of STA */ - } -} - -message wifi_sta_info { - bytes mac = 1; /**< mac address 6 char */ - int32 rssi = 2; /**< current average rssi of sta connected */ - //uint32_t phy_11b:1; /**< bit: 0 flag to identify if 11b mode is enabled or not */ - //uint32_t phy_11g:1; /**< bit: 1 flag to identify if 11g mode is enabled or not */ - //uint32_t phy_11n:1; /**< bit: 2 flag to identify if 11n mode is enabled or not */ - //uint32_t phy_lr:1; /**< bit: 3 flag to identify if low rate is enabled or not */ - //uint32_t phy_11x:1; /**< bit: 4 flag to identify identify if 11ax mode is enabled or not */ - //uint32_t is_mesh_child:1; /**< bit: 5 flag to identify mesh child */ - //uint32_t reserved:26; /**< bit: 6..31 reserved */ - uint32 bitmask = 3; -} - -message wifi_sta_list { - repeated wifi_sta_info sta = 1; /**< station list */ - int32 num = 2; /**< number of stations in the list (other entries are invalid) */ -} - -//message vendor_ie_data { -// uint32 element_id = 1; /**< Should be set to WIFI_VENDOR_IE_ELEMENT_ID (0xDD) */ -// uint32 length = 2; /**< Length of all bytes in the element data following this field. Minimum 4. */ -// bytes vendor_oui = 3; /**< Vendor identifier (OUI). 3 chars */ -// uint32 vendor_oui_type = 4; /**< Vendor-specific OUI type. */ -// bytes payload = 5; /**< Payload. Length is equal to value in 'length' field, minus 4. Note: Variable size */ -//} - -message wifi_pkt_rx_ctrl { - int32 rssi = 1; /**< 8bits Received Signal Strength Indicator(RSSI) of packet. unit: dBm */ - uint32 rate = 2; /**< 5bits PHY rate encoding of the packet. Only valid for non HT(11bg) packet */ - //uint32 :1; /**< reserved */ - uint32 sig_mode = 3; /**< 2bits 0: non HT(11bg) packet; 1: HT(11n) packet; 3: VHT(11ac) packet */ - //uint32 :16; /**< reserved */ - uint32 mcs = 4; /**< 7bits Modulation Coding Scheme. If is HT(11n) packet, shows the modulation, range from 0 to 76(MSC0 ~ MCS76) */ - uint32 cwb = 5; /**< 1bit Channel Bandwidth of the packet. 0: 20MHz; 1: 40MHz */ - //uint32 :16; /**< reserved */ - uint32 smoothing = 6; /**< 1bit reserved */ - uint32 not_sounding = 7; /**< 1bit reserved */ - //uint32 :1; /**< reserved */ - uint32 aggregation = 8; /**< 1bit Aggregation. 0: MPDU packet; 1: AMPDU packet */ - uint32 stbc = 9; /**< 2bits Space Time Block Code(STBC). 0: non STBC packet; 1: STBC packet */ - uint32 fec_coding = 10; /**< 1bit Flag is set for 11n packets which are LDPC */ - uint32 sgi = 11; /**< 1bit Short Guide Interval(SGI). 0: Long GI; 1: Short GI */ - int32 noise_floor = 12; /**< 8bits noise floor of Radio Frequency Module(RF). unit: dBm*/ - uint32 ampdu_cnt = 13; /**< 8bits ampdu cnt */ - uint32 channel = 14; /**< 4bits primary channel on which this packet is received */ - uint32 secondary_channel = 15; /**< 4bits secondary channel on which this packet is received. 0: none; 1: above; 2: below */ - //uint32 :8; /**< reserved */ - uint32 timestamp = 16; /**< 32bit timestamp. The local time when this packet is received. It is precise only if modem sleep or light sleep is not enabled. unit: microsecond */ - //uint32 :32; /**< reserved */ - //unsigned :32; /**< reserved */ - //unsigned :31; /**< reserved */ - uint32 ant = 17; /**< 1bit antenna number from which this packet is received. 0: WiFi antenna 0; 1: WiFi antenna 1 */ - uint32 sig_len = 18; /**< 12bits length of packet including Frame Check Sequence(FCS) */ - //unsigned :12; /**< reserved */ - uint32 rx_state = 19; /**< 8bits state of the packet. 0: no error; others: error numbers which are not public */ -} - -message wifi_promiscuous_pkt { - wifi_pkt_rx_ctrl rx_ctrl = 1; /**< metadata header */ - bytes payload = 2; /**< Note: variable length. Data or management payload. Length of payload is described by rx_ctrl.sig_len. Type of content determined by packet type argument of callback. */ -} - -message wifi_promiscuous_filter { - uint32 filter_mask = 1; /**< OR of one or more filter values WIFI_PROMIS_FILTER_* */ -} - -message wifi_csi_config { - bool lltf_en = 1; /**< enable to receive legacy long training field(lltf) data. Default enabled */ - bool htltf_en = 2; /**< enable to receive HT long training field(htltf) data. Default enabled */ - bool stbc_htltf2_en = 3; /**< enable to receive space time block code HT long training field(stbc-htltf2) data. Default enabled */ - bool ltf_merge_en = 4; /**< enable to generate htlft data by averaging lltf and ht_ltf data when receiving HT packet. Otherwise, use ht_ltf data directly. Default enabled */ - bool channel_filter_en = 5; /**< enable to turn on channel filter to smooth adjacent sub-carrier. Disable it to keep independence of adjacent sub-carrier. Default enabled */ - bool manu_scale = 6; /**< manually scale the CSI data by left shifting or automatically scale the CSI data. - If set true, please set the shift bits. false: automatically. true: manually. Default false */ - uint32 shift = 7; /**< manually left shift bits of the scale of the CSI data. The range of the left shift bits is 0~15 */ -} - -message wifi_csi_info { - wifi_pkt_rx_ctrl rx_ctrl = 1; /**< received packet radio metadata header of the CSI data */ - bytes mac = 2; /**< 6bits source MAC address of the CSI data */ - bytes dmac = 3; /**< 6bits destination MAC address of the CSI data */ - bool first_word_invalid = 4; /**< first four bytes of the CSI data is invalid or not */ - bytes buf = 5; /**< Note: variable length. buffer of CSI data */ - uint32 len = 6; /**< length of CSI data */ -} - -message wifi_ant_gpio { - uint32 gpio_select = 1; /**< 1bit Whether this GPIO is connected to external antenna switch */ - uint32 gpio_num = 2; /**< 7bits The GPIO number that connects to external antenna switch */ -} - -message wifi_ant_gpio_config { - repeated wifi_ant_gpio gpio_cfgs = 1; /**< The configurations of GPIOs that connect to external antenna switch */ -} - -message wifi_ant_config { - int32 rx_ant_mode = 1; /**< WiFi antenna mode for receiving */ - int32 rx_ant_default = 2; /**< Default antenna mode for receiving, it's ignored if rx_ant_mode is not WIFI_ANT_MODE_AUTO */ - int32 tx_ant_mode = 3; /**< WiFi antenna mode for transmission, it can be set to WIFI_ANT_MODE_AUTO only if rx_ant_mode is set to WIFI_ANT_MODE_AUTO */ - uint32 enabled_ant0 = 4; /**< 4bits Index (in antenna GPIO configuration) of enabled WIFI_ANT_MODE_ANT0 */ - uint32 enabled_ant1 = 5; /**< 4bits Index (in antenna GPIO configuration) of enabled WIFI_ANT_MODE_ANT1 */ -} - -message wifi_action_tx_req { - int32 ifx = 1; /**< WiFi interface to send request to */ - bytes dest_mac = 2; /**< 6bits Destination MAC address */ - bool no_ack = 3; /**< Indicates no ack required */ - //TODO - //wifi_action_rx_cb_t rx_cb; /**< Rx Callback to receive any response */ - uint32 data_len = 4; /**< Length of the appended Data */ - bytes data = 5; /**< note: variable length. Appended Data payload */ -} - -message wifi_ftm_initiator_cfg { - bytes resp_mac = 1; /**< 6bits MAC address of the FTM Responder */ - uint32 channel = 2; /**< Primary channel of the FTM Responder */ - uint32 frm_count = 3; /**< No. of FTM frames requested in terms of 4 or 8 bursts (allowed values - 0(No pref), 16, 24, 32, 64) */ - uint32 burst_period = 4; /**< Requested time period between consecutive FTM bursts in 100's of milliseconds (0 - No pref) */ -} - -message wifi_event_sta_scan_done { - uint32 status = 1; /**< status of scanning APs: 0 — success, 1 - failure */ - uint32 number = 2; /**< number of scan results */ - uint32 scan_id = 3; /**< scan sequence number, used for block scan */ -} - -message wifi_event_sta_connected { - bytes ssid = 1; /**< 32bytes SSID of connected AP */ - uint32 ssid_len = 2; /**< SSID length of connected AP */ - bytes bssid = 3; /**< 6bytes BSSID of connected AP*/ - uint32 channel = 4; /**< channel of connected AP*/ - int32 authmode = 5; /**< authentication mode used by AP*/ - int32 aid = 6; /**< authentication id assigned by the connected AP*/ -} - -message wifi_event_sta_disconnected { - bytes ssid = 1; /**< SSID of disconnected AP */ - uint32 ssid_len = 2; /**< SSID length of disconnected AP */ - bytes bssid = 3; /**< BSSID of disconnected AP */ - uint32 reason = 4; /**< reason of disconnection */ - int32 rssi = 5; /**< rssi of disconnection */ -} - -message wifi_event_sta_authmode_change { - int32 old_mode = 1; /**< the old auth mode of AP */ - int32 new_mode = 2; /**< the new auth mode of AP */ -} - -message wifi_event_sta_wps_er_pin { - bytes pin_code = 1; /**< 8bytes PIN code of station in enrollee mode */ -} - -message ap_cred { - bytes ssid = 1; /**< 32bytes SSID of AP */ - bytes passphrase = 2; /**< 64bytes Passphrase for the AP */ -} - -message wifi_event_sta_wps_er_success { - uint32 ap_cred_cnt = 1; /**< Number of AP credentials received */ - repeated ap_cred ap_creds = 2; /**< All AP credentials received from WPS handshake */ -} - -/** Argument structure for WIFI_EVENT_AP_PROBEREQRECVED event */ -message wifi_event_ap_probe_req_rx { - int32 rssi = 1; /**< Received probe request signal strength */ - uint32 mac = 2; /**< MAC address of the station which send probe request */ -} - -/** Argument structure for WIFI_EVENT_STA_BSS_RSSI_LOW event */ -message wifi_event_bss_rssi_low { - int32 rssi = 1; /**< RSSI value of bss */ -} - -message wifi_ftm_report_entry { - uint32 dlog_token = 1; /* *< Dialog Token of the FTM frame */ - int32 rssi = 2; /* *< RSSI of the FTM frame received */ - uint32 rtt = 3; /* *< Round Trip Time in pSec with a peer */ - /* TODO: uint32 is supported by proto? */ - uint64 t1 = 4; /* *< Time of departure of FTM frame from FTM Responder in pSec */ - uint64 t2 = 5; /* *< Time of arrival of FTM frame at FTM Initiator in pSec */ - uint64 t3 = 6; /* *< Time of departure of ACK from FTM Initiator in pSec */ - uint64 t4 = 7; /* *< Time of arrival of ACK at FTM Responder in pSec */ -} - -message wifi_event_ftm_report { - bytes peer_mac = 1; /* *< 6bytes MAC address of the FTM Peer */ - int32 status = 2; /* *< Status of the FTM operation */ - uint32 rtt_raw = 3; /* *< Raw average Round-Trip-Time with peer in Nano-Seconds */ - uint32 rtt_est = 4; /* *< Estimated Round-Trip-Time with peer in Nano-Seconds */ - uint32 dist_est = 5; /* *< Estimated one-way distance in Centi-Meters */ - repeated wifi_ftm_report_entry ftm_report_data = 6; /* *< Note var len Pointer to FTM Report with multiple entries, should be freed after use */ - uint32 ftm_report_num_entries = 7; /* *< Number of entries in the FTM Report data */ -} - -message wifi_event_action_tx_status { - int32 ifx = 1; /**< WiFi interface to send request to */ - uint32 context = 2; /**< Context to identify the request */ - bytes da = 3; /**< 6bytes Destination MAC address */ - uint32 status = 4; /**< Status of the operation */ -} - -message wifi_event_roc_done { - uint32 context = 1; /**< Context to identify the request */ -} - -message wifi_event_ap_wps_rg_pin { - bytes pin_code = 1; /**< 8bytes PIN code of station in enrollee mode */ -} - -message wifi_event_ap_wps_rg_fail_reason { - int32 reason = 1; /**< WPS failure reason wps_fail_reason_t */ - bytes peer_macaddr = 2; /**< 6bytes Enrollee mac address */ -} - -message wifi_event_ap_wps_rg_success { - bytes peer_macaddr = 1; /**< 6bytes Enrollee mac address */ -} - -message wifi_protocols { - uint32 ghz_2g = 1; /**< Represents 2.4 GHz protocol, support 802.11b or 802.11g or 802.11n or 802.11ax or LR mode */ - uint32 ghz_5g = 2; /**< Represents 5 GHz protocol, support 802.11a or 802.11n or 802.11ac or 802.11ax */ -} - -message wifi_bandwidths { - uint32 ghz_2g = 1; /* Represents 2.4 GHz bandwidth */ - uint32 ghz_5g = 2; /* Represents 5 GHz bandwidth */ -} - -message wifi_itwt_setup_config { - uint32 setup_cmd = 1; - // uint16_t trigger : 1; /**< 1: a trigger-enabled individual TWT, 0: a non-trigger-enabled individual TWT */ - // uint16_t flow_type : 1; /**< 0: an announced individual TWT, 1: an unannounced individual TWT */ - // uint16_t flow_id : 3; /**< When set up an individual TWT agreement, the flow id will be assigned by AP after a successful agreement setup. - // flow_id could be specified to a value in the range of [0, 7], but it might be changed by AP in the response. - // When change TWT parameters of the existing TWT agreement, flow_id should be an existing one. The value range is [0, 7]. */ - // uint16_t wake_invl_expn : 5; /**< Individual TWT Wake Interval Exponent. The value range is [0, 31]. */ - // uint16_t wake_duration_unit : 1; /**< Individual TWT Wake duration unit, 0: 256us 1: TU (TU = 1024us)*/ - // uint16_t reserved : 5; /**< bit: 11.15 reserved */ - uint32 bitmask_1 = 2; - uint32 min_wake_dura = 3; - uint32 wake_invl_mant = 4; - uint32 twt_id = 5; - uint32 timeout_time_ms = 6; -} - -message wifi_twt_config { - bool post_wakeup_event = 1; /**< post twt wakeup event */ - bool twt_enable_keep_alive = 2; /**< twt enable send qos null to keep alive */ -} - -/* internal supporting structures for Rpc */ -//message ScanResult { -// bytes bssid = 1; -// bytes ssid = 2; -// uint32 chnl = 3; -// int32 rssi = 4; -// int32 sec_prot = 5; -//} - -message ConnectedSTAList { - bytes mac = 1; - int32 rssi = 2; -} - -message eap_fast_config { - int32 fast_provisioning = 1; // Enable or disable Fast Provisioning in EAP-FAST (0 = disabled, 1 = enabled) - int32 fast_max_pac_list_len = 2; // Maximum length of the PAC (Protected Access Credential) list - bool fast_pac_format_binary = 3; // Set to true for binary format PAC, false for ASCII format PAC -} - -/* Control path structures */ -/** Req/Resp structure **/ -message Rpc_Req_GetMacAddress { - int32 mode = 1; -} - -message Rpc_Resp_GetMacAddress { - bytes mac = 1; - int32 resp = 2; -} - -message Rpc_Req_GetMode { -} - -message Rpc_Resp_GetMode { - int32 mode = 1; - int32 resp = 2; -} - -message Rpc_Req_SetMode { - int32 mode = 1; -} - -message Rpc_Resp_SetMode { - int32 resp = 1; -} - -message Rpc_Req_GetPs { -} - -message Rpc_Resp_GetPs { - int32 resp = 1; - int32 type = 2; -} - -message Rpc_Req_SetPs { - int32 type = 1; -} - -message Rpc_Resp_SetPs { - int32 resp = 1; -} - -message Rpc_Req_SetMacAddress { - bytes mac = 1; - int32 mode = 2; -} - -message Rpc_Resp_SetMacAddress { - int32 resp = 1; -} - -message Rpc_Req_OTABegin { -} - -message Rpc_Resp_OTABegin { - int32 resp = 1; -} - -message Rpc_Req_OTAWrite { - bytes ota_data = 1; -} - -message Rpc_Resp_OTAWrite { - int32 resp = 1; -} - -message Rpc_Req_OTAEnd { -} - -message Rpc_Resp_OTAEnd { - int32 resp = 1; -} - -message Rpc_Req_OTAActivate { -} - -message Rpc_Resp_OTAActivate { - int32 resp = 1; -} - -message Rpc_Req_WifiSetMaxTxPower { - int32 power = 1; -} - -message Rpc_Resp_WifiSetMaxTxPower { - int32 resp = 1; -} - -message Rpc_Req_WifiGetMaxTxPower { -} - -message Rpc_Resp_WifiGetMaxTxPower { - int32 power = 1; - int32 resp = 2; -} - -message Rpc_Req_ConfigHeartbeat { - bool enable = 1; - int32 duration = 2; -} - -message Rpc_Resp_ConfigHeartbeat { - int32 resp = 1; -} - -message Rpc_Req_WifiInit { - wifi_init_config cfg = 1; -} - -message Rpc_Resp_WifiInit { - int32 resp = 1; -} - -message Rpc_Req_WifiDeinit { -} - -message Rpc_Resp_WifiDeinit { - int32 resp = 1; -} - -message Rpc_Req_WifiSetConfig { - int32 iface = 1; - wifi_config cfg = 2; -} - -message Rpc_Resp_WifiSetConfig { - int32 resp = 1; -} - -message Rpc_Req_WifiGetConfig { - int32 iface = 1; -} - -message Rpc_Resp_WifiGetConfig { - int32 resp = 1; - int32 iface = 2; - wifi_config cfg = 3; -} - -message Rpc_Req_WifiConnect { -} - -message Rpc_Resp_WifiConnect { - int32 resp = 1; -} - -message Rpc_Req_WifiDisconnect { -} - -message Rpc_Resp_WifiDisconnect { - int32 resp = 1; -} - -message Rpc_Req_WifiStart { -} - -message Rpc_Resp_WifiStart { - int32 resp = 1; -} - -message Rpc_Req_WifiStop { -} - -message Rpc_Resp_WifiStop { - int32 resp = 1; -} - -message Rpc_Req_WifiScanStart { - wifi_scan_config config = 1; - bool block = 2; - int32 config_set = 3; -} - -message Rpc_Resp_WifiScanStart { - int32 resp = 1; -} - -message Rpc_Req_WifiScanStop { -} - -message Rpc_Resp_WifiScanStop { - int32 resp = 1; -} - -message Rpc_Req_WifiScanGetApNum { -} - -message Rpc_Resp_WifiScanGetApNum { - int32 resp = 1; - int32 number = 2; -} - -message Rpc_Req_WifiScanGetApRecords { - int32 number = 1; -} - -message Rpc_Resp_WifiScanGetApRecords { - int32 resp = 1; - int32 number = 2; - repeated wifi_ap_record ap_records = 3; -} - -message Rpc_Req_WifiScanGetApRecord { -} - -message Rpc_Resp_WifiScanGetApRecord { - int32 resp = 1; - wifi_ap_record ap_record = 2; -} - -message Rpc_Req_WifiClearApList { -} - -message Rpc_Resp_WifiClearApList { - int32 resp = 1; -} - -message Rpc_Req_WifiRestore { -} - -message Rpc_Resp_WifiRestore { - int32 resp = 1; -} - -message Rpc_Req_WifiClearFastConnect{ -} - -message Rpc_Resp_WifiClearFastConnect { - int32 resp = 1; -} - -message Rpc_Req_WifiDeauthSta { - int32 aid = 1; -} - -message Rpc_Resp_WifiDeauthSta { - int32 resp = 1; - int32 aid = 2; -} - -message Rpc_Req_WifiStaGetApInfo { -} - -message Rpc_Resp_WifiStaGetApInfo { - int32 resp = 1; - wifi_ap_record ap_record = 2; -} - -message Rpc_Req_WifiSetProtocol { - int32 ifx = 1; - int32 protocol_bitmap = 2; -} - -message Rpc_Resp_WifiSetProtocol { - int32 resp = 1; -} - -message Rpc_Req_WifiGetProtocol { - int32 ifx = 1; -} - -message Rpc_Resp_WifiGetProtocol { - int32 resp = 1; - int32 protocol_bitmap = 2; -} - -message Rpc_Req_WifiSetBandwidth { - int32 ifx = 1; - int32 bw = 2; -} - -message Rpc_Resp_WifiSetBandwidth { - int32 resp = 1; -} - -message Rpc_Req_WifiGetBandwidth { - int32 ifx = 1; -} - -message Rpc_Resp_WifiGetBandwidth { - int32 resp = 1; - int32 bw = 2; -} - -message Rpc_Req_WifiSetChannel { - int32 primary = 1; - int32 second = 2; -} - -message Rpc_Resp_WifiSetChannel { - int32 resp = 1; -} - -message Rpc_Req_WifiGetChannel { -} - -message Rpc_Resp_WifiGetChannel { - int32 resp = 1; - int32 primary = 2; - int32 second = 3; -} - -message Rpc_Req_WifiSetStorage { - int32 storage = 1; -} - -message Rpc_Resp_WifiSetStorage { - int32 resp = 1; -} - -message Rpc_Req_WifiSetCountryCode { - bytes country = 1; - bool ieee80211d_enabled = 2; -} - -message Rpc_Resp_WifiSetCountryCode { - int32 resp = 1; -} - -message Rpc_Req_WifiGetCountryCode { -} - -message Rpc_Resp_WifiGetCountryCode { - int32 resp = 1; - bytes country = 2; -} - -message Rpc_Req_WifiSetCountry { - wifi_country country = 1; -} - -message Rpc_Resp_WifiSetCountry { - int32 resp = 1; -} - -message Rpc_Req_WifiGetCountry { -} - -message Rpc_Resp_WifiGetCountry { - int32 resp = 1; - wifi_country country = 2; -} - -message Rpc_Req_WifiApGetStaList { -} - -message Rpc_Resp_WifiApGetStaList { - int32 resp = 1; - wifi_sta_list sta_list = 2; -} - -message Rpc_Req_WifiApGetStaAid { - bytes mac = 1; -} - -message Rpc_Req_WifiStaGetNegotiatedPhymode { -} - -message Rpc_Resp_WifiStaGetNegotiatedPhymode { - int32 resp = 1; - uint32 phymode = 2; -} - -message Rpc_Resp_WifiApGetStaAid { - int32 resp = 1; - uint32 aid = 2; -} - -message Rpc_Req_WifiStaGetRssi { -} - -message Rpc_Resp_WifiStaGetRssi { - int32 resp = 1; - int32 rssi = 2; -} - -message Rpc_Req_WifiStaGetAid { -} - -message Rpc_Resp_WifiStaGetAid { - int32 resp = 1; - uint32 aid = 2; -} - -message Rpc_Req_WifiSetProtocols { - int32 ifx = 1; - wifi_protocols protocols = 2; -} - -message Rpc_Resp_WifiSetProtocols { - int32 resp = 1; - uint32 ifx = 2; -} - -message Rpc_Req_WifiGetProtocols { - int32 ifx = 1; -} - -message Rpc_Resp_WifiGetProtocols { - int32 resp = 1; - int32 ifx = 2; - wifi_protocols protocols = 3; -} - -message Rpc_Req_WifiSetBandwidths { - int32 ifx = 1; - wifi_bandwidths bandwidths = 2; -} - -message Rpc_Resp_WifiSetBandwidths { - int32 resp = 1; - int32 ifx = 2; -} - -message Rpc_Req_WifiGetBandwidths { - int32 ifx = 1; -} - -message Rpc_Resp_WifiGetBandwidths { - int32 resp = 1; - int32 ifx = 2; - wifi_bandwidths bandwidths = 3; -} - -message Rpc_Req_WifiSetBand { - uint32 band = 1; -} - -message Rpc_Resp_WifiSetBand { - int32 resp = 1; -} - -message Rpc_Req_WifiGetBand { -} - -message Rpc_Resp_WifiGetBand { - int32 resp = 1; - uint32 band = 2; -} - -message Rpc_Req_WifiSetBandMode { - uint32 bandmode = 1; -} - -message Rpc_Resp_WifiSetBandMode { - int32 resp = 1; -} - -message Rpc_Req_WifiGetBandMode { -} - -message Rpc_Resp_WifiGetBandMode { - int32 resp = 1; - uint32 bandmode = 2; -} - -message Rpc_Req_WifiSetInactiveTime { - uint32 ifx = 1; - uint32 sec = 2; -} - -message Rpc_Resp_WifiSetInactiveTime { - int32 resp = 1; -} - -message Rpc_Req_WifiGetInactiveTime { - uint32 ifx = 1; -} - -message Rpc_Resp_WifiGetInactiveTime { - int32 resp = 1; - uint32 sec = 2; -} - -message Rpc_Req_WifiStaItwtSetup { - wifi_itwt_setup_config setup_config = 1; -} - -message Rpc_Resp_WifiStaItwtSetup { - int32 resp = 1; -} - -message Rpc_Req_WifiStaItwtTeardown { - int32 flow_id = 1; -} - -message Rpc_Resp_WifiStaItwtTeardown { - int32 resp = 1; -} - -message Rpc_Req_WifiStaItwtSuspend { - int32 flow_id = 1; - int32 suspend_time_ms = 2; -} - -message Rpc_Resp_WifiStaItwtSuspend { - int32 resp = 1; -} - -message Rpc_Req_WifiStaItwtGetFlowIdStatus { -} - -message Rpc_Resp_WifiStaItwtGetFlowIdStatus { - int32 resp = 1; - int32 flow_id_bitmap = 2; -} - -message Rpc_Req_WifiStaItwtSendProbeReq { - int32 timeout_ms = 1; -} - -message Rpc_Resp_WifiStaItwtSendProbeReq { - int32 resp = 1; -} - -message Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset { - int32 offset_us = 1; -} - -message Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset { - int32 resp = 1; -} - -message Rpc_Req_WifiStaTwtConfig { - wifi_twt_config config = 1; -} - -message Rpc_Resp_WifiStaTwtConfig { - int32 resp = 1; -} - -message Rpc_Req_GetCoprocessorFwVersion { -} - -message Rpc_Resp_GetCoprocessorFwVersion { - int32 resp = 1; - uint32 major1 = 2; - uint32 minor1 = 3; - uint32 patch1 = 4; -} - -message Rpc_Req_SetDhcpDnsStatus { - int32 iface = 1; - int32 net_link_up = 2; - - int32 dhcp_up = 3; - bytes dhcp_ip = 4; - bytes dhcp_nm = 5; - bytes dhcp_gw = 6; - - int32 dns_up = 7; - bytes dns_ip = 8; - int32 dns_type = 9; -} - -message Rpc_Resp_SetDhcpDnsStatus { - int32 resp = 1; -} - -message Rpc_Req_GetDhcpDnsStatus { - int32 iface = 1; -} - -message Rpc_Resp_GetDhcpDnsStatus { - int32 iface = 1; - int32 net_link_up = 2; - - int32 dhcp_up = 3; - bytes dhcp_ip = 4; - bytes dhcp_nm = 5; - bytes dhcp_gw = 6; - - int32 dns_up = 7; - bytes dns_ip = 8; - int32 dns_type = 9; - int32 resp = 10; -} - -message Rpc_Req_SuppDppInit { - bool cb = 1; // enables sending of Event_SuppDpp to host via callback -} - -message Rpc_Resp_SuppDppInit { - int32 resp = 1; -} - -message Rpc_Req_SuppDppDeinit { -} - -message Rpc_Resp_SuppDppDeinit { - int32 resp = 1; -} - -message Rpc_Req_SuppDppBootstrapGen { - bytes chan_list = 1; // DPP Bootstrapping listen channels separated by commas - int32 type = 2; // Bootstrap method type, only QR Code method is supported for now. - bytes key = 3; // (Optional) 32 byte Raw Private Key for generating a Bootstrapping Public Key - bytes info = 4; // (Optional) Ancillary Device Information like Serial Number -} - -message Rpc_Resp_SuppDppBootstrapGen { - int32 resp = 1; -} - -message Rpc_Req_SuppDppStartListen { -} - -message Rpc_Resp_SuppDppStartListen { - int32 resp = 1; -} - -message Rpc_Req_SuppDppStopListen { -} - -message Rpc_Resp_SuppDppStopListen { - int32 resp = 1; -} - -message Rpc_Req_IfaceMacAddrSetGet { - bool set = 1; - uint32 type = 2; - bytes mac = 3; // only valid for set -}; - -message Rpc_Resp_IfaceMacAddrSetGet { - int32 resp = 1; - bool set = 2; - uint32 type = 3; - bytes mac = 4; -}; - -message Rpc_Req_IfaceMacAddrLenGet { - uint32 type = 1; -}; - -message Rpc_Resp_IfaceMacAddrLenGet { - int32 resp = 1; - uint32 type = 2; - uint32 len = 3; -}; - -message Rpc_Req_FeatureControl { - RpcFeature feature = 1; - RpcFeatureCommand command = 2; - RpcFeatureOption option = 3; -}; - -message Rpc_Resp_FeatureControl { - int32 resp = 1; - RpcFeature feature = 2; - RpcFeatureCommand command = 3; - RpcFeatureOption option = 4; -}; - -/** Event structure **/ - -message Rpc_Event_WifiEventNoArgs { - int32 resp = 1; - int32 event_id = 2; -} - -message Rpc_Event_ESPInit { - bytes init_data = 1; -} - -message Rpc_Event_Heartbeat { - int32 hb_num = 1; -} - -message Rpc_Event_AP_StaDisconnected { - int32 resp = 1; - bytes mac = 2; - uint32 aid = 3; - bool is_mesh_child = 4; - uint32 reason = 5; -} - -message Rpc_Event_AP_StaConnected { - int32 resp = 1; - bytes mac = 2; - uint32 aid = 3; - bool is_mesh_child = 4; -} - -message Rpc_Event_StaScanDone { - int32 resp = 1; - wifi_event_sta_scan_done scan_done = 2; -} - -message Rpc_Event_StaConnected { - int32 resp = 1; - wifi_event_sta_connected sta_connected = 2; -} - -message Rpc_Event_StaDisconnected { - int32 resp = 1; - wifi_event_sta_disconnected sta_disconnected = 2; -} - -message Rpc_Event_DhcpDnsStatus { - int32 iface = 1; - int32 net_link_up = 2; - - int32 dhcp_up = 3; - bytes dhcp_ip = 4; - bytes dhcp_nm = 5; - bytes dhcp_gw = 6; - - int32 dns_up = 7; - bytes dns_ip = 8; - int32 dns_type = 9; - int32 resp = 10; -} - -message Rpc_Event_StaItwtSetup { - int32 resp = 1; - wifi_itwt_setup_config config = 2; - int32 status = 3; - uint32 reason = 4; - uint64 target_wake_time = 5; -} - -message Rpc_Event_StaItwtTeardown { - int32 resp = 1; - uint32 flow_id = 2; - uint32 status = 3; -} - -message Rpc_Event_StaItwtSuspend { - int32 resp = 1; - int32 status = 2; - uint32 flow_id_bitmap = 3; - repeated uint32 actual_suspend_time_ms = 4; // represents uint32_t actual_suspend_time_ms[] -} - -message Rpc_Event_StaItwtProbe { - int32 resp = 1; - int32 status = 2; - uint32 reason = 3; -} - -message Rpc_Req_WifiStaEnterpriseEnable { -} - -message Rpc_Resp_WifiStaEnterpriseEnable { - int32 resp = 1; -} - -message Rpc_Req_WifiStaEnterpriseDisable { -} - -message Rpc_Resp_WifiStaEnterpriseDisable { - int32 resp = 1; -} - -message Rpc_Req_EapSetIdentity { - bytes identity = 1; - int32 len = 2; -} - -message Rpc_Resp_EapSetIdentity { - int32 resp = 1; -} - -message Rpc_Req_EapClearIdentity { -} - -message Rpc_Resp_EapClearIdentity { - int32 resp = 1; -} - -message Rpc_Req_EapSetUsername { - bytes username = 1; - int32 len = 2; -} - -message Rpc_Resp_EapSetUsername { - int32 resp = 1; -} - -message Rpc_Req_EapClearUsername { -} - -message Rpc_Resp_EapClearUsername { - int32 resp = 1; -} - -message Rpc_Req_EapSetPassword { - bytes password = 1; - int32 len = 2; -} - -message Rpc_Resp_EapSetPassword { - int32 resp = 1; -} - -message Rpc_Req_EapClearPassword { -} - -message Rpc_Resp_EapClearPassword { - int32 resp = 1; -} - -message Rpc_Req_EapSetNewPassword { - bytes new_password = 1; - int32 len = 2; -} - -message Rpc_Resp_EapSetNewPassword { - int32 resp = 1; -} - -message Rpc_Req_EapClearNewPassword { -} - -message Rpc_Resp_EapClearNewPassword { - int32 resp = 1; -} - -message Rpc_Req_EapSetCaCert { - bytes ca_cert = 1; - int32 ca_cert_len = 2; -} - -message Rpc_Resp_EapSetCaCert { - int32 resp = 1; -} - -message Rpc_Req_EapClearCaCert { -} - -message Rpc_Resp_EapClearCaCert { - int32 resp = 1; -} - -message Rpc_Req_EapSetCertificateAndKey { - bytes client_cert = 1; - int32 client_cert_len = 2; - bytes private_key = 3; - int32 private_key_len = 4; - bytes private_key_password = 5; - int32 private_key_passwd_len = 6; -} - -message Rpc_Resp_EapSetCertificateAndKey { - int32 resp = 1; -} - -message Rpc_Req_EapClearCertificateAndKey { -} - -message Rpc_Resp_EapClearCertificateAndKey { - int32 resp = 1; -} - -message Rpc_Req_EapSetDisableTimeCheck { - bool disable = 1; -} - -message Rpc_Resp_EapSetDisableTimeCheck { - int32 resp = 1; -} - -message Rpc_Req_EapGetDisableTimeCheck { -} - -message Rpc_Resp_EapGetDisableTimeCheck { - int32 resp = 1; - bool disable = 2; -} - -message Rpc_Req_EapSetTtlsPhase2Method { - int32 type = 1; -} - -message Rpc_Resp_EapSetTtlsPhase2Method { - int32 resp = 1; -} - -message Rpc_Req_EapSetSuiteb192bitCertification { - bool enable = 1; -} - -message Rpc_Resp_EapSetSuiteb192bitCertification { - int32 resp = 1; -} - -message Rpc_Req_EapSetPacFile { - bytes pac_file = 1; - int32 pac_file_len = 2; -} - -message Rpc_Resp_EapSetPacFile { - int32 resp = 1; -} - -message Rpc_Req_EapSetFastParams { - eap_fast_config eap_fast_config = 1; -} - -message Rpc_Resp_EapSetFastParams { - int32 resp = 1; -} - -message Rpc_Req_EapUseDefaultCertBundle { - bool use_default_bundle = 1; -} - -message Rpc_Resp_EapUseDefaultCertBundle { - int32 resp = 1; -} - -message Rpc_Req_WifiSetOkcSupport { - bool enable = 1; -} - -message Rpc_Resp_WifiSetOkcSupport { - int32 resp = 1; -} - -message Rpc_Req_EapSetDomainName { - bytes domain_name = 1; -} - -message Rpc_Resp_EapSetDomainName { - int32 resp = 1; -} - -message Rpc_Req_EapSetEapMethods { - int32 methods = 1; -} - -message Rpc_Resp_EapSetEapMethods { - int32 resp = 1; -} - -message Rpc_Event_SuppDppUriReady { - int32 resp = 1; - bytes qrcode = 2; // QR Code to configure the enrollee -} - -message Rpc_Event_SuppDppCfgRecvd { - int32 resp = 1; - wifi_config cfg = 2; -} - -message Rpc_Event_SuppDppFail { - int32 resp = 1; - int32 reason = 2; // failure reason -} - -message Rpc_Event_WifiDppUriReady { - int32 resp = 1; - bytes qrcode = 2; // QR Code to configure the enrollee -} - -message Rpc_Event_WifiDppCfgRecvd { - int32 resp = 1; - wifi_config cfg = 2; -} - -message Rpc_Event_WifiDppFail { - int32 resp = 1; - int32 reason = 2; // failure reason -} - -enum Rpc_GpioMode { - GPIO_MODE_DISABLE = 0; - GPIO_MODE_INPUT = 1; - GPIO_MODE_OUTPUT = 2; - GPIO_MODE_INPUT_OUTPUT = 3; -} - -enum Rpc_GpioPullMode { - GPIO_PULL_NONE = 0; - GPIO_PULL_UP = 1; - GPIO_PULL_DOWN = 2; -} - -message Rpc_GpioConfig { - uint64 pin_bit_mask = 1; - Rpc_GpioMode mode = 2; - bool pull_up_en = 3; - bool pull_down_en = 4; - int32 intr_type = 5; -} - -message Rpc_Req_GpioConfig { - Rpc_GpioConfig config = 1; -} -message Rpc_Resp_GpioConfig { - int32 resp = 1; -} - -message Rpc_Req_GpioReset { - int32 gpio_num = 1; -} -message Rpc_Resp_GpioResetPin { - int32 resp = 1; -} - -message Rpc_Req_GpioSetLevel { - int32 gpio_num = 1; - uint32 level = 2; // 0 or 1 -} -message Rpc_Resp_GpioSetLevel { - int32 resp = 1; -} - -message Rpc_Req_GpioGetLevel { - int32 gpio_num = 1; -} -message Rpc_Resp_GpioGetLevel { - int32 resp = 1; - uint32 level = 2; -} - -message Rpc_Req_GpioSetDirection { - int32 gpio_num = 1; - Rpc_GpioMode mode = 2; -} -message Rpc_Resp_GpioSetDirection { - int32 resp = 1; -} - -message Rpc_Req_GpioInputEnable { - int32 gpio_num = 1; -} -message Rpc_Resp_GpioInputEnable { - int32 resp = 1; -} - -message Rpc_Req_GpioSetPullMode { - int32 gpio_num = 1; - Rpc_GpioPullMode pull = 2; -} -message Rpc_Resp_GpioSetPullMode { - int32 resp = 1; -} - -message Rpc { - /* msg_type could be req, resp or Event */ - RpcType msg_type = 1; - - /* msg id */ - RpcId msg_id = 2; - - /* UID of message */ - uint32 uid = 3; - - /* union of all msg ids */ - oneof payload { - /** Requests **/ - Rpc_Req_GetMacAddress req_get_mac_address = 257; - Rpc_Req_SetMacAddress req_set_mac_address = 258; - Rpc_Req_GetMode req_get_wifi_mode = 259; - Rpc_Req_SetMode req_set_wifi_mode = 260; - - Rpc_Req_SuppDppInit req_supp_dpp_init = 261; - Rpc_Req_SuppDppDeinit req_supp_dpp_deinit = 262; - Rpc_Req_SuppDppBootstrapGen req_supp_dpp_bootstrap_gen = 263; - Rpc_Req_SuppDppStartListen req_supp_dpp_start_listen = 264; - Rpc_Req_SuppDppStopListen req_supp_dpp_stop_listen = 265; - - //Rpc_Req_StartSoftAP req_start_softap = 267; - //Rpc_Req_SoftAPConnectedSTA req_softap_connected_stas_list = 268; - //Rpc_Req_GetStatus req_stop_softap = 269; - Rpc_Req_OTAActivate req_ota_activate = 266; - - Rpc_Req_SetPs req_wifi_set_ps = 270; - Rpc_Req_GetPs req_wifi_get_ps = 271; - - Rpc_Req_OTABegin req_ota_begin = 272; - Rpc_Req_OTAWrite req_ota_write = 273; - Rpc_Req_OTAEnd req_ota_end = 274; - - Rpc_Req_WifiSetMaxTxPower req_set_wifi_max_tx_power = 275; - Rpc_Req_WifiGetMaxTxPower req_get_wifi_max_tx_power = 276; - Rpc_Req_ConfigHeartbeat req_config_heartbeat = 277; - - Rpc_Req_WifiInit req_wifi_init = 278; - Rpc_Req_WifiDeinit req_wifi_deinit = 279; - Rpc_Req_WifiStart req_wifi_start = 280; - Rpc_Req_WifiStop req_wifi_stop = 281; - Rpc_Req_WifiConnect req_wifi_connect = 282; - Rpc_Req_WifiDisconnect req_wifi_disconnect = 283; - Rpc_Req_WifiSetConfig req_wifi_set_config = 284; - Rpc_Req_WifiGetConfig req_wifi_get_config = 285; - - Rpc_Req_WifiScanStart req_wifi_scan_start = 286; - Rpc_Req_WifiScanStop req_wifi_scan_stop = 287; - Rpc_Req_WifiScanGetApNum req_wifi_scan_get_ap_num = 288; - Rpc_Req_WifiScanGetApRecords req_wifi_scan_get_ap_records = 289; - Rpc_Req_WifiClearApList req_wifi_clear_ap_list = 290; - - Rpc_Req_WifiRestore req_wifi_restore = 291; - Rpc_Req_WifiClearFastConnect req_wifi_clear_fast_connect = 292; - Rpc_Req_WifiDeauthSta req_wifi_deauth_sta = 293; - Rpc_Req_WifiStaGetApInfo req_wifi_sta_get_ap_info = 294; - - Rpc_Req_WifiSetProtocol req_wifi_set_protocol = 297; - Rpc_Req_WifiGetProtocol req_wifi_get_protocol = 298; - Rpc_Req_WifiSetBandwidth req_wifi_set_bandwidth = 299; - Rpc_Req_WifiGetBandwidth req_wifi_get_bandwidth = 300; - Rpc_Req_WifiSetChannel req_wifi_set_channel = 301; - Rpc_Req_WifiGetChannel req_wifi_get_channel = 302; - Rpc_Req_WifiSetCountry req_wifi_set_country = 303; - Rpc_Req_WifiGetCountry req_wifi_get_country = 304; - - Rpc_Req_WifiApGetStaList req_wifi_ap_get_sta_list = 311; - Rpc_Req_WifiApGetStaAid req_wifi_ap_get_sta_aid = 312; - Rpc_Req_WifiSetStorage req_wifi_set_storage = 313; - - Rpc_Req_WifiSetInactiveTime req_wifi_set_inactive_time = 325; - Rpc_Req_WifiGetInactiveTime req_wifi_get_inactive_time = 326; - - Rpc_Req_WifiSetCountryCode req_wifi_set_country_code = 334; - Rpc_Req_WifiGetCountryCode req_wifi_get_country_code = 335; - Rpc_Req_WifiStaGetAid req_wifi_sta_get_aid = 338; - Rpc_Req_WifiStaGetNegotiatedPhymode req_wifi_sta_get_negotiated_phymode = 339; - - Rpc_Req_WifiStaGetRssi req_wifi_sta_get_rssi = 341; - - Rpc_Req_WifiSetProtocols req_wifi_set_protocols = 342; - Rpc_Req_WifiGetProtocols req_wifi_get_protocols = 343; - Rpc_Req_WifiSetBandwidths req_wifi_set_bandwidths = 344; - Rpc_Req_WifiGetBandwidths req_wifi_get_bandwidths = 345; - - Rpc_Req_WifiSetBand req_wifi_set_band = 346; - Rpc_Req_WifiGetBand req_wifi_get_band = 347; - Rpc_Req_WifiSetBandMode req_wifi_set_bandmode = 348; - Rpc_Req_WifiGetBandMode req_wifi_get_bandmode = 349; - - Rpc_Req_GetCoprocessorFwVersion req_get_coprocessor_fwversion = 350; - - Rpc_Req_WifiScanGetApRecord req_wifi_scan_get_ap_record = 351; - - Rpc_Req_SetDhcpDnsStatus req_set_dhcp_dns = 352; - Rpc_Req_GetDhcpDnsStatus req_get_dhcp_dns = 353; - - Rpc_Req_WifiStaTwtConfig req_wifi_sta_twt_config = 354; - Rpc_Req_WifiStaItwtSetup req_wifi_sta_itwt_setup = 355; - Rpc_Req_WifiStaItwtTeardown req_wifi_sta_itwt_teardown = 356; - Rpc_Req_WifiStaItwtSuspend req_wifi_sta_itwt_suspend = 357; - Rpc_Req_WifiStaItwtGetFlowIdStatus req_wifi_sta_itwt_get_flow_id_status = 358; - Rpc_Req_WifiStaItwtSendProbeReq req_wifi_sta_itwt_send_probe_req = 359; - Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset req_wifi_sta_itwt_set_target_wake_time_offset = 360; - - Rpc_Req_WifiStaEnterpriseEnable req_wifi_sta_enterprise_enable = 361; - Rpc_Req_WifiStaEnterpriseDisable req_wifi_sta_enterprise_disable = 362; - Rpc_Req_EapSetIdentity req_eap_set_identity = 363; - Rpc_Req_EapClearIdentity req_eap_clear_identity = 364; - Rpc_Req_EapSetUsername req_eap_set_username = 365; - Rpc_Req_EapClearUsername req_eap_clear_username = 366; - Rpc_Req_EapSetPassword req_eap_set_password = 367; - Rpc_Req_EapClearPassword req_eap_clear_password = 368; - Rpc_Req_EapSetNewPassword req_eap_set_new_password = 369; - Rpc_Req_EapClearNewPassword req_eap_clear_new_password = 370; - Rpc_Req_EapSetCaCert req_eap_set_ca_cert = 371; - Rpc_Req_EapClearCaCert req_eap_clear_ca_cert = 372; - Rpc_Req_EapSetCertificateAndKey req_eap_set_certificate_and_key = 373; - Rpc_Req_EapClearCertificateAndKey req_eap_clear_certificate_and_key = 374; - Rpc_Req_EapGetDisableTimeCheck req_eap_get_disable_time_check = 375; - Rpc_Req_EapSetTtlsPhase2Method req_eap_set_ttls_phase2_method = 376; - Rpc_Req_EapSetSuiteb192bitCertification req_eap_set_suiteb_certification = 377; - Rpc_Req_EapSetPacFile req_eap_set_pac_file = 378; - Rpc_Req_EapSetFastParams req_eap_set_fast_params = 379; - Rpc_Req_EapUseDefaultCertBundle req_eap_use_default_cert_bundle = 380; - Rpc_Req_WifiSetOkcSupport req_wifi_set_okc_support = 381; - Rpc_Req_EapSetDomainName req_eap_set_domain_name = 382; - Rpc_Req_EapSetDisableTimeCheck req_eap_set_disable_time_check = 383; - Rpc_Req_EapSetEapMethods req_eap_set_eap_methods = 384; - - Rpc_Req_IfaceMacAddrSetGet req_iface_mac_addr_set_get = 385; - Rpc_Req_IfaceMacAddrLenGet req_iface_mac_addr_len_get = 386; - - Rpc_Req_FeatureControl req_feature_control = 387; - - Rpc_Req_GpioConfig req_gpio_config = 388; - Rpc_Req_GpioReset req_gpio_reset = 389; - Rpc_Req_GpioSetLevel req_gpio_set_level = 390; - Rpc_Req_GpioGetLevel req_gpio_get_level = 391; - Rpc_Req_GpioSetDirection req_gpio_set_direction = 392; - Rpc_Req_GpioInputEnable req_gpio_input_enable = 393; - Rpc_Req_GpioSetPullMode req_gpio_set_pull_mode = 394; - - /** Responses **/ - Rpc_Resp_GetMacAddress resp_get_mac_address = 513; - Rpc_Resp_SetMacAddress resp_set_mac_address = 514; - Rpc_Resp_GetMode resp_get_wifi_mode = 515; - Rpc_Resp_SetMode resp_set_wifi_mode = 516; - - Rpc_Resp_SuppDppInit resp_supp_dpp_init = 517; - Rpc_Resp_SuppDppDeinit resp_supp_dpp_deinit = 518; - Rpc_Resp_SuppDppBootstrapGen resp_supp_dpp_bootstrap_gen = 519; - Rpc_Resp_SuppDppStartListen resp_supp_dpp_start_listen = 520; - Rpc_Resp_SuppDppStopListen resp_supp_dpp_stop_listen = 521; - - //Rpc_Resp_SetSoftAPVendorSpecificIE resp_set_softap_vendor_specific_ie = 522; - //Rpc_Resp_StartSoftAP resp_start_softap = 523; - //Rpc_Resp_SoftAPConnectedSTA resp_softap_connected_stas_list = 524; - //Rpc_Resp_GetStatus resp_stop_softap = 525; - Rpc_Resp_OTAActivate resp_ota_activate = 522; - - Rpc_Resp_SetPs resp_wifi_set_ps = 526; - Rpc_Resp_GetPs resp_wifi_get_ps = 527; - - Rpc_Resp_OTABegin resp_ota_begin = 528; - Rpc_Resp_OTAWrite resp_ota_write = 529; - Rpc_Resp_OTAEnd resp_ota_end = 530; - Rpc_Resp_WifiSetMaxTxPower resp_set_wifi_max_tx_power = 531; - Rpc_Resp_WifiGetMaxTxPower resp_get_wifi_max_tx_power = 532; - Rpc_Resp_ConfigHeartbeat resp_config_heartbeat = 533; - - Rpc_Resp_WifiInit resp_wifi_init = 534; - Rpc_Resp_WifiDeinit resp_wifi_deinit = 535; - Rpc_Resp_WifiStart resp_wifi_start = 536; - Rpc_Resp_WifiStop resp_wifi_stop = 537; - Rpc_Resp_WifiConnect resp_wifi_connect = 538; - Rpc_Resp_WifiDisconnect resp_wifi_disconnect = 539; - Rpc_Resp_WifiSetConfig resp_wifi_set_config = 540; - Rpc_Resp_WifiGetConfig resp_wifi_get_config = 541; - - Rpc_Resp_WifiScanStart resp_wifi_scan_start = 542; - Rpc_Resp_WifiScanStop resp_wifi_scan_stop = 543; - Rpc_Resp_WifiScanGetApNum resp_wifi_scan_get_ap_num = 544; - Rpc_Resp_WifiScanGetApRecords resp_wifi_scan_get_ap_records = 545; - Rpc_Resp_WifiClearApList resp_wifi_clear_ap_list = 546; - - Rpc_Resp_WifiRestore resp_wifi_restore = 547; - Rpc_Resp_WifiClearFastConnect resp_wifi_clear_fast_connect = 548; - Rpc_Resp_WifiDeauthSta resp_wifi_deauth_sta = 549; - Rpc_Resp_WifiStaGetApInfo resp_wifi_sta_get_ap_info = 550; - - Rpc_Resp_WifiSetProtocol resp_wifi_set_protocol = 553; - Rpc_Resp_WifiGetProtocol resp_wifi_get_protocol = 554; - Rpc_Resp_WifiSetBandwidth resp_wifi_set_bandwidth = 555; - Rpc_Resp_WifiGetBandwidth resp_wifi_get_bandwidth = 556; - Rpc_Resp_WifiSetChannel resp_wifi_set_channel = 557; - Rpc_Resp_WifiGetChannel resp_wifi_get_channel = 558; - Rpc_Resp_WifiSetCountry resp_wifi_set_country = 559; - Rpc_Resp_WifiGetCountry resp_wifi_get_country = 560; - - Rpc_Resp_WifiApGetStaList resp_wifi_ap_get_sta_list = 567; - Rpc_Resp_WifiApGetStaAid resp_wifi_ap_get_sta_aid = 568; - Rpc_Resp_WifiSetStorage resp_wifi_set_storage = 569; - - Rpc_Resp_WifiSetInactiveTime resp_wifi_set_inactive_time = 581; - Rpc_Resp_WifiGetInactiveTime resp_wifi_get_inactive_time = 582; - - Rpc_Resp_WifiSetCountryCode resp_wifi_set_country_code = 590; - Rpc_Resp_WifiGetCountryCode resp_wifi_get_country_code = 591; - Rpc_Resp_WifiStaGetAid resp_wifi_sta_get_aid = 594; - Rpc_Resp_WifiStaGetNegotiatedPhymode resp_wifi_sta_get_negotiated_phymode = 595; - - Rpc_Resp_WifiStaGetRssi resp_wifi_sta_get_rssi = 597; - - Rpc_Resp_WifiSetProtocols resp_wifi_set_protocols = 598; - Rpc_Resp_WifiGetProtocols resp_wifi_get_protocols = 599; - Rpc_Resp_WifiSetBandwidths resp_wifi_set_bandwidths = 600; - Rpc_Resp_WifiGetBandwidths resp_wifi_get_bandwidths = 601; - - Rpc_Resp_WifiSetBand resp_wifi_set_band = 602; - Rpc_Resp_WifiGetBand resp_wifi_get_band = 603; - Rpc_Resp_WifiSetBandMode resp_wifi_set_bandmode = 604; - Rpc_Resp_WifiGetBandMode resp_wifi_get_bandmode = 605; - - Rpc_Resp_GetCoprocessorFwVersion resp_get_coprocessor_fwversion = 606; - - Rpc_Resp_WifiScanGetApRecord resp_wifi_scan_get_ap_record = 607; - - Rpc_Resp_SetDhcpDnsStatus resp_set_dhcp_dns = 608; - Rpc_Resp_GetDhcpDnsStatus resp_get_dhcp_dns = 609; - - Rpc_Resp_WifiStaTwtConfig resp_wifi_sta_twt_config = 610; - Rpc_Resp_WifiStaItwtSetup resp_wifi_sta_itwt_setup = 611; - Rpc_Resp_WifiStaItwtTeardown resp_wifi_sta_itwt_teardown = 612; - Rpc_Resp_WifiStaItwtSuspend resp_wifi_sta_itwt_suspend = 613; - Rpc_Resp_WifiStaItwtGetFlowIdStatus resp_wifi_sta_itwt_get_flow_id_status = 614; - Rpc_Resp_WifiStaItwtSendProbeReq resp_wifi_sta_itwt_send_probe_req = 615; - Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset resp_wifi_sta_itwt_set_target_wake_time_offset = 616; - - Rpc_Resp_WifiStaEnterpriseEnable resp_wifi_sta_enterprise_enable = 617; - Rpc_Resp_WifiStaEnterpriseDisable resp_wifi_sta_enterprise_disable = 618; - Rpc_Resp_EapSetIdentity resp_eap_set_identity = 619; - Rpc_Resp_EapClearIdentity resp_eap_clear_identity = 620; - Rpc_Resp_EapSetUsername resp_eap_set_username = 621; - Rpc_Resp_EapClearUsername resp_eap_clear_username = 622; - Rpc_Resp_EapSetPassword resp_eap_set_password = 623; - Rpc_Resp_EapClearPassword resp_eap_clear_password = 624; - Rpc_Resp_EapSetNewPassword resp_eap_set_new_password = 625; - Rpc_Resp_EapClearNewPassword resp_eap_clear_new_password = 626; - Rpc_Resp_EapSetCaCert resp_eap_set_ca_cert = 627; - Rpc_Resp_EapClearCaCert resp_eap_clear_ca_cert = 628; - Rpc_Resp_EapSetCertificateAndKey resp_eap_set_certificate_and_key = 629; - Rpc_Resp_EapClearCertificateAndKey resp_eap_clear_certificate_and_key = 630; - Rpc_Resp_EapGetDisableTimeCheck resp_eap_get_disable_time_check = 631; - Rpc_Resp_EapSetTtlsPhase2Method resp_eap_set_ttls_phase2_method = 632; - Rpc_Resp_EapSetSuiteb192bitCertification resp_eap_set_suiteb_certification = 633; - Rpc_Resp_EapSetPacFile resp_eap_set_pac_file = 634; - Rpc_Resp_EapSetFastParams resp_eap_set_fast_params = 635; - Rpc_Resp_EapUseDefaultCertBundle resp_eap_use_default_cert_bundle = 636; - Rpc_Resp_WifiSetOkcSupport resp_wifi_set_okc_support = 637; - Rpc_Resp_EapSetDomainName resp_eap_set_domain_name = 638; - Rpc_Resp_EapSetDisableTimeCheck resp_eap_set_disable_time_check = 639; - Rpc_Resp_EapSetEapMethods resp_eap_set_eap_methods = 640; - - Rpc_Resp_IfaceMacAddrSetGet resp_iface_mac_addr_set_get = 641; - Rpc_Resp_IfaceMacAddrLenGet resp_iface_mac_addr_len_get = 642; - - Rpc_Resp_FeatureControl resp_feature_control = 643; - - Rpc_Resp_GpioConfig resp_gpio_config = 644; - Rpc_Resp_GpioResetPin resp_gpio_reset = 645; - Rpc_Resp_GpioSetLevel resp_gpio_set_level = 646; - Rpc_Resp_GpioGetLevel resp_gpio_get_level = 647; - Rpc_Resp_GpioSetDirection resp_gpio_set_direction = 648; - Rpc_Resp_GpioInputEnable resp_gpio_input_enable = 649; - Rpc_Resp_GpioSetPullMode resp_gpio_set_pull_mode = 650; - - /** Notifications **/ - Rpc_Event_ESPInit event_esp_init = 769; - Rpc_Event_Heartbeat event_heartbeat = 770; - Rpc_Event_AP_StaConnected event_ap_sta_connected = 771; - Rpc_Event_AP_StaDisconnected event_ap_sta_disconnected = 772; - Rpc_Event_WifiEventNoArgs event_wifi_event_no_args = 773; - Rpc_Event_StaScanDone event_sta_scan_done = 774; - Rpc_Event_StaConnected event_sta_connected = 775; - Rpc_Event_StaDisconnected event_sta_disconnected = 776; - Rpc_Event_DhcpDnsStatus event_dhcp_dns = 777; - Rpc_Event_StaItwtSetup event_sta_itwt_setup = 778; - Rpc_Event_StaItwtTeardown event_sta_itwt_teardown = 779; - Rpc_Event_StaItwtSuspend event_sta_itwt_suspend = 780; - Rpc_Event_StaItwtProbe event_sta_itwt_probe = 781; - Rpc_Event_SuppDppUriReady event_supp_dpp_uri_ready = 782; - Rpc_Event_SuppDppCfgRecvd event_supp_dpp_cfg_recvd = 783; - Rpc_Event_SuppDppFail event_supp_dpp_fail = 784; - Rpc_Event_WifiDppUriReady event_wifi_dpp_uri_ready = 785; - Rpc_Event_WifiDppCfgRecvd event_wifi_dpp_cfg_recvd = 786; - Rpc_Event_WifiDppFail event_wifi_dpp_fail = 787; - } -} +/* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD */ +/* SPDX-License-Identifier: Apache-2.0 */ + +syntax = "proto3"; + +enum Rpc_WifiBw { + BW_Invalid = 0; + HT20 = 1; + HT40 = 2; +} + +enum Rpc_WifiPowerSave { + PS_Invalid = 0; + MIN_MODEM = 1; + MAX_MODEM = 2; +} + +enum Rpc_WifiSecProt { + Open = 0; + WEP = 1; + WPA_PSK = 2; + WPA2_PSK = 3; + WPA_WPA2_PSK = 4; + WPA2_ENTERPRISE = 5; + WPA3_PSK = 6; + WPA2_WPA3_PSK = 7; +} + +/* enums for Control path */ +enum Rpc_Status { + Connected = 0; + Not_Connected = 1; + No_AP_Found = 2; + Connection_Fail = 3; + Invalid_Argument = 4; + Out_Of_Range = 5; +} + + +enum RpcType { +MsgType_Invalid = 0; + Req = 1; + Resp = 2; + Event = 3; + MsgType_Max = 4; +} + +enum RpcFeature { + Feature_None = 0; + // Bluetooth (BT) Feature + Feature_Bluetooth = 1; + // add additional features here +} + +enum RpcFeatureCommand { + Feature_Command_None = 0; + // Bluetooth (BT) Feature Commands + Feature_Command_BT_Init = 1; + Feature_Command_BT_Deinit = 2; + Feature_Command_BT_Enable = 3; + Feature_Command_BT_Disable = 4; + // add additional feature commands here +} + +enum RpcFeatureOption { + Feature_Option_None = 0; + // Bluetooth (BT) Feature Options + Feature_Option_BT_Deinit_Release_Memory = 1; // release memory when deinit BT + // add additional feature options here +} + +enum RpcId { + MsgId_Invalid = 0; + + /** Request Msgs **/ + Req_Base = 256; //0x100 + + Req_GetMACAddress = 257; //0x101 + Req_SetMacAddress = 258; //0x102 + Req_GetWifiMode = 259; //0x103 + Req_SetWifiMode = 260; //0x104 + + Req_SuppDppInit = 261; //0x105 + Req_SuppDppDeinit = 262; //0x106 + Req_SuppDppBootstrapGen = 263; //0x107 + Req_SuppDppStartListen = 264; //0x108 + Req_SuppDppStopListen = 265; //0x109 + + //Req_SetSoftAPVendorSpecificIE = 266; //0x10a + //Req_StartSoftAP = 267; //0x10b + //Req_GetSoftAPConnectedSTAList = 268; //0x10c + //Req_StopSoftAP = 269; //0x10d + Req_OTAActivate = 266; //0x112 + + Req_WifiSetPs = 270; //0x10e + Req_WifiGetPs = 271; //0x10f + + Req_OTABegin = 272; //0x110 + Req_OTAWrite = 273; //0x111 + Req_OTAEnd = 274; //0x112 + + Req_WifiSetMaxTxPower = 275; //0x113 + Req_WifiGetMaxTxPower = 276; //0x114 + + Req_ConfigHeartbeat = 277; //0x115 + + Req_WifiInit = 278; //0x116 + Req_WifiDeinit = 279; //0x117 + Req_WifiStart = 280; //0x118 + Req_WifiStop = 281; //0x119 + Req_WifiConnect = 282; //0x11a + Req_WifiDisconnect = 283; //0x11b + Req_WifiSetConfig = 284; //0x11c + Req_WifiGetConfig = 285; //0x11d + + Req_WifiScanStart = 286; //0x11e + Req_WifiScanStop = 287; //0x11f + Req_WifiScanGetApNum = 288; //0x120 + Req_WifiScanGetApRecords = 289; //0x121 + Req_WifiClearApList = 290; //0x122 + + Req_WifiRestore = 291; //0x123 + Req_WifiClearFastConnect = 292; //0x124 + Req_WifiDeauthSta = 293; //0x125 + Req_WifiStaGetApInfo = 294; //0x126 + //Req_WifiSetPs = 295; //0x127 + //Req_WifiGetPs = 296; //0x128 + Req_WifiSetProtocol = 297; //0x129 + Req_WifiGetProtocol = 298; //0x12a + Req_WifiSetBandwidth = 299; //0x12b + Req_WifiGetBandwidth = 300; //0x12c + Req_WifiSetChannel = 301; //0x12d + Req_WifiGetChannel = 302; //0x12e + Req_WifiSetCountry = 303; //0x12f + Req_WifiGetCountry = 304; //0x130 + +// Req_WifiSetPromiscuousRxCb = 305; //0x131 + Req_WifiSetPromiscuous = 305; //0x131 + Req_WifiGetPromiscuous = 306; //0x132 + Req_WifiSetPromiscuousFilter = 307; //0x133 + Req_WifiGetPromiscuousFilter = 308; //0x134 + Req_WifiSetPromiscuousCtrlFilter = 309; //0x135 + Req_WifiGetPromiscuousCtrlFilter = 310; //0x136 + + Req_WifiApGetStaList = 311; //0x137 + Req_WifiApGetStaAid = 312; //0x138 + Req_WifiSetStorage = 313; //0x139 + Req_WifiSetVendorIe = 314; //0x13a +// Req_WifiSetVendorIeCb = 315; //0x13b + Req_WifiSetEventMask = 315; //0x13b + Req_WifiGetEventMask = 316; //0x13c + Req_Wifi80211Tx = 317; //0x13d + +// Req_WifiSetCsiRxCb = 318; //0x13e + Req_WifiSetCsiConfig = 318; //0x13e + Req_WifiSetCsi = 319; //0x13f + + Req_WifiSetAntGpio = 320; //0x140 + Req_WifiGetAntGpio = 321; //0x141 + Req_WifiSetAnt = 322; //0x142 + Req_WifiGetAnt = 323; //0x143 + + Req_WifiGetTsfTime = 324; //0x144 + Req_WifiSetInactiveTime = 325; //0x145 + Req_WifiGetInactiveTime = 326; //0x146 + Req_WifiStatisDump = 327; //0x147 + Req_WifiSetRssiThreshold = 328; //0x148 + + Req_WifiFtmInitiateSession = 329; //0x149 + Req_WifiFtmEndSession = 330; //0x14a + Req_WifiFtmRespSetOffset = 331; //0x14b + + Req_WifiConfig11bRate = 332; //0x14c + Req_WifiConnectionlessModuleSetWakeInterval = 333; //0x14d + Req_WifiSetCountryCode = 334; //0x14e + Req_WifiGetCountryCode = 335; //0x14f + Req_WifiConfig80211TxRate = 336; //0x150 + Req_WifiDisablePmfConfig = 337; //0x151 + Req_WifiStaGetAid = 338; //0x152 + Req_WifiStaGetNegotiatedPhymode = 339; //0x153 + Req_WifiSetDynamicCs = 340; //0x154 + Req_WifiStaGetRssi = 341; //0x155 + + Req_WifiSetProtocols = 342; //0x156 + Req_WifiGetProtocols = 343; //0x157 + Req_WifiSetBandwidths = 344; //0x158 + Req_WifiGetBandwidths = 345; //0x159 + + Req_WifiSetBand = 346; //0x15a + Req_WifiGetBand = 347; //0x15b + Req_WifiSetBandMode = 348; //0x15c + Req_WifiGetBandMode = 349; //0x15d + + Req_GetCoprocessorFwVersion = 350; //0x15e + + Req_WifiScanGetApRecord = 351; //0x15f + + Req_SetDhcpDnsStatus = 352; //0x160 + Req_GetDhcpDnsStatus = 353; //0x161 + + Req_WifiStaTwtConfig = 354; //0x162 + Req_WifiStaItwtSetup = 355; //0x163 + Req_WifiStaItwtTeardown = 356; //0x164 + Req_WifiStaItwtSuspend = 357; //0x165 + Req_WifiStaItwtGetFlowIdStatus = 358; //0x166 + Req_WifiStaItwtSendProbeReq = 359; //0x167 + Req_WifiStaItwtSetTargetWakeTimeOffset = 360; //0x168 + + Req_WifiStaEnterpriseEnable = 361; //0x169 + Req_WifiStaEnterpriseDisable = 362; //0x16A + Req_EapSetIdentity = 363; //0x16B + Req_EapClearIdentity = 364; //0x16C + Req_EapSetUsername = 365; //0x16D + Req_EapClearUsername = 366; //0x16E + Req_EapSetPassword = 367; //0x16F + Req_EapClearPassword = 368; //0x170 + Req_EapSetNewPassword = 369; //0x171 + Req_EapClearNewPassword = 370; //0x172 + Req_EapSetCaCert = 371; //0x173 + Req_EapClearCaCert = 372; //0x174 + Req_EapSetCertificateAndKey = 373; //0x175 + Req_EapClearCertificateAndKey = 374; //0x176 + Req_EapGetDisableTimeCheck = 375; //0x177 + Req_EapSetTtlsPhase2Method = 376; //0x178 + Req_EapSetSuitebCertification = 377; //0x179 + Req_EapSetPacFile = 378; //0x17A + Req_EapSetFastParams = 379; //0x17B + Req_EapUseDefaultCertBundle = 380; //0x17C + Req_WifiSetOkcSupport = 381; //0x17D + Req_EapSetDomainName = 382; //0x17E + Req_EapSetDisableTimeCheck = 383; //0x17F + Req_EapSetEapMethods = 384; //0x180 + + Req_IfaceMacAddrSetGet = 385; //0x181 + Req_IfaceMacAddrLenGet = 386; //0x182 + + /* Common RPC to handle simple feature control with one optional parameter + * Supported Features: + * - BT Init/Deinit/Enable/Disable + */ + Req_FeatureControl = 387; //0x183 + + Req_GpioConfig = 388; // 0x184 + Req_GpioResetPin = 389; // 0x185 + Req_GpioSetLevel = 390; // 0x186 + Req_GpioGetLevel = 391; // 0x187 + Req_GpioSetDirection = 392; // 0x188 + Req_GpioInputEnable = 393; // 0x189 + Req_GpioSetPullMode = 394; // 0x18A + + /* Add new control path command response before Req_Max + * and update Req_Max */ + Req_Max = 395; //0x18B + + /** Response Msgs **/ + Resp_Base = 512; + + Resp_GetMACAddress = 513; + Resp_SetMacAddress = 514; + Resp_GetWifiMode = 515; + Resp_SetWifiMode = 516; + + Resp_SuppDppInit = 517; + Resp_SuppDppDeinit = 518; + Resp_SuppDppBootstrapGen = 519; + Resp_SuppDppStartListen = 520; + Resp_SuppDppStopListen = 521; + + //Resp_SetSoftAPVendorSpecificIE = 522; + //Resp_StartSoftAP = 523; + //Resp_GetSoftAPConnectedSTAList = 524; + //Resp_StopSoftAP = 525; + Resp_OTAActivate = 522; + + Resp_WifiSetPs = 526; + Resp_WifiGetPs = 527; + + Resp_OTABegin = 528; + Resp_OTAWrite = 529; + Resp_OTAEnd = 530; + + Resp_WifiSetMaxTxPower = 531; + Resp_WifiGetMaxTxPower = 532; + + Resp_ConfigHeartbeat = 533; + + Resp_WifiInit = 534; + Resp_WifiDeinit = 535; + Resp_WifiStart = 536; + Resp_WifiStop = 537; + Resp_WifiConnect = 538; + Resp_WifiDisconnect = 539; + Resp_WifiSetConfig = 540; + Resp_WifiGetConfig = 541; + + Resp_WifiScanStart = 542; + Resp_WifiScanStop = 543; + Resp_WifiScanGetApNum = 544; + Resp_WifiScanGetApRecords = 545; + Resp_WifiClearApList = 546; + + Resp_WifiRestore = 547; + Resp_WifiClearFastConnect = 548; + Resp_WifiDeauthSta = 549; + Resp_WifiStaGetApInfo = 550; + //Resp_WifiSetPs = 551; + //Resp_WifiGetPs = 552; + Resp_WifiSetProtocol = 553; + Resp_WifiGetProtocol = 554; + Resp_WifiSetBandwidth = 555; + Resp_WifiGetBandwidth = 556; + Resp_WifiSetChannel = 557; + Resp_WifiGetChannel = 558; + Resp_WifiSetCountry = 559; + Resp_WifiGetCountry = 560; + +// Resp_WifiSetPromiscuousRxCb = 561; + Resp_WifiSetPromiscuous = 561; + Resp_WifiGetPromiscuous = 562; + Resp_WifiSetPromiscuousFilter = 563; + Resp_WifiGetPromiscuousFilter = 564; + Resp_WifiSetPromiscuousCtrlFilter = 565; + Resp_WifiGetPromiscuousCtrlFilter = 566; + + Resp_WifiApGetStaList = 567; + Resp_WifiApGetStaAid = 568; + Resp_WifiSetStorage = 569; + Resp_WifiSetVendorIe = 570; +// Resp_WifiSetVendorIeCb = 571; + Resp_WifiSetEventMask = 571; + Resp_WifiGetEventMask = 572; + Resp_Wifi80211Tx = 573; + +// Resp_WifiSetCsiRxCb = 573; + Resp_WifiSetCsiConfig = 574; + Resp_WifiSetCsi = 575; + + Resp_WifiSetAntGpio = 576; + Resp_WifiGetAntGpio = 577; + Resp_WifiSetAnt = 578; + Resp_WifiGetAnt = 579; + + Resp_WifiGetTsfTime = 580; + Resp_WifiSetInactiveTime = 581; + Resp_WifiGetInactiveTime = 582; + Resp_WifiStatisDump = 583; + Resp_WifiSetRssiThreshold = 584; + + Resp_WifiFtmInitiateSession = 585; + Resp_WifiFtmEndSession = 586; + Resp_WifiFtmRespSetOffset = 587; + + Resp_WifiConfig11bRate = 588; + Resp_WifiConnectionlessModuleSetWakeInterval = 589; + Resp_WifiSetCountryCode = 590; + Resp_WifiGetCountryCode = 591; + Resp_WifiConfig80211TxRate = 592; + Resp_WifiDisablePmfConfig = 593; + Resp_WifiStaGetAid = 594; + Resp_WifiStaGetNegotiatedPhymode = 595; + Resp_WifiSetDynamicCs = 596; + Resp_WifiStaGetRssi = 597; + + Resp_WifiSetProtocols = 598; + Resp_WifiGetProtocols = 599; + Resp_WifiSetBandwidths = 600; + Resp_WifiGetBandwidths = 601; + + Resp_WifiSetBand = 602; + Resp_WifiGetBand = 603; + Resp_WifiSetBandMode = 604; + Resp_WifiGetBandMode = 605; + + Resp_GetCoprocessorFwVersion = 606; + + Resp_WifiScanGetApRecord = 607; + + Resp_SetDhcpDnsStatus = 608; + Resp_GetDhcpDnsStatus = 609; + + Resp_WifiStaTwtConfig = 610; + Resp_WifiStaItwtSetup = 611; + Resp_WifiStaItwtTeardown = 612; + Resp_WifiStaItwtSuspend = 613; + Resp_WifiStaItwtGetFlowIdStatus = 614; + Resp_WifiStaItwtSendProbeReq = 615; + Resp_WifiStaItwtSetTargetWakeTimeOffset = 616; + + Resp_WifiStaEnterpriseEnable = 617; + Resp_WifiStaEnterpriseDisable = 618; + Resp_EapSetIdentity = 619; + Resp_EapClearIdentity = 620; + Resp_EapSetUsername = 621; + Resp_EapClearUsername = 622; + Resp_EapSetPassword = 623; + Resp_EapClearPassword = 624; + Resp_EapSetNewPassword = 625; + Resp_EapClearNewPassword = 626; + Resp_EapSetCaCert = 627; + Resp_EapClearCaCert = 628; + Resp_EapSetCertificateAndKey = 629; + Resp_EapClearCertificateAndKey = 630; + Resp_EapGetDisableTimeCheck = 631; + Resp_EapSetTtlsPhase2Method = 632; + Resp_EapSetSuitebCertification = 633; + Resp_EapSetPacFile = 634; + Resp_EapSetFastParams = 635; + Resp_EapUseDefaultCertBundle = 636; + Resp_WifiSetOkcSupport = 637; + Resp_EapSetDomainName = 638; + Resp_EapSetDisableTimeCheck = 639; + Resp_EapSetEapMethods = 640; + + Resp_IfaceMacAddrSetGet = 641; + Resp_IfaceMacAddrLenGet = 642; + Resp_FeatureControl = 643; + + Resp_GpioConfig = 644; + Resp_GpioResetPin = 645; + Resp_GpioSetLevel = 646; + Resp_GpioGetLevel = 647; + Resp_GpioSetDirection = 648; + Resp_GpioInputEnable = 649; + Resp_GpioSetPullMode = 650; + + /* Add new control path command response before Resp_Max + * and update Resp_Max */ + Resp_Max = 651; + + /** Event Msgs **/ + Event_Base = 768; + Event_ESPInit = 769; + Event_Heartbeat = 770; + Event_AP_StaConnected = 771; + Event_AP_StaDisconnected = 772; + Event_WifiEventNoArgs = 773; + Event_StaScanDone = 774; + Event_StaConnected = 775; + Event_StaDisconnected = 776; + Event_DhcpDnsStatus = 777; + + Event_StaItwtSetup = 778; + Event_StaItwtTeardown = 779; + Event_StaItwtSuspend = 780; + Event_StaItwtProbe = 781; + + // Supplicant DPP Events received by dpp callback on host + Event_SuppDppUriReady = 782; + Event_SuppDppCfgRecvd = 783; + Event_SuppDppFail = 784; + // Wifi DPP Events + Event_WifiDppUriReady = 785; + Event_WifiDppCfgRecvd = 786; + Event_WifiDppFail = 787; + + /* Add new control path command notification before Event_Max + * and update Event_Max */ + Event_Max = 788; +} + +message wifi_init_config { + int32 static_rx_buf_num = 1; /**< WiFi static RX buffer number */ + int32 dynamic_rx_buf_num = 2; /**< WiFi dynamic RX buffer number */ + int32 tx_buf_type = 3; /**< WiFi TX buffer type */ + int32 static_tx_buf_num = 4; /**< WiFi static TX buffer number */ + int32 dynamic_tx_buf_num = 5; /**< WiFi dynamic TX buffer number */ + int32 cache_tx_buf_num = 6; /**< WiFi TX cache buffer number */ + int32 csi_enable = 7; /**< WiFi channel state information enable flag */ + int32 ampdu_rx_enable = 8; /**< WiFi AMPDU RX feature enable flag */ + int32 ampdu_tx_enable = 9; /**< WiFi AMPDU TX feature enable flag */ + int32 amsdu_tx_enable = 10; /**< WiFi AMSDU TX feature enable flag */ + int32 nvs_enable = 11; /**< WiFi NVS flash enable flag */ + int32 nano_enable = 12; /**< Nano option for printf/scan family enable flag */ + int32 rx_ba_win = 13; /**< WiFi Block Ack RX window size */ + int32 wifi_task_core_id = 14; /**< WiFi Task Core ID */ + int32 beacon_max_len = 15; /**< WiFi softAP maximum length of the beacon */ + int32 mgmt_sbuf_num = 16; /**< WiFi management short buffer number, the minimum value is 6, the maximum value is 32 */ + uint64 feature_caps = 17; /**< Enables additional WiFi features and capabilities */ + bool sta_disconnected_pm = 18; /**< WiFi Power Management for station at disconnected status */ + int32 espnow_max_encrypt_num = 19; /**< Maximum encrypt number of peers supported by espnow */ + int32 magic = 20; /**< WiFi init magic number, it should be the last field */ + int32 rx_mgmt_buf_type = 21; /**< WiFi RX MGMT buffer type */ + int32 rx_mgmt_buf_num = 22; /**< WiFi RX MGMT buffer number */ + int32 tx_hetb_queue_num = 23; /**< WiFi TX HE TB QUEUE number for STA HE TB PPDU transmission */ + int32 dump_hesigb_enable = 24; /**< enable dump sigb field */ +} + +message wifi_country { + bytes cc = 1; /**< country code string of 3 chars*/ + uint32 schan = 2; /**< start channel */ + uint32 nchan = 3; /**< total channel number */ + int32 max_tx_power = 4; /**< This field is used for getting WiFi maximum transmitting power, + call esp_wifi_set_max_tx_power to set the maximum transmitting power. */ + int32 policy = 5; /**< country policy */ +} + + +message wifi_active_scan_time { + uint32 min = 1; /**< minimum active scan time per channel, units: millisecond */ + uint32 max = 2; /**< maximum active scan time per channel, units: millisecond, values above 1500ms may + cause station to disconnect from AP and are not recommended. */ +} ; + +message wifi_scan_time { + wifi_active_scan_time active = 1; /**< active scan time per channel, units: millisecond. */ + uint32 passive = 2; /**< passive scan time per channel, units: millisecond, values above 1500ms may + cause station to disconnect from AP and are not recommended. */ +} + +message wifi_scan_channel_bitmap { + uint32 ghz_2_channels = 1; /**< Represents 2.4 GHz channels, that bits can be set as wifi_2g_channel_bit_t shown. */ + uint32 ghz_5_channels = 2; /**< Represents 5 GHz channels, that bits can be set as wifi_5g_channel_bit_t shown. */ +} + +message wifi_scan_config { + bytes ssid = 1; /**< SSID of AP 33char*/ + bytes bssid = 2; /**< MAC address of AP 6char */ + uint32 channel = 3; /**< channel, scan the specific channel */ + bool show_hidden = 4; /**< enable to scan AP whose SSID is hidden */ + int32 scan_type = 5; /**< scan type, active or passive */ + wifi_scan_time scan_time = 6; /**< scan time per channel */ + uint32 home_chan_dwell_time = 7; /**< time spent at home channel between scanning consecutive channels.*/ + wifi_scan_channel_bitmap channel_bitmap = 8; /**< Channel bitmap for setting specific channels to be scanned. + Please note that the 'channel' parameter above needs to be set to 0 to allow scanning by bitmap. + Also, note that only allowed channels configured by wifi_country_t can be scanned. */ +} + +message wifi_he_ap_info { + //uint8_t bss_color:6; /**< an unsigned integer whose value is the BSS Color of the BSS corresponding to the AP */ + //uint8_t partial_bss_color:1; /**< indicate if an AID assignment rule based on the BSS color */ + //uint8_t bss_color_disabled:1; /**< indicate if the use of BSS color is disabled */ + uint32 bitmask = 1; /* Manually have to parse for above bits */ + uint32 bssid_index = 2; /**< in M-BSSID set, identifies the nontransmitted BSSID */ +} + +message wifi_ap_record { + bytes bssid = 1; /**< MAC address of AP 6char */ + bytes ssid = 2; /**< SSID of AP 33char */ + uint32 primary = 3; /**< channel of AP */ + int32 second = 4; /**< secondary channel of AP */ + int32 rssi = 5; /**< signal strength of AP */ + int32 authmode = 6; /**< authmode of AP */ + int32 pairwise_cipher = 7; /**< pairwise cipher of AP */ + int32 group_cipher = 8; /**< group cipher of AP */ + int32 ant = 9; /**< antenna used to receive beacon from AP */ + //uint32_t phy_11b:1; /**< bit: 0 flag to identify if 11b mode is enabled or not */ + //uint32_t phy_11g:1; /**< bit: 1 flag to identify if 11g mode is enabled or not */ + //uint32_t phy_11n:1; /**< bit: 2 flag to identify if 11n mode is enabled or not */ + //uint32_t phy_lr:1; /**< bit: 3 flag to identify if low rate is enabled or not */ + //uint32_t wps:1; /**< bit: 4 flag to identify if WPS is supported or not */ + //uint32_t ftm_responder:1; /**< bit: 5 flag to identify if FTM is supported in responder mode */ + //uint32_t ftm_initiator:1; /**< bit: 6 flag to identify if FTM is supported in initiator mode */ + //uint32_t reserved:25; /**< bit: 7..31 reserved */ + uint32 bitmask = 10; /* Manually have to parse for above bits */ + + wifi_country country = 11; /**< country information of AP */ + wifi_he_ap_info he_ap = 12; + uint32 bandwidth = 13; /**< For AP 20 MHz this value is set to 1. For AP 40 MHz this value is set to 2. + For AP 80 MHz this value is set to 3. For AP 160MHz this value is set to 4. + For AP 80+80MHz this value is set to 5*/ + uint32 vht_ch_freq1 = 14; /**< This fields are used only AP bandwidth is 80 and 160 MHz, to transmit the center channel + frequency of the BSS. For AP bandwidth is 80 + 80 MHz, it is the center channel frequency + of the lower frequency segment.*/ + uint32 vht_ch_freq2 = 15; /**< This fields are used only AP bandwidth is 80 + 80 MHz, and is used to transmit the center + channel frequency of the second segment. */ +} + +message wifi_scan_threshold { + int32 rssi = 1; /**< The minimum rssi to accept in the fast scan mode */ + int32 authmode = 2; /**< The weakest authmode to accept in the fast scan mode +Note: Incase this value is not set and password is set as per WPA2 standards(password len >= 8), +it will be defaulted to WPA2 and device won't connect to deprecated WEP/WPA networks. +Please set authmode threshold as WIFI_AUTH_WEP/WIFI_AUTH_WPA_PSK to connect to WEP/WPA networks */ + uint32 rssi_5g_adjustment = 3; /**< The RSSI value of the 5G AP is within the rssi_5g_adjustment range compared to the 2G AP, the 5G AP will be given priority for connection. */ +} + +message wifi_pmf_config { + bool capable = 1; /**< Deprecated variable. Device will always connect in PMF mode if other device also advertizes PMF capability. */ + bool required = 2; /**< Advertizes that Protected Management Frame is required. Device will not associate to non-PMF capable devices. */ +} + +message wifi_bss_max_idle_config { + uint32 period = 1; /**< Sets BSS Max idle period (1 Unit = 1000TUs OR 1.024 Seconds). If there are no frames for this period from a STA, SoftAP will disassociate due to inactivity. Setting it to 0 disables the feature */ + bool protected_keep_alive = 2; /**< Requires clients to use protected keep alive frames for BSS Max Idle period */ +} + +message wifi_ap_config { + bytes ssid = 1; /**< SSID of ESP32 soft-AP. If ssid_len field is 0, this must be a Null terminated string. Otherwise, length is set according to ssid_len. 32 char*/ + bytes password = 2; /**< Password of ESP32 soft-AP. 64 char*/ + uint32 ssid_len = 3; /**< Optional length of SSID field. */ + uint32 channel = 4; /**< Channel of ESP32 soft-AP */ + int32 authmode = 5; /**< Auth mode of ESP32 soft-AP. Do not support AUTH_WEP in soft-AP mode */ + uint32 ssid_hidden = 6; /**< Broadcast SSID or not, default 0, broadcast the SSID */ + uint32 max_connection = 7; /**< Max number of stations allowed to connect in */ + uint32 beacon_interval = 8; /**< Beacon interval which should be multiples of 100. Unit: TU(time unit, 1 TU = 1024 us). Range: 100 ~ 60000. Default value: 100 */ + int32 pairwise_cipher = 9; /**< pairwise cipher of SoftAP, group cipher will be derived using this. + cipher values are valid starting from WIFI_CIPHER_TYPE_TKIP, enum values before that will be considered as invalid and default cipher suites(TKIP+CCMP) will be used. + Valid cipher suites in softAP mode are WIFI_CIPHER_TYPE_TKIP, WIFI_CIPHER_TYPE_CCMP and WIFI_CIPHER_TYPE_TKIP_CCMP. */ + bool ftm_responder = 10; /**< Enable FTM Responder mode */ + wifi_pmf_config pmf_cfg = 11; /**< Configuration for Protected Management Frame */ + int32 sae_pwe_h2e = 12; /**< Configuration for SAE PWE derivation method */ + uint32 csa_count = 13; /**< Channel Switch Announcement Count. Notify the station that the channel will switch after the csa_count beacon intervals. Default value: 3 */ + uint32 dtim_period = 14; /**< Dtim period of soft-AP. Range: 1 ~ 10. Default value: 1 */ + uint32 transition_disable = 15; /**< Whether to enable transition disable feature */ + uint32 sae_ext = 16; /**< Enable SAE EXT feature. SOC_GCMP_SUPPORT is required for this feature. */ + wifi_bss_max_idle_config bss_max_idle_cfg = 17; /**< Configuration for bss max idle, effective if CONFIG_WIFI_BSS_MAX_IDLE_SUPPORT is enabled */ + uint32 gtk_rekey_interval = 18; /**< GTK rekeying interval in seconds. If set to 0, GTK rekeying is disabled. Range: 60 ~ 65535 including 0. */ +} + +message wifi_sta_config { + bytes ssid = 1; /**< SSID of target AP. 32char */ + bytes password = 2; /**< Password of target AP. 64char */ + int32 scan_method = 3; /**< do all channel scan or fast scan */ + bool bssid_set = 4; /**< whether set MAC address of target AP or not. Generally, station_config.bssid_set needs to be 0, + and it needs to be 1 only when users need to check the MAC address of the AP.*/ + bytes bssid = 5; /**< MAC address of target AP 6char */ + uint32 channel = 6; /**< channel of target AP. Set to 1~13 to scan starting from the specified channel + before connecting to AP. If the channel of AP is unknown, set it to 0.*/ + uint32 listen_interval = 7; /**< Listen interval for ESP32 station to receive beacon when WIFI_PS_MAX_MODEM is set. +Units: AP beacon intervals. Defaults to 3 if set to 0. */ + int32 sort_method = 8; /**< sort the connect AP in the list by rssi or security mode */ + wifi_scan_threshold threshold = 9; /**< When sort_method is set, only APs which have an auth mode that is more secure + than the selected auth mode and a signal stronger than the minimum RSSI will be used. */ + wifi_pmf_config pmf_cfg = 10; /**< Configuration for Protected Management Frame. Will be advertized in RSN Capabilities in RSN IE. */ + //uint32_t rm_enabled:1; /**< Whether Radio Measurements are enabled for the connection */ + //uint32_t btm_enabled:1; /**< Whether BSS Transition Management is enabled for the connection */ + //uint32_t mbo_enabled:1; /**< Whether MBO is enabled for the connection */ + //uint32_t ft_enabled:1; /**< Whether FT is enabled for the connection */ + //uint32_t owe_enabled:1; /**< Whether OWE is enabled for the connection */ + //uint32_t transition_disable:1; /**< Whether to enable transition disable feature */ + //uint32_t reserved:26; /**< Reserved for future feature set */ + uint32 bitmask = 11; + int32 sae_pwe_h2e = 12; /**< Whether SAE hash to element is enabled */ + uint32 failure_retry_cnt = 13; /**< Number of connection retries station will do before moving to next AP. + scan_method should be set as WIFI_ALL_CHANNEL_SCAN to use this config. + Note: Enabling this may cause connection time to increase incase best AP doesn't behave properly. */ + //uint32_t he_dcm_set:1; /**< Whether DCM max.constellation for transmission and reception is set. */ + //uint32_t he_dcm_max_constellation_tx:2; /**< Indicate the max.constellation for DCM in TB PPDU the STA supported. 0: not supported. 1: BPSK, 2: QPSK, 3: 16-QAM. The default value is 3. */ + //uint32_t he_dcm_max_constellation_rx:2; /**< Indicate the max.constellation for DCM in both Data field and HE-SIG-B field the STA supported. 0: not supported. 1: BPSK, 2: QPSK, 3: 16-QAM. The default value is 3. */ + //uint32_t he_mcs9_enabled:1; /**< Whether to support HE-MCS 0 to 9. The default value is 0. */ + //uint32_t he_su_beamformee_disabled:1; /**< Whether to disable support for operation as an SU beamformee. */ + //uint32_t he_trig_su_bmforming_feedback_disabled:1; /**< Whether to disable support the transmission of SU feedback in an HE TB sounding sequence. */ + //uint32_t he_trig_mu_bmforming_partial_feedback_disabled:1; /**< Whether to disable support the transmission of partial-bandwidth MU feedback in an HE TB sounding sequence. */ + // uint32_t he_trig_cqi_feedback_disabled:1; /**< Whether to disable support the transmission of CQI feedback in an HE TB sounding sequence. */ + // uint32_t vht_su_beamformee_disabled: 1; /**< Whether to disable support for operation as an VHT SU beamformee. */ + // uint32_t vht_mu_beamformee_disabled: 1; /**< Whether to disable support for operation as an VHT MU beamformee. */ + // uint32_t vht_mcs8_enabled: 1; /**< Whether to support VHT-MCS8. The default value is 0. */ + // uint32_t he_reserved:19; /**< Reserved for future feature set */ + uint32 he_bitmask = 14; + bytes sae_h2e_identifier = 15; /**< Password identifier for H2E. this needs to be null terminated string. SAE_H2E_IDENTIFIER_LEN chars */ + uint32 sae_pk_mode = 16; /**< Configuration for SAE-PK (Public Key) Authentication method */ +} + +message wifi_config { + oneof u { + wifi_ap_config ap = 1; /**< configuration of AP */ + wifi_sta_config sta = 2; /**< configuration of STA */ + } +} + +message wifi_sta_info { + bytes mac = 1; /**< mac address 6 char */ + int32 rssi = 2; /**< current average rssi of sta connected */ + //uint32_t phy_11b:1; /**< bit: 0 flag to identify if 11b mode is enabled or not */ + //uint32_t phy_11g:1; /**< bit: 1 flag to identify if 11g mode is enabled or not */ + //uint32_t phy_11n:1; /**< bit: 2 flag to identify if 11n mode is enabled or not */ + //uint32_t phy_lr:1; /**< bit: 3 flag to identify if low rate is enabled or not */ + //uint32_t phy_11x:1; /**< bit: 4 flag to identify identify if 11ax mode is enabled or not */ + //uint32_t is_mesh_child:1; /**< bit: 5 flag to identify mesh child */ + //uint32_t reserved:26; /**< bit: 6..31 reserved */ + uint32 bitmask = 3; +} + +message wifi_sta_list { + repeated wifi_sta_info sta = 1; /**< station list */ + int32 num = 2; /**< number of stations in the list (other entries are invalid) */ +} + +//message vendor_ie_data { +// uint32 element_id = 1; /**< Should be set to WIFI_VENDOR_IE_ELEMENT_ID (0xDD) */ +// uint32 length = 2; /**< Length of all bytes in the element data following this field. Minimum 4. */ +// bytes vendor_oui = 3; /**< Vendor identifier (OUI). 3 chars */ +// uint32 vendor_oui_type = 4; /**< Vendor-specific OUI type. */ +// bytes payload = 5; /**< Payload. Length is equal to value in 'length' field, minus 4. Note: Variable size */ +//} + +message wifi_pkt_rx_ctrl { + int32 rssi = 1; /**< 8bits Received Signal Strength Indicator(RSSI) of packet. unit: dBm */ + uint32 rate = 2; /**< 5bits PHY rate encoding of the packet. Only valid for non HT(11bg) packet */ + //uint32 :1; /**< reserved */ + uint32 sig_mode = 3; /**< 2bits 0: non HT(11bg) packet; 1: HT(11n) packet; 3: VHT(11ac) packet */ + //uint32 :16; /**< reserved */ + uint32 mcs = 4; /**< 7bits Modulation Coding Scheme. If is HT(11n) packet, shows the modulation, range from 0 to 76(MSC0 ~ MCS76) */ + uint32 cwb = 5; /**< 1bit Channel Bandwidth of the packet. 0: 20MHz; 1: 40MHz */ + //uint32 :16; /**< reserved */ + uint32 smoothing = 6; /**< 1bit reserved */ + uint32 not_sounding = 7; /**< 1bit reserved */ + //uint32 :1; /**< reserved */ + uint32 aggregation = 8; /**< 1bit Aggregation. 0: MPDU packet; 1: AMPDU packet */ + uint32 stbc = 9; /**< 2bits Space Time Block Code(STBC). 0: non STBC packet; 1: STBC packet */ + uint32 fec_coding = 10; /**< 1bit Flag is set for 11n packets which are LDPC */ + uint32 sgi = 11; /**< 1bit Short Guide Interval(SGI). 0: Long GI; 1: Short GI */ + int32 noise_floor = 12; /**< 8bits noise floor of Radio Frequency Module(RF). unit: dBm*/ + uint32 ampdu_cnt = 13; /**< 8bits ampdu cnt */ + uint32 channel = 14; /**< 4bits primary channel on which this packet is received */ + uint32 secondary_channel = 15; /**< 4bits secondary channel on which this packet is received. 0: none; 1: above; 2: below */ + //uint32 :8; /**< reserved */ + uint32 timestamp = 16; /**< 32bit timestamp. The local time when this packet is received. It is precise only if modem sleep or light sleep is not enabled. unit: microsecond */ + //uint32 :32; /**< reserved */ + //unsigned :32; /**< reserved */ + //unsigned :31; /**< reserved */ + uint32 ant = 17; /**< 1bit antenna number from which this packet is received. 0: WiFi antenna 0; 1: WiFi antenna 1 */ + uint32 sig_len = 18; /**< 12bits length of packet including Frame Check Sequence(FCS) */ + //unsigned :12; /**< reserved */ + uint32 rx_state = 19; /**< 8bits state of the packet. 0: no error; others: error numbers which are not public */ +} + +message wifi_promiscuous_pkt { + wifi_pkt_rx_ctrl rx_ctrl = 1; /**< metadata header */ + bytes payload = 2; /**< Note: variable length. Data or management payload. Length of payload is described by rx_ctrl.sig_len. Type of content determined by packet type argument of callback. */ +} + +message wifi_promiscuous_filter { + uint32 filter_mask = 1; /**< OR of one or more filter values WIFI_PROMIS_FILTER_* */ +} + +message wifi_csi_config { + bool lltf_en = 1; /**< enable to receive legacy long training field(lltf) data. Default enabled */ + bool htltf_en = 2; /**< enable to receive HT long training field(htltf) data. Default enabled */ + bool stbc_htltf2_en = 3; /**< enable to receive space time block code HT long training field(stbc-htltf2) data. Default enabled */ + bool ltf_merge_en = 4; /**< enable to generate htlft data by averaging lltf and ht_ltf data when receiving HT packet. Otherwise, use ht_ltf data directly. Default enabled */ + bool channel_filter_en = 5; /**< enable to turn on channel filter to smooth adjacent sub-carrier. Disable it to keep independence of adjacent sub-carrier. Default enabled */ + bool manu_scale = 6; /**< manually scale the CSI data by left shifting or automatically scale the CSI data. + If set true, please set the shift bits. false: automatically. true: manually. Default false */ + uint32 shift = 7; /**< manually left shift bits of the scale of the CSI data. The range of the left shift bits is 0~15 */ +} + +message wifi_csi_info { + wifi_pkt_rx_ctrl rx_ctrl = 1; /**< received packet radio metadata header of the CSI data */ + bytes mac = 2; /**< 6bits source MAC address of the CSI data */ + bytes dmac = 3; /**< 6bits destination MAC address of the CSI data */ + bool first_word_invalid = 4; /**< first four bytes of the CSI data is invalid or not */ + bytes buf = 5; /**< Note: variable length. buffer of CSI data */ + uint32 len = 6; /**< length of CSI data */ +} + +message wifi_ant_gpio { + uint32 gpio_select = 1; /**< 1bit Whether this GPIO is connected to external antenna switch */ + uint32 gpio_num = 2; /**< 7bits The GPIO number that connects to external antenna switch */ +} + +message wifi_ant_gpio_config { + repeated wifi_ant_gpio gpio_cfgs = 1; /**< The configurations of GPIOs that connect to external antenna switch */ +} + +message wifi_ant_config { + int32 rx_ant_mode = 1; /**< WiFi antenna mode for receiving */ + int32 rx_ant_default = 2; /**< Default antenna mode for receiving, it's ignored if rx_ant_mode is not WIFI_ANT_MODE_AUTO */ + int32 tx_ant_mode = 3; /**< WiFi antenna mode for transmission, it can be set to WIFI_ANT_MODE_AUTO only if rx_ant_mode is set to WIFI_ANT_MODE_AUTO */ + uint32 enabled_ant0 = 4; /**< 4bits Index (in antenna GPIO configuration) of enabled WIFI_ANT_MODE_ANT0 */ + uint32 enabled_ant1 = 5; /**< 4bits Index (in antenna GPIO configuration) of enabled WIFI_ANT_MODE_ANT1 */ +} + +message wifi_action_tx_req { + int32 ifx = 1; /**< WiFi interface to send request to */ + bytes dest_mac = 2; /**< 6bits Destination MAC address */ + bool no_ack = 3; /**< Indicates no ack required */ + //TODO + //wifi_action_rx_cb_t rx_cb; /**< Rx Callback to receive any response */ + uint32 data_len = 4; /**< Length of the appended Data */ + bytes data = 5; /**< note: variable length. Appended Data payload */ +} + +message wifi_ftm_initiator_cfg { + bytes resp_mac = 1; /**< 6bits MAC address of the FTM Responder */ + uint32 channel = 2; /**< Primary channel of the FTM Responder */ + uint32 frm_count = 3; /**< No. of FTM frames requested in terms of 4 or 8 bursts (allowed values - 0(No pref), 16, 24, 32, 64) */ + uint32 burst_period = 4; /**< Requested time period between consecutive FTM bursts in 100's of milliseconds (0 - No pref) */ +} + +message wifi_event_sta_scan_done { + uint32 status = 1; /**< status of scanning APs: 0 — success, 1 - failure */ + uint32 number = 2; /**< number of scan results */ + uint32 scan_id = 3; /**< scan sequence number, used for block scan */ +} + +message wifi_event_sta_connected { + bytes ssid = 1; /**< 32bytes SSID of connected AP */ + uint32 ssid_len = 2; /**< SSID length of connected AP */ + bytes bssid = 3; /**< 6bytes BSSID of connected AP*/ + uint32 channel = 4; /**< channel of connected AP*/ + int32 authmode = 5; /**< authentication mode used by AP*/ + int32 aid = 6; /**< authentication id assigned by the connected AP*/ +} + +message wifi_event_sta_disconnected { + bytes ssid = 1; /**< SSID of disconnected AP */ + uint32 ssid_len = 2; /**< SSID length of disconnected AP */ + bytes bssid = 3; /**< BSSID of disconnected AP */ + uint32 reason = 4; /**< reason of disconnection */ + int32 rssi = 5; /**< rssi of disconnection */ +} + +message wifi_event_sta_authmode_change { + int32 old_mode = 1; /**< the old auth mode of AP */ + int32 new_mode = 2; /**< the new auth mode of AP */ +} + +message wifi_event_sta_wps_er_pin { + bytes pin_code = 1; /**< 8bytes PIN code of station in enrollee mode */ +} + +message ap_cred { + bytes ssid = 1; /**< 32bytes SSID of AP */ + bytes passphrase = 2; /**< 64bytes Passphrase for the AP */ +} + +message wifi_event_sta_wps_er_success { + uint32 ap_cred_cnt = 1; /**< Number of AP credentials received */ + repeated ap_cred ap_creds = 2; /**< All AP credentials received from WPS handshake */ +} + +/** Argument structure for WIFI_EVENT_AP_PROBEREQRECVED event */ +message wifi_event_ap_probe_req_rx { + int32 rssi = 1; /**< Received probe request signal strength */ + uint32 mac = 2; /**< MAC address of the station which send probe request */ +} + +/** Argument structure for WIFI_EVENT_STA_BSS_RSSI_LOW event */ +message wifi_event_bss_rssi_low { + int32 rssi = 1; /**< RSSI value of bss */ +} + +message wifi_ftm_report_entry { + uint32 dlog_token = 1; /* *< Dialog Token of the FTM frame */ + int32 rssi = 2; /* *< RSSI of the FTM frame received */ + uint32 rtt = 3; /* *< Round Trip Time in pSec with a peer */ + /* TODO: uint32 is supported by proto? */ + uint64 t1 = 4; /* *< Time of departure of FTM frame from FTM Responder in pSec */ + uint64 t2 = 5; /* *< Time of arrival of FTM frame at FTM Initiator in pSec */ + uint64 t3 = 6; /* *< Time of departure of ACK from FTM Initiator in pSec */ + uint64 t4 = 7; /* *< Time of arrival of ACK at FTM Responder in pSec */ +} + +message wifi_event_ftm_report { + bytes peer_mac = 1; /* *< 6bytes MAC address of the FTM Peer */ + int32 status = 2; /* *< Status of the FTM operation */ + uint32 rtt_raw = 3; /* *< Raw average Round-Trip-Time with peer in Nano-Seconds */ + uint32 rtt_est = 4; /* *< Estimated Round-Trip-Time with peer in Nano-Seconds */ + uint32 dist_est = 5; /* *< Estimated one-way distance in Centi-Meters */ + repeated wifi_ftm_report_entry ftm_report_data = 6; /* *< Note var len Pointer to FTM Report with multiple entries, should be freed after use */ + uint32 ftm_report_num_entries = 7; /* *< Number of entries in the FTM Report data */ +} + +message wifi_event_action_tx_status { + int32 ifx = 1; /**< WiFi interface to send request to */ + uint32 context = 2; /**< Context to identify the request */ + bytes da = 3; /**< 6bytes Destination MAC address */ + uint32 status = 4; /**< Status of the operation */ +} + +message wifi_event_roc_done { + uint32 context = 1; /**< Context to identify the request */ +} + +message wifi_event_ap_wps_rg_pin { + bytes pin_code = 1; /**< 8bytes PIN code of station in enrollee mode */ +} + +message wifi_event_ap_wps_rg_fail_reason { + int32 reason = 1; /**< WPS failure reason wps_fail_reason_t */ + bytes peer_macaddr = 2; /**< 6bytes Enrollee mac address */ +} + +message wifi_event_ap_wps_rg_success { + bytes peer_macaddr = 1; /**< 6bytes Enrollee mac address */ +} + +message wifi_protocols { + uint32 ghz_2g = 1; /**< Represents 2.4 GHz protocol, support 802.11b or 802.11g or 802.11n or 802.11ax or LR mode */ + uint32 ghz_5g = 2; /**< Represents 5 GHz protocol, support 802.11a or 802.11n or 802.11ac or 802.11ax */ +} + +message wifi_bandwidths { + uint32 ghz_2g = 1; /* Represents 2.4 GHz bandwidth */ + uint32 ghz_5g = 2; /* Represents 5 GHz bandwidth */ +} + +message wifi_itwt_setup_config { + uint32 setup_cmd = 1; + // uint16_t trigger : 1; /**< 1: a trigger-enabled individual TWT, 0: a non-trigger-enabled individual TWT */ + // uint16_t flow_type : 1; /**< 0: an announced individual TWT, 1: an unannounced individual TWT */ + // uint16_t flow_id : 3; /**< When set up an individual TWT agreement, the flow id will be assigned by AP after a successful agreement setup. + // flow_id could be specified to a value in the range of [0, 7], but it might be changed by AP in the response. + // When change TWT parameters of the existing TWT agreement, flow_id should be an existing one. The value range is [0, 7]. */ + // uint16_t wake_invl_expn : 5; /**< Individual TWT Wake Interval Exponent. The value range is [0, 31]. */ + // uint16_t wake_duration_unit : 1; /**< Individual TWT Wake duration unit, 0: 256us 1: TU (TU = 1024us)*/ + // uint16_t reserved : 5; /**< bit: 11.15 reserved */ + uint32 bitmask_1 = 2; + uint32 min_wake_dura = 3; + uint32 wake_invl_mant = 4; + uint32 twt_id = 5; + uint32 timeout_time_ms = 6; +} + +message wifi_twt_config { + bool post_wakeup_event = 1; /**< post twt wakeup event */ + bool twt_enable_keep_alive = 2; /**< twt enable send qos null to keep alive */ +} + +/* internal supporting structures for Rpc */ +//message ScanResult { +// bytes bssid = 1; +// bytes ssid = 2; +// uint32 chnl = 3; +// int32 rssi = 4; +// int32 sec_prot = 5; +//} + +message ConnectedSTAList { + bytes mac = 1; + int32 rssi = 2; +} + +message eap_fast_config { + int32 fast_provisioning = 1; // Enable or disable Fast Provisioning in EAP-FAST (0 = disabled, 1 = enabled) + int32 fast_max_pac_list_len = 2; // Maximum length of the PAC (Protected Access Credential) list + bool fast_pac_format_binary = 3; // Set to true for binary format PAC, false for ASCII format PAC +} + +/* Control path structures */ +/** Req/Resp structure **/ +message Rpc_Req_GetMacAddress { + int32 mode = 1; +} + +message Rpc_Resp_GetMacAddress { + bytes mac = 1; + int32 resp = 2; +} + +message Rpc_Req_GetMode { +} + +message Rpc_Resp_GetMode { + int32 mode = 1; + int32 resp = 2; +} + +message Rpc_Req_SetMode { + int32 mode = 1; +} + +message Rpc_Resp_SetMode { + int32 resp = 1; +} + +message Rpc_Req_GetPs { +} + +message Rpc_Resp_GetPs { + int32 resp = 1; + int32 type = 2; +} + +message Rpc_Req_SetPs { + int32 type = 1; +} + +message Rpc_Resp_SetPs { + int32 resp = 1; +} + +message Rpc_Req_SetMacAddress { + bytes mac = 1; + int32 mode = 2; +} + +message Rpc_Resp_SetMacAddress { + int32 resp = 1; +} + +message Rpc_Req_OTABegin { +} + +message Rpc_Resp_OTABegin { + int32 resp = 1; +} + +message Rpc_Req_OTAWrite { + bytes ota_data = 1; +} + +message Rpc_Resp_OTAWrite { + int32 resp = 1; +} + +message Rpc_Req_OTAEnd { +} + +message Rpc_Resp_OTAEnd { + int32 resp = 1; +} + +message Rpc_Req_OTAActivate { +} + +message Rpc_Resp_OTAActivate { + int32 resp = 1; +} + +message Rpc_Req_WifiSetMaxTxPower { + int32 power = 1; +} + +message Rpc_Resp_WifiSetMaxTxPower { + int32 resp = 1; +} + +message Rpc_Req_WifiGetMaxTxPower { +} + +message Rpc_Resp_WifiGetMaxTxPower { + int32 power = 1; + int32 resp = 2; +} + +message Rpc_Req_ConfigHeartbeat { + bool enable = 1; + int32 duration = 2; +} + +message Rpc_Resp_ConfigHeartbeat { + int32 resp = 1; +} + +message Rpc_Req_WifiInit { + wifi_init_config cfg = 1; +} + +message Rpc_Resp_WifiInit { + int32 resp = 1; +} + +message Rpc_Req_WifiDeinit { +} + +message Rpc_Resp_WifiDeinit { + int32 resp = 1; +} + +message Rpc_Req_WifiSetConfig { + int32 iface = 1; + wifi_config cfg = 2; +} + +message Rpc_Resp_WifiSetConfig { + int32 resp = 1; +} + +message Rpc_Req_WifiGetConfig { + int32 iface = 1; +} + +message Rpc_Resp_WifiGetConfig { + int32 resp = 1; + int32 iface = 2; + wifi_config cfg = 3; +} + +message Rpc_Req_WifiConnect { +} + +message Rpc_Resp_WifiConnect { + int32 resp = 1; +} + +message Rpc_Req_WifiDisconnect { +} + +message Rpc_Resp_WifiDisconnect { + int32 resp = 1; +} + +message Rpc_Req_WifiStart { +} + +message Rpc_Resp_WifiStart { + int32 resp = 1; +} + +message Rpc_Req_WifiStop { +} + +message Rpc_Resp_WifiStop { + int32 resp = 1; +} + +message Rpc_Req_WifiScanStart { + wifi_scan_config config = 1; + bool block = 2; + int32 config_set = 3; +} + +message Rpc_Resp_WifiScanStart { + int32 resp = 1; +} + +message Rpc_Req_WifiScanStop { +} + +message Rpc_Resp_WifiScanStop { + int32 resp = 1; +} + +message Rpc_Req_WifiScanGetApNum { +} + +message Rpc_Resp_WifiScanGetApNum { + int32 resp = 1; + int32 number = 2; +} + +message Rpc_Req_WifiScanGetApRecords { + int32 number = 1; +} + +message Rpc_Resp_WifiScanGetApRecords { + int32 resp = 1; + int32 number = 2; + repeated wifi_ap_record ap_records = 3; +} + +message Rpc_Req_WifiScanGetApRecord { +} + +message Rpc_Resp_WifiScanGetApRecord { + int32 resp = 1; + wifi_ap_record ap_record = 2; +} + +message Rpc_Req_WifiClearApList { +} + +message Rpc_Resp_WifiClearApList { + int32 resp = 1; +} + +message Rpc_Req_WifiRestore { +} + +message Rpc_Resp_WifiRestore { + int32 resp = 1; +} + +message Rpc_Req_WifiClearFastConnect{ +} + +message Rpc_Resp_WifiClearFastConnect { + int32 resp = 1; +} + +message Rpc_Req_WifiDeauthSta { + int32 aid = 1; +} + +message Rpc_Resp_WifiDeauthSta { + int32 resp = 1; + int32 aid = 2; +} + +message Rpc_Req_WifiStaGetApInfo { +} + +message Rpc_Resp_WifiStaGetApInfo { + int32 resp = 1; + wifi_ap_record ap_record = 2; +} + +message Rpc_Req_WifiSetProtocol { + int32 ifx = 1; + int32 protocol_bitmap = 2; +} + +message Rpc_Resp_WifiSetProtocol { + int32 resp = 1; +} + +message Rpc_Req_WifiGetProtocol { + int32 ifx = 1; +} + +message Rpc_Resp_WifiGetProtocol { + int32 resp = 1; + int32 protocol_bitmap = 2; +} + +message Rpc_Req_WifiSetBandwidth { + int32 ifx = 1; + int32 bw = 2; +} + +message Rpc_Resp_WifiSetBandwidth { + int32 resp = 1; +} + +message Rpc_Req_WifiGetBandwidth { + int32 ifx = 1; +} + +message Rpc_Resp_WifiGetBandwidth { + int32 resp = 1; + int32 bw = 2; +} + +message Rpc_Req_WifiSetChannel { + int32 primary = 1; + int32 second = 2; +} + +message Rpc_Resp_WifiSetChannel { + int32 resp = 1; +} + +message Rpc_Req_WifiGetChannel { +} + +message Rpc_Resp_WifiGetChannel { + int32 resp = 1; + int32 primary = 2; + int32 second = 3; +} + +message Rpc_Req_WifiSetStorage { + int32 storage = 1; +} + +message Rpc_Resp_WifiSetStorage { + int32 resp = 1; +} + +message Rpc_Req_WifiSetCountryCode { + bytes country = 1; + bool ieee80211d_enabled = 2; +} + +message Rpc_Resp_WifiSetCountryCode { + int32 resp = 1; +} + +message Rpc_Req_WifiGetCountryCode { +} + +message Rpc_Resp_WifiGetCountryCode { + int32 resp = 1; + bytes country = 2; +} + +message Rpc_Req_WifiSetCountry { + wifi_country country = 1; +} + +message Rpc_Resp_WifiSetCountry { + int32 resp = 1; +} + +message Rpc_Req_WifiGetCountry { +} + +message Rpc_Resp_WifiGetCountry { + int32 resp = 1; + wifi_country country = 2; +} + +message Rpc_Req_WifiApGetStaList { +} + +message Rpc_Resp_WifiApGetStaList { + int32 resp = 1; + wifi_sta_list sta_list = 2; +} + +message Rpc_Req_WifiApGetStaAid { + bytes mac = 1; +} + +message Rpc_Req_WifiStaGetNegotiatedPhymode { +} + +message Rpc_Resp_WifiStaGetNegotiatedPhymode { + int32 resp = 1; + uint32 phymode = 2; +} + +message Rpc_Resp_WifiApGetStaAid { + int32 resp = 1; + uint32 aid = 2; +} + +message Rpc_Req_WifiStaGetRssi { +} + +message Rpc_Resp_WifiStaGetRssi { + int32 resp = 1; + int32 rssi = 2; +} + +message Rpc_Req_WifiStaGetAid { +} + +message Rpc_Resp_WifiStaGetAid { + int32 resp = 1; + uint32 aid = 2; +} + +message Rpc_Req_WifiSetProtocols { + int32 ifx = 1; + wifi_protocols protocols = 2; +} + +message Rpc_Resp_WifiSetProtocols { + int32 resp = 1; + uint32 ifx = 2; +} + +message Rpc_Req_WifiGetProtocols { + int32 ifx = 1; +} + +message Rpc_Resp_WifiGetProtocols { + int32 resp = 1; + int32 ifx = 2; + wifi_protocols protocols = 3; +} + +message Rpc_Req_WifiSetBandwidths { + int32 ifx = 1; + wifi_bandwidths bandwidths = 2; +} + +message Rpc_Resp_WifiSetBandwidths { + int32 resp = 1; + int32 ifx = 2; +} + +message Rpc_Req_WifiGetBandwidths { + int32 ifx = 1; +} + +message Rpc_Resp_WifiGetBandwidths { + int32 resp = 1; + int32 ifx = 2; + wifi_bandwidths bandwidths = 3; +} + +message Rpc_Req_WifiSetBand { + uint32 band = 1; +} + +message Rpc_Resp_WifiSetBand { + int32 resp = 1; +} + +message Rpc_Req_WifiGetBand { +} + +message Rpc_Resp_WifiGetBand { + int32 resp = 1; + uint32 band = 2; +} + +message Rpc_Req_WifiSetBandMode { + uint32 bandmode = 1; +} + +message Rpc_Resp_WifiSetBandMode { + int32 resp = 1; +} + +message Rpc_Req_WifiGetBandMode { +} + +message Rpc_Resp_WifiGetBandMode { + int32 resp = 1; + uint32 bandmode = 2; +} + +message Rpc_Req_WifiSetInactiveTime { + uint32 ifx = 1; + uint32 sec = 2; +} + +message Rpc_Resp_WifiSetInactiveTime { + int32 resp = 1; +} + +message Rpc_Req_WifiGetInactiveTime { + uint32 ifx = 1; +} + +message Rpc_Resp_WifiGetInactiveTime { + int32 resp = 1; + uint32 sec = 2; +} + +message Rpc_Req_WifiStaItwtSetup { + wifi_itwt_setup_config setup_config = 1; +} + +message Rpc_Resp_WifiStaItwtSetup { + int32 resp = 1; +} + +message Rpc_Req_WifiStaItwtTeardown { + int32 flow_id = 1; +} + +message Rpc_Resp_WifiStaItwtTeardown { + int32 resp = 1; +} + +message Rpc_Req_WifiStaItwtSuspend { + int32 flow_id = 1; + int32 suspend_time_ms = 2; +} + +message Rpc_Resp_WifiStaItwtSuspend { + int32 resp = 1; +} + +message Rpc_Req_WifiStaItwtGetFlowIdStatus { +} + +message Rpc_Resp_WifiStaItwtGetFlowIdStatus { + int32 resp = 1; + int32 flow_id_bitmap = 2; +} + +message Rpc_Req_WifiStaItwtSendProbeReq { + int32 timeout_ms = 1; +} + +message Rpc_Resp_WifiStaItwtSendProbeReq { + int32 resp = 1; +} + +message Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset { + int32 offset_us = 1; +} + +message Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset { + int32 resp = 1; +} + +message Rpc_Req_WifiStaTwtConfig { + wifi_twt_config config = 1; +} + +message Rpc_Resp_WifiStaTwtConfig { + int32 resp = 1; +} + +message Rpc_Req_GetCoprocessorFwVersion { +} + +message Rpc_Resp_GetCoprocessorFwVersion { + int32 resp = 1; + uint32 major1 = 2; + uint32 minor1 = 3; + uint32 patch1 = 4; +} + +message Rpc_Req_SetDhcpDnsStatus { + int32 iface = 1; + int32 net_link_up = 2; + + int32 dhcp_up = 3; + bytes dhcp_ip = 4; + bytes dhcp_nm = 5; + bytes dhcp_gw = 6; + + int32 dns_up = 7; + bytes dns_ip = 8; + int32 dns_type = 9; +} + +message Rpc_Resp_SetDhcpDnsStatus { + int32 resp = 1; +} + +message Rpc_Req_GetDhcpDnsStatus { + int32 iface = 1; +} + +message Rpc_Resp_GetDhcpDnsStatus { + int32 iface = 1; + int32 net_link_up = 2; + + int32 dhcp_up = 3; + bytes dhcp_ip = 4; + bytes dhcp_nm = 5; + bytes dhcp_gw = 6; + + int32 dns_up = 7; + bytes dns_ip = 8; + int32 dns_type = 9; + int32 resp = 10; +} + +message Rpc_Req_SuppDppInit { + bool cb = 1; // enables sending of Event_SuppDpp to host via callback +} + +message Rpc_Resp_SuppDppInit { + int32 resp = 1; +} + +message Rpc_Req_SuppDppDeinit { +} + +message Rpc_Resp_SuppDppDeinit { + int32 resp = 1; +} + +message Rpc_Req_SuppDppBootstrapGen { + bytes chan_list = 1; // DPP Bootstrapping listen channels separated by commas + int32 type = 2; // Bootstrap method type, only QR Code method is supported for now. + bytes key = 3; // (Optional) 32 byte Raw Private Key for generating a Bootstrapping Public Key + bytes info = 4; // (Optional) Ancillary Device Information like Serial Number +} + +message Rpc_Resp_SuppDppBootstrapGen { + int32 resp = 1; +} + +message Rpc_Req_SuppDppStartListen { +} + +message Rpc_Resp_SuppDppStartListen { + int32 resp = 1; +} + +message Rpc_Req_SuppDppStopListen { +} + +message Rpc_Resp_SuppDppStopListen { + int32 resp = 1; +} + +message Rpc_Req_IfaceMacAddrSetGet { + bool set = 1; + uint32 type = 2; + bytes mac = 3; // only valid for set +}; + +message Rpc_Resp_IfaceMacAddrSetGet { + int32 resp = 1; + bool set = 2; + uint32 type = 3; + bytes mac = 4; +}; + +message Rpc_Req_IfaceMacAddrLenGet { + uint32 type = 1; +}; + +message Rpc_Resp_IfaceMacAddrLenGet { + int32 resp = 1; + uint32 type = 2; + uint32 len = 3; +}; + +message Rpc_Req_FeatureControl { + RpcFeature feature = 1; + RpcFeatureCommand command = 2; + RpcFeatureOption option = 3; +}; + +message Rpc_Resp_FeatureControl { + int32 resp = 1; + RpcFeature feature = 2; + RpcFeatureCommand command = 3; + RpcFeatureOption option = 4; +}; + +/** Event structure **/ + +message Rpc_Event_WifiEventNoArgs { + int32 resp = 1; + int32 event_id = 2; +} + +message Rpc_Event_ESPInit { + bytes init_data = 1; +} + +message Rpc_Event_Heartbeat { + int32 hb_num = 1; +} + +message Rpc_Event_AP_StaDisconnected { + int32 resp = 1; + bytes mac = 2; + uint32 aid = 3; + bool is_mesh_child = 4; + uint32 reason = 5; +} + +message Rpc_Event_AP_StaConnected { + int32 resp = 1; + bytes mac = 2; + uint32 aid = 3; + bool is_mesh_child = 4; +} + +message Rpc_Event_StaScanDone { + int32 resp = 1; + wifi_event_sta_scan_done scan_done = 2; +} + +message Rpc_Event_StaConnected { + int32 resp = 1; + wifi_event_sta_connected sta_connected = 2; +} + +message Rpc_Event_StaDisconnected { + int32 resp = 1; + wifi_event_sta_disconnected sta_disconnected = 2; +} + +message Rpc_Event_DhcpDnsStatus { + int32 iface = 1; + int32 net_link_up = 2; + + int32 dhcp_up = 3; + bytes dhcp_ip = 4; + bytes dhcp_nm = 5; + bytes dhcp_gw = 6; + + int32 dns_up = 7; + bytes dns_ip = 8; + int32 dns_type = 9; + int32 resp = 10; +} + +message Rpc_Event_StaItwtSetup { + int32 resp = 1; + wifi_itwt_setup_config config = 2; + int32 status = 3; + uint32 reason = 4; + uint64 target_wake_time = 5; +} + +message Rpc_Event_StaItwtTeardown { + int32 resp = 1; + uint32 flow_id = 2; + uint32 status = 3; +} + +message Rpc_Event_StaItwtSuspend { + int32 resp = 1; + int32 status = 2; + uint32 flow_id_bitmap = 3; + repeated uint32 actual_suspend_time_ms = 4; // represents uint32_t actual_suspend_time_ms[] +} + +message Rpc_Event_StaItwtProbe { + int32 resp = 1; + int32 status = 2; + uint32 reason = 3; +} + +message Rpc_Req_WifiStaEnterpriseEnable { +} + +message Rpc_Resp_WifiStaEnterpriseEnable { + int32 resp = 1; +} + +message Rpc_Req_WifiStaEnterpriseDisable { +} + +message Rpc_Resp_WifiStaEnterpriseDisable { + int32 resp = 1; +} + +message Rpc_Req_EapSetIdentity { + bytes identity = 1; + int32 len = 2; +} + +message Rpc_Resp_EapSetIdentity { + int32 resp = 1; +} + +message Rpc_Req_EapClearIdentity { +} + +message Rpc_Resp_EapClearIdentity { + int32 resp = 1; +} + +message Rpc_Req_EapSetUsername { + bytes username = 1; + int32 len = 2; +} + +message Rpc_Resp_EapSetUsername { + int32 resp = 1; +} + +message Rpc_Req_EapClearUsername { +} + +message Rpc_Resp_EapClearUsername { + int32 resp = 1; +} + +message Rpc_Req_EapSetPassword { + bytes password = 1; + int32 len = 2; +} + +message Rpc_Resp_EapSetPassword { + int32 resp = 1; +} + +message Rpc_Req_EapClearPassword { +} + +message Rpc_Resp_EapClearPassword { + int32 resp = 1; +} + +message Rpc_Req_EapSetNewPassword { + bytes new_password = 1; + int32 len = 2; +} + +message Rpc_Resp_EapSetNewPassword { + int32 resp = 1; +} + +message Rpc_Req_EapClearNewPassword { +} + +message Rpc_Resp_EapClearNewPassword { + int32 resp = 1; +} + +message Rpc_Req_EapSetCaCert { + bytes ca_cert = 1; + int32 ca_cert_len = 2; +} + +message Rpc_Resp_EapSetCaCert { + int32 resp = 1; +} + +message Rpc_Req_EapClearCaCert { +} + +message Rpc_Resp_EapClearCaCert { + int32 resp = 1; +} + +message Rpc_Req_EapSetCertificateAndKey { + bytes client_cert = 1; + int32 client_cert_len = 2; + bytes private_key = 3; + int32 private_key_len = 4; + bytes private_key_password = 5; + int32 private_key_passwd_len = 6; +} + +message Rpc_Resp_EapSetCertificateAndKey { + int32 resp = 1; +} + +message Rpc_Req_EapClearCertificateAndKey { +} + +message Rpc_Resp_EapClearCertificateAndKey { + int32 resp = 1; +} + +message Rpc_Req_EapSetDisableTimeCheck { + bool disable = 1; +} + +message Rpc_Resp_EapSetDisableTimeCheck { + int32 resp = 1; +} + +message Rpc_Req_EapGetDisableTimeCheck { +} + +message Rpc_Resp_EapGetDisableTimeCheck { + int32 resp = 1; + bool disable = 2; +} + +message Rpc_Req_EapSetTtlsPhase2Method { + int32 type = 1; +} + +message Rpc_Resp_EapSetTtlsPhase2Method { + int32 resp = 1; +} + +message Rpc_Req_EapSetSuiteb192bitCertification { + bool enable = 1; +} + +message Rpc_Resp_EapSetSuiteb192bitCertification { + int32 resp = 1; +} + +message Rpc_Req_EapSetPacFile { + bytes pac_file = 1; + int32 pac_file_len = 2; +} + +message Rpc_Resp_EapSetPacFile { + int32 resp = 1; +} + +message Rpc_Req_EapSetFastParams { + eap_fast_config eap_fast_config = 1; +} + +message Rpc_Resp_EapSetFastParams { + int32 resp = 1; +} + +message Rpc_Req_EapUseDefaultCertBundle { + bool use_default_bundle = 1; +} + +message Rpc_Resp_EapUseDefaultCertBundle { + int32 resp = 1; +} + +message Rpc_Req_WifiSetOkcSupport { + bool enable = 1; +} + +message Rpc_Resp_WifiSetOkcSupport { + int32 resp = 1; +} + +message Rpc_Req_EapSetDomainName { + bytes domain_name = 1; +} + +message Rpc_Resp_EapSetDomainName { + int32 resp = 1; +} + +message Rpc_Req_EapSetEapMethods { + int32 methods = 1; +} + +message Rpc_Resp_EapSetEapMethods { + int32 resp = 1; +} + +message Rpc_Event_SuppDppUriReady { + int32 resp = 1; + bytes qrcode = 2; // QR Code to configure the enrollee +} + +message Rpc_Event_SuppDppCfgRecvd { + int32 resp = 1; + wifi_config cfg = 2; +} + +message Rpc_Event_SuppDppFail { + int32 resp = 1; + int32 reason = 2; // failure reason +} + +message Rpc_Event_WifiDppUriReady { + int32 resp = 1; + bytes qrcode = 2; // QR Code to configure the enrollee +} + +message Rpc_Event_WifiDppCfgRecvd { + int32 resp = 1; + wifi_config cfg = 2; +} + +message Rpc_Event_WifiDppFail { + int32 resp = 1; + int32 reason = 2; // failure reason +} + +enum Rpc_GpioMode { + GPIO_MODE_DISABLE = 0; + GPIO_MODE_INPUT = 1; + GPIO_MODE_OUTPUT = 2; + GPIO_MODE_INPUT_OUTPUT = 3; +} + +enum Rpc_GpioPullMode { + GPIO_PULL_NONE = 0; + GPIO_PULL_UP = 1; + GPIO_PULL_DOWN = 2; +} + +message Rpc_GpioConfig { + uint64 pin_bit_mask = 1; + Rpc_GpioMode mode = 2; + bool pull_up_en = 3; + bool pull_down_en = 4; + int32 intr_type = 5; +} + +message Rpc_Req_GpioConfig { + Rpc_GpioConfig config = 1; +} +message Rpc_Resp_GpioConfig { + int32 resp = 1; +} + +message Rpc_Req_GpioReset { + int32 gpio_num = 1; +} +message Rpc_Resp_GpioResetPin { + int32 resp = 1; +} + +message Rpc_Req_GpioSetLevel { + int32 gpio_num = 1; + uint32 level = 2; // 0 or 1 +} +message Rpc_Resp_GpioSetLevel { + int32 resp = 1; +} + +message Rpc_Req_GpioGetLevel { + int32 gpio_num = 1; +} +message Rpc_Resp_GpioGetLevel { + int32 resp = 1; + uint32 level = 2; +} + +message Rpc_Req_GpioSetDirection { + int32 gpio_num = 1; + Rpc_GpioMode mode = 2; +} +message Rpc_Resp_GpioSetDirection { + int32 resp = 1; +} + +message Rpc_Req_GpioInputEnable { + int32 gpio_num = 1; +} +message Rpc_Resp_GpioInputEnable { + int32 resp = 1; +} + +message Rpc_Req_GpioSetPullMode { + int32 gpio_num = 1; + Rpc_GpioPullMode pull = 2; +} +message Rpc_Resp_GpioSetPullMode { + int32 resp = 1; +} + +message Rpc { + /* msg_type could be req, resp or Event */ + RpcType msg_type = 1; + + /* msg id */ + RpcId msg_id = 2; + + /* UID of message */ + uint32 uid = 3; + + /* union of all msg ids */ + oneof payload { + /** Requests **/ + Rpc_Req_GetMacAddress req_get_mac_address = 257; + Rpc_Req_SetMacAddress req_set_mac_address = 258; + Rpc_Req_GetMode req_get_wifi_mode = 259; + Rpc_Req_SetMode req_set_wifi_mode = 260; + + Rpc_Req_SuppDppInit req_supp_dpp_init = 261; + Rpc_Req_SuppDppDeinit req_supp_dpp_deinit = 262; + Rpc_Req_SuppDppBootstrapGen req_supp_dpp_bootstrap_gen = 263; + Rpc_Req_SuppDppStartListen req_supp_dpp_start_listen = 264; + Rpc_Req_SuppDppStopListen req_supp_dpp_stop_listen = 265; + + //Rpc_Req_StartSoftAP req_start_softap = 267; + //Rpc_Req_SoftAPConnectedSTA req_softap_connected_stas_list = 268; + //Rpc_Req_GetStatus req_stop_softap = 269; + Rpc_Req_OTAActivate req_ota_activate = 266; + + Rpc_Req_SetPs req_wifi_set_ps = 270; + Rpc_Req_GetPs req_wifi_get_ps = 271; + + Rpc_Req_OTABegin req_ota_begin = 272; + Rpc_Req_OTAWrite req_ota_write = 273; + Rpc_Req_OTAEnd req_ota_end = 274; + + Rpc_Req_WifiSetMaxTxPower req_set_wifi_max_tx_power = 275; + Rpc_Req_WifiGetMaxTxPower req_get_wifi_max_tx_power = 276; + Rpc_Req_ConfigHeartbeat req_config_heartbeat = 277; + + Rpc_Req_WifiInit req_wifi_init = 278; + Rpc_Req_WifiDeinit req_wifi_deinit = 279; + Rpc_Req_WifiStart req_wifi_start = 280; + Rpc_Req_WifiStop req_wifi_stop = 281; + Rpc_Req_WifiConnect req_wifi_connect = 282; + Rpc_Req_WifiDisconnect req_wifi_disconnect = 283; + Rpc_Req_WifiSetConfig req_wifi_set_config = 284; + Rpc_Req_WifiGetConfig req_wifi_get_config = 285; + + Rpc_Req_WifiScanStart req_wifi_scan_start = 286; + Rpc_Req_WifiScanStop req_wifi_scan_stop = 287; + Rpc_Req_WifiScanGetApNum req_wifi_scan_get_ap_num = 288; + Rpc_Req_WifiScanGetApRecords req_wifi_scan_get_ap_records = 289; + Rpc_Req_WifiClearApList req_wifi_clear_ap_list = 290; + + Rpc_Req_WifiRestore req_wifi_restore = 291; + Rpc_Req_WifiClearFastConnect req_wifi_clear_fast_connect = 292; + Rpc_Req_WifiDeauthSta req_wifi_deauth_sta = 293; + Rpc_Req_WifiStaGetApInfo req_wifi_sta_get_ap_info = 294; + + Rpc_Req_WifiSetProtocol req_wifi_set_protocol = 297; + Rpc_Req_WifiGetProtocol req_wifi_get_protocol = 298; + Rpc_Req_WifiSetBandwidth req_wifi_set_bandwidth = 299; + Rpc_Req_WifiGetBandwidth req_wifi_get_bandwidth = 300; + Rpc_Req_WifiSetChannel req_wifi_set_channel = 301; + Rpc_Req_WifiGetChannel req_wifi_get_channel = 302; + Rpc_Req_WifiSetCountry req_wifi_set_country = 303; + Rpc_Req_WifiGetCountry req_wifi_get_country = 304; + + Rpc_Req_WifiApGetStaList req_wifi_ap_get_sta_list = 311; + Rpc_Req_WifiApGetStaAid req_wifi_ap_get_sta_aid = 312; + Rpc_Req_WifiSetStorage req_wifi_set_storage = 313; + + Rpc_Req_WifiSetInactiveTime req_wifi_set_inactive_time = 325; + Rpc_Req_WifiGetInactiveTime req_wifi_get_inactive_time = 326; + + Rpc_Req_WifiSetCountryCode req_wifi_set_country_code = 334; + Rpc_Req_WifiGetCountryCode req_wifi_get_country_code = 335; + Rpc_Req_WifiStaGetAid req_wifi_sta_get_aid = 338; + Rpc_Req_WifiStaGetNegotiatedPhymode req_wifi_sta_get_negotiated_phymode = 339; + + Rpc_Req_WifiStaGetRssi req_wifi_sta_get_rssi = 341; + + Rpc_Req_WifiSetProtocols req_wifi_set_protocols = 342; + Rpc_Req_WifiGetProtocols req_wifi_get_protocols = 343; + Rpc_Req_WifiSetBandwidths req_wifi_set_bandwidths = 344; + Rpc_Req_WifiGetBandwidths req_wifi_get_bandwidths = 345; + + Rpc_Req_WifiSetBand req_wifi_set_band = 346; + Rpc_Req_WifiGetBand req_wifi_get_band = 347; + Rpc_Req_WifiSetBandMode req_wifi_set_bandmode = 348; + Rpc_Req_WifiGetBandMode req_wifi_get_bandmode = 349; + + Rpc_Req_GetCoprocessorFwVersion req_get_coprocessor_fwversion = 350; + + Rpc_Req_WifiScanGetApRecord req_wifi_scan_get_ap_record = 351; + + Rpc_Req_SetDhcpDnsStatus req_set_dhcp_dns = 352; + Rpc_Req_GetDhcpDnsStatus req_get_dhcp_dns = 353; + + Rpc_Req_WifiStaTwtConfig req_wifi_sta_twt_config = 354; + Rpc_Req_WifiStaItwtSetup req_wifi_sta_itwt_setup = 355; + Rpc_Req_WifiStaItwtTeardown req_wifi_sta_itwt_teardown = 356; + Rpc_Req_WifiStaItwtSuspend req_wifi_sta_itwt_suspend = 357; + Rpc_Req_WifiStaItwtGetFlowIdStatus req_wifi_sta_itwt_get_flow_id_status = 358; + Rpc_Req_WifiStaItwtSendProbeReq req_wifi_sta_itwt_send_probe_req = 359; + Rpc_Req_WifiStaItwtSetTargetWakeTimeOffset req_wifi_sta_itwt_set_target_wake_time_offset = 360; + + Rpc_Req_WifiStaEnterpriseEnable req_wifi_sta_enterprise_enable = 361; + Rpc_Req_WifiStaEnterpriseDisable req_wifi_sta_enterprise_disable = 362; + Rpc_Req_EapSetIdentity req_eap_set_identity = 363; + Rpc_Req_EapClearIdentity req_eap_clear_identity = 364; + Rpc_Req_EapSetUsername req_eap_set_username = 365; + Rpc_Req_EapClearUsername req_eap_clear_username = 366; + Rpc_Req_EapSetPassword req_eap_set_password = 367; + Rpc_Req_EapClearPassword req_eap_clear_password = 368; + Rpc_Req_EapSetNewPassword req_eap_set_new_password = 369; + Rpc_Req_EapClearNewPassword req_eap_clear_new_password = 370; + Rpc_Req_EapSetCaCert req_eap_set_ca_cert = 371; + Rpc_Req_EapClearCaCert req_eap_clear_ca_cert = 372; + Rpc_Req_EapSetCertificateAndKey req_eap_set_certificate_and_key = 373; + Rpc_Req_EapClearCertificateAndKey req_eap_clear_certificate_and_key = 374; + Rpc_Req_EapGetDisableTimeCheck req_eap_get_disable_time_check = 375; + Rpc_Req_EapSetTtlsPhase2Method req_eap_set_ttls_phase2_method = 376; + Rpc_Req_EapSetSuiteb192bitCertification req_eap_set_suiteb_certification = 377; + Rpc_Req_EapSetPacFile req_eap_set_pac_file = 378; + Rpc_Req_EapSetFastParams req_eap_set_fast_params = 379; + Rpc_Req_EapUseDefaultCertBundle req_eap_use_default_cert_bundle = 380; + Rpc_Req_WifiSetOkcSupport req_wifi_set_okc_support = 381; + Rpc_Req_EapSetDomainName req_eap_set_domain_name = 382; + Rpc_Req_EapSetDisableTimeCheck req_eap_set_disable_time_check = 383; + Rpc_Req_EapSetEapMethods req_eap_set_eap_methods = 384; + + Rpc_Req_IfaceMacAddrSetGet req_iface_mac_addr_set_get = 385; + Rpc_Req_IfaceMacAddrLenGet req_iface_mac_addr_len_get = 386; + + Rpc_Req_FeatureControl req_feature_control = 387; + + Rpc_Req_GpioConfig req_gpio_config = 388; + Rpc_Req_GpioReset req_gpio_reset = 389; + Rpc_Req_GpioSetLevel req_gpio_set_level = 390; + Rpc_Req_GpioGetLevel req_gpio_get_level = 391; + Rpc_Req_GpioSetDirection req_gpio_set_direction = 392; + Rpc_Req_GpioInputEnable req_gpio_input_enable = 393; + Rpc_Req_GpioSetPullMode req_gpio_set_pull_mode = 394; + + /** Responses **/ + Rpc_Resp_GetMacAddress resp_get_mac_address = 513; + Rpc_Resp_SetMacAddress resp_set_mac_address = 514; + Rpc_Resp_GetMode resp_get_wifi_mode = 515; + Rpc_Resp_SetMode resp_set_wifi_mode = 516; + + Rpc_Resp_SuppDppInit resp_supp_dpp_init = 517; + Rpc_Resp_SuppDppDeinit resp_supp_dpp_deinit = 518; + Rpc_Resp_SuppDppBootstrapGen resp_supp_dpp_bootstrap_gen = 519; + Rpc_Resp_SuppDppStartListen resp_supp_dpp_start_listen = 520; + Rpc_Resp_SuppDppStopListen resp_supp_dpp_stop_listen = 521; + + //Rpc_Resp_SetSoftAPVendorSpecificIE resp_set_softap_vendor_specific_ie = 522; + //Rpc_Resp_StartSoftAP resp_start_softap = 523; + //Rpc_Resp_SoftAPConnectedSTA resp_softap_connected_stas_list = 524; + //Rpc_Resp_GetStatus resp_stop_softap = 525; + Rpc_Resp_OTAActivate resp_ota_activate = 522; + + Rpc_Resp_SetPs resp_wifi_set_ps = 526; + Rpc_Resp_GetPs resp_wifi_get_ps = 527; + + Rpc_Resp_OTABegin resp_ota_begin = 528; + Rpc_Resp_OTAWrite resp_ota_write = 529; + Rpc_Resp_OTAEnd resp_ota_end = 530; + Rpc_Resp_WifiSetMaxTxPower resp_set_wifi_max_tx_power = 531; + Rpc_Resp_WifiGetMaxTxPower resp_get_wifi_max_tx_power = 532; + Rpc_Resp_ConfigHeartbeat resp_config_heartbeat = 533; + + Rpc_Resp_WifiInit resp_wifi_init = 534; + Rpc_Resp_WifiDeinit resp_wifi_deinit = 535; + Rpc_Resp_WifiStart resp_wifi_start = 536; + Rpc_Resp_WifiStop resp_wifi_stop = 537; + Rpc_Resp_WifiConnect resp_wifi_connect = 538; + Rpc_Resp_WifiDisconnect resp_wifi_disconnect = 539; + Rpc_Resp_WifiSetConfig resp_wifi_set_config = 540; + Rpc_Resp_WifiGetConfig resp_wifi_get_config = 541; + + Rpc_Resp_WifiScanStart resp_wifi_scan_start = 542; + Rpc_Resp_WifiScanStop resp_wifi_scan_stop = 543; + Rpc_Resp_WifiScanGetApNum resp_wifi_scan_get_ap_num = 544; + Rpc_Resp_WifiScanGetApRecords resp_wifi_scan_get_ap_records = 545; + Rpc_Resp_WifiClearApList resp_wifi_clear_ap_list = 546; + + Rpc_Resp_WifiRestore resp_wifi_restore = 547; + Rpc_Resp_WifiClearFastConnect resp_wifi_clear_fast_connect = 548; + Rpc_Resp_WifiDeauthSta resp_wifi_deauth_sta = 549; + Rpc_Resp_WifiStaGetApInfo resp_wifi_sta_get_ap_info = 550; + + Rpc_Resp_WifiSetProtocol resp_wifi_set_protocol = 553; + Rpc_Resp_WifiGetProtocol resp_wifi_get_protocol = 554; + Rpc_Resp_WifiSetBandwidth resp_wifi_set_bandwidth = 555; + Rpc_Resp_WifiGetBandwidth resp_wifi_get_bandwidth = 556; + Rpc_Resp_WifiSetChannel resp_wifi_set_channel = 557; + Rpc_Resp_WifiGetChannel resp_wifi_get_channel = 558; + Rpc_Resp_WifiSetCountry resp_wifi_set_country = 559; + Rpc_Resp_WifiGetCountry resp_wifi_get_country = 560; + + Rpc_Resp_WifiApGetStaList resp_wifi_ap_get_sta_list = 567; + Rpc_Resp_WifiApGetStaAid resp_wifi_ap_get_sta_aid = 568; + Rpc_Resp_WifiSetStorage resp_wifi_set_storage = 569; + + Rpc_Resp_WifiSetInactiveTime resp_wifi_set_inactive_time = 581; + Rpc_Resp_WifiGetInactiveTime resp_wifi_get_inactive_time = 582; + + Rpc_Resp_WifiSetCountryCode resp_wifi_set_country_code = 590; + Rpc_Resp_WifiGetCountryCode resp_wifi_get_country_code = 591; + Rpc_Resp_WifiStaGetAid resp_wifi_sta_get_aid = 594; + Rpc_Resp_WifiStaGetNegotiatedPhymode resp_wifi_sta_get_negotiated_phymode = 595; + + Rpc_Resp_WifiStaGetRssi resp_wifi_sta_get_rssi = 597; + + Rpc_Resp_WifiSetProtocols resp_wifi_set_protocols = 598; + Rpc_Resp_WifiGetProtocols resp_wifi_get_protocols = 599; + Rpc_Resp_WifiSetBandwidths resp_wifi_set_bandwidths = 600; + Rpc_Resp_WifiGetBandwidths resp_wifi_get_bandwidths = 601; + + Rpc_Resp_WifiSetBand resp_wifi_set_band = 602; + Rpc_Resp_WifiGetBand resp_wifi_get_band = 603; + Rpc_Resp_WifiSetBandMode resp_wifi_set_bandmode = 604; + Rpc_Resp_WifiGetBandMode resp_wifi_get_bandmode = 605; + + Rpc_Resp_GetCoprocessorFwVersion resp_get_coprocessor_fwversion = 606; + + Rpc_Resp_WifiScanGetApRecord resp_wifi_scan_get_ap_record = 607; + + Rpc_Resp_SetDhcpDnsStatus resp_set_dhcp_dns = 608; + Rpc_Resp_GetDhcpDnsStatus resp_get_dhcp_dns = 609; + + Rpc_Resp_WifiStaTwtConfig resp_wifi_sta_twt_config = 610; + Rpc_Resp_WifiStaItwtSetup resp_wifi_sta_itwt_setup = 611; + Rpc_Resp_WifiStaItwtTeardown resp_wifi_sta_itwt_teardown = 612; + Rpc_Resp_WifiStaItwtSuspend resp_wifi_sta_itwt_suspend = 613; + Rpc_Resp_WifiStaItwtGetFlowIdStatus resp_wifi_sta_itwt_get_flow_id_status = 614; + Rpc_Resp_WifiStaItwtSendProbeReq resp_wifi_sta_itwt_send_probe_req = 615; + Rpc_Resp_WifiStaItwtSetTargetWakeTimeOffset resp_wifi_sta_itwt_set_target_wake_time_offset = 616; + + Rpc_Resp_WifiStaEnterpriseEnable resp_wifi_sta_enterprise_enable = 617; + Rpc_Resp_WifiStaEnterpriseDisable resp_wifi_sta_enterprise_disable = 618; + Rpc_Resp_EapSetIdentity resp_eap_set_identity = 619; + Rpc_Resp_EapClearIdentity resp_eap_clear_identity = 620; + Rpc_Resp_EapSetUsername resp_eap_set_username = 621; + Rpc_Resp_EapClearUsername resp_eap_clear_username = 622; + Rpc_Resp_EapSetPassword resp_eap_set_password = 623; + Rpc_Resp_EapClearPassword resp_eap_clear_password = 624; + Rpc_Resp_EapSetNewPassword resp_eap_set_new_password = 625; + Rpc_Resp_EapClearNewPassword resp_eap_clear_new_password = 626; + Rpc_Resp_EapSetCaCert resp_eap_set_ca_cert = 627; + Rpc_Resp_EapClearCaCert resp_eap_clear_ca_cert = 628; + Rpc_Resp_EapSetCertificateAndKey resp_eap_set_certificate_and_key = 629; + Rpc_Resp_EapClearCertificateAndKey resp_eap_clear_certificate_and_key = 630; + Rpc_Resp_EapGetDisableTimeCheck resp_eap_get_disable_time_check = 631; + Rpc_Resp_EapSetTtlsPhase2Method resp_eap_set_ttls_phase2_method = 632; + Rpc_Resp_EapSetSuiteb192bitCertification resp_eap_set_suiteb_certification = 633; + Rpc_Resp_EapSetPacFile resp_eap_set_pac_file = 634; + Rpc_Resp_EapSetFastParams resp_eap_set_fast_params = 635; + Rpc_Resp_EapUseDefaultCertBundle resp_eap_use_default_cert_bundle = 636; + Rpc_Resp_WifiSetOkcSupport resp_wifi_set_okc_support = 637; + Rpc_Resp_EapSetDomainName resp_eap_set_domain_name = 638; + Rpc_Resp_EapSetDisableTimeCheck resp_eap_set_disable_time_check = 639; + Rpc_Resp_EapSetEapMethods resp_eap_set_eap_methods = 640; + + Rpc_Resp_IfaceMacAddrSetGet resp_iface_mac_addr_set_get = 641; + Rpc_Resp_IfaceMacAddrLenGet resp_iface_mac_addr_len_get = 642; + + Rpc_Resp_FeatureControl resp_feature_control = 643; + + Rpc_Resp_GpioConfig resp_gpio_config = 644; + Rpc_Resp_GpioResetPin resp_gpio_reset = 645; + Rpc_Resp_GpioSetLevel resp_gpio_set_level = 646; + Rpc_Resp_GpioGetLevel resp_gpio_get_level = 647; + Rpc_Resp_GpioSetDirection resp_gpio_set_direction = 648; + Rpc_Resp_GpioInputEnable resp_gpio_input_enable = 649; + Rpc_Resp_GpioSetPullMode resp_gpio_set_pull_mode = 650; + + /** Notifications **/ + Rpc_Event_ESPInit event_esp_init = 769; + Rpc_Event_Heartbeat event_heartbeat = 770; + Rpc_Event_AP_StaConnected event_ap_sta_connected = 771; + Rpc_Event_AP_StaDisconnected event_ap_sta_disconnected = 772; + Rpc_Event_WifiEventNoArgs event_wifi_event_no_args = 773; + Rpc_Event_StaScanDone event_sta_scan_done = 774; + Rpc_Event_StaConnected event_sta_connected = 775; + Rpc_Event_StaDisconnected event_sta_disconnected = 776; + Rpc_Event_DhcpDnsStatus event_dhcp_dns = 777; + Rpc_Event_StaItwtSetup event_sta_itwt_setup = 778; + Rpc_Event_StaItwtTeardown event_sta_itwt_teardown = 779; + Rpc_Event_StaItwtSuspend event_sta_itwt_suspend = 780; + Rpc_Event_StaItwtProbe event_sta_itwt_probe = 781; + Rpc_Event_SuppDppUriReady event_supp_dpp_uri_ready = 782; + Rpc_Event_SuppDppCfgRecvd event_supp_dpp_cfg_recvd = 783; + Rpc_Event_SuppDppFail event_supp_dpp_fail = 784; + Rpc_Event_WifiDppUriReady event_wifi_dpp_uri_ready = 785; + Rpc_Event_WifiDppCfgRecvd event_wifi_dpp_cfg_recvd = 786; + Rpc_Event_WifiDppFail event_wifi_dpp_fail = 787; + } +}