We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In file included from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.h:5, from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.cpp:1: /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:653:32: error: expected unqualified-id before 'const' 653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {} | ^~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:653:32: error: expected ')' before 'const' 653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {} | ~^~~~~ | ) /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:819:37: error: expected unqualified-id before 'const' 819 | StringAdapter< ::StringSumHelper>(const ::String& s) | ^~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:819:37: error: expected ')' before 'const' 819 | StringAdapter< ::StringSumHelper>(const ::String& s) | ~^~~~~ | ) /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.cpp: In member function 'String AzureIoTHub::generateSasToken(String)': /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.cpp:153:13: error: invalid conversion from 'uint32_t*' {aka 'long unsigned int*'} to 'size_t*' {aka 'unsigned int*'} [-fpermissive] 153 | &symmetricKeyDecodeLength, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint32_t* {aka long unsigned int*} In file included from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.h:8: /Users/mymac/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32/include/mbedtls/mbedtls/include/mbedtls/base64.h:65:68: note: initializing argument 3 of 'int mbedtls_base64_decode(unsigned char*, size_t, size_t*, const unsigned char*, size_t)' 65 | int mbedtls_base64_decode(unsigned char dst, size_t dlen, size_t olen, | ~~~~~~~~^~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.cpp:173:13: error: invalid conversion from 'uint32_t' {aka 'long unsigned int'} to 'size_t*' {aka 'unsigned int*'} [-fpermissive] 173 | &signatureEncodeLength, | ^~~~~~~~~~~~~~~~~~~~~~ | | | uint32_t* {aka long unsigned int*} /Users/mymac/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32/include/mbedtls/mbedtls/include/mbedtls/base64.h:45:68: note: initializing argument 3 of 'int mbedtls_base64_encode(unsigned char*, size_t, size_t*, const unsigned char*, size_t)' 45 | int mbedtls_base64_encode(unsigned char dst, size_t dlen, size_t olen, | ~~~~~~~~^~~~ In file included from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/MAGELLAN_MQTT_device_core.h:36, from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/MAGELLAN_SIM7600E_MQTT.h:34, from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/MAGELLAN_SIM7600E_MQTT.cpp:31: /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:653:32: error: expected unqualified-id before 'const' 653 | StringAdapter<const char[N]>(const char s) : StringAdapter<const char>(s) {} | ^~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:653:32: error: expected ')' before 'const' 653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {} | ~^~~~~ | ) /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:819:37: error: expected unqualified-id before 'const' 819 | StringAdapter< ::StringSumHelper>(const ::String& s) | ^~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:819:37: error: expected ')' before 'const' 819 | StringAdapter< ::StringSumHelper>(const ::String& s) | ~^~~~~ | ) In file included from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.h:5, from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTCentral.h:4, from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTCentral.cpp:1: /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:653:32: error: expected unqualified-id before 'const' 653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {} | ^~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:653:32: error: expected ')' before 'const' 653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {} | ~^~~~~ | ) /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:819:37: error: expected unqualified-id before 'const' 819 | StringAdapter< ::StringSumHelper>(const ::String& s) | ^~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:819:37: error: expected ')' before 'const' 819 | StringAdapter< ::StringSumHelper>(const ::String& s) | ~^~~~~ | ) /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp: In member function 'bool SIM76XX::begin()': /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp:35:21: error: 'GPIO_PIN_MUX_REG' was not declared in this scope; did you mean 'GPIO_PIN19_REG'? 35 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[this->pwr_pin], PIN_FUNC_GPIO); | ^~~~~~~~~~~~~~~~ | GPIO_PIN19_REG /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp:35:54: error: 'PIN_FUNC_GPIO' was not declared in this scope 35 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[this->pwr_pin], PIN_FUNC_GPIO); | ^~~~~~~~~~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp:35:5: error: 'PIN_FUNC_SELECT' was not declared in this scope 35 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[this->pwr_pin], PIN_FUNC_GPIO); | ^~~~~~~~~~~~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp:36:5: error: 'gpio_set_direction' was not declared in this scope 36 | gpio_set_direction(static_cast<gpio_num_t>(this->pwr_pin), GPIO_MODE_OUTPUT); | ^~~~~~~~~~~~~~~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp:37:5: error: 'gpio_set_level' was not declared in this scope 37 | gpio_set_level(static_cast<gpio_num_t>(this->pwr_pin), 0); | ^~~~~~~~~~~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/gsm_ssl_client.cpp: In function 'int gsm_start_ssl_client(gsm_sslclient_context*, const char*, uint32_t, int, const char*, const char*, const char*, const char*, const char*, bool)': /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/gsm_ssl_client.cpp:223:35: error: too few arguments to function 'int mbedtls_pk_parse_key(mbedtls_pk_context*, const unsigned char*, size_t, const unsigned char*, size_t, int ()(void, unsigned char*, size_t), void*)' 223 | ret = mbedtls_pk_parse_key(&ssl_client->client_key, (const unsigned char )cli_key, strlen(cli_key) + 1, NULL, 0); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/mymac/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32/include/mbedtls/mbedtls/include/mbedtls/oid.h:17, from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/gsm_ssl_client.cpp:11: /Users/mymac/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32/include/mbedtls/mbedtls/include/mbedtls/pk.h:1101:5: note: declared here 1101 | int mbedtls_pk_parse_key(mbedtls_pk_context ctx, | ^~~~~~~~~~~~~~~~~~~~ In file included from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/Attribute_MQTT_core.h:12, from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/Attribute_MQTT_core.cpp:8: /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:653:32: error: expected unqualified-id before 'const' 653 | StringAdapter<const char[N]>(const char s) : StringAdapter<const char>(s) {} | ^~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:653:32: error: expected ')' before 'const' 653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {} | ~^~~~~ | ) /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:819:37: error: expected unqualified-id before 'const' 819 | StringAdapter< ::StringSumHelper>(const ::String& s) | ^~~~~ /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:819:37: error: expected ')' before 'const' 819 | StringAdapter< ::StringSumHelper>(const ::String& s) | ~^~~~~ | )
exit status 1
Compilation error: exit status 1
The text was updated successfully, but these errors were encountered:
Archive.zip I was fixed code of lib.
Sorry, something went wrong.
No branches or pull requests
In file included from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.h:5,
from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.cpp:1:
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:653:32: error: expected unqualified-id before 'const'
653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {}
| ^~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:653:32: error: expected ')' before 'const'
653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {}
| ~^~~~~
| )
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:819:37: error: expected unqualified-id before 'const'
819 | StringAdapter< ::StringSumHelper>(const ::String& s)
| ^~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:819:37: error: expected ')' before 'const'
819 | StringAdapter< ::StringSumHelper>(const ::String& s)
| ~^~~~~
| )
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.cpp: In member function 'String AzureIoTHub::generateSasToken(String)':
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.cpp:153:13: error: invalid conversion from 'uint32_t*' {aka 'long unsigned int*'} to 'size_t*' {aka 'unsigned int*'} [-fpermissive]
153 | &symmetricKeyDecodeLength,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint32_t* {aka long unsigned int*}
In file included from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.h:8:
/Users/mymac/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32/include/mbedtls/mbedtls/include/mbedtls/base64.h:65:68: note: initializing argument 3 of 'int mbedtls_base64_decode(unsigned char*, size_t, size_t*, const unsigned char*, size_t)'
65 | int mbedtls_base64_decode(unsigned char dst, size_t dlen, size_t olen,
| ~~~~~~~~^~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.cpp:173:13: error: invalid conversion from 'uint32_t' {aka 'long unsigned int'} to 'size_t*' {aka 'unsigned int*'} [-fpermissive]
173 | &signatureEncodeLength,
| ^~~~~~~~~~~~~~~~~~~~~~
| |
| uint32_t* {aka long unsigned int*}
/Users/mymac/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32/include/mbedtls/mbedtls/include/mbedtls/base64.h:45:68: note: initializing argument 3 of 'int mbedtls_base64_encode(unsigned char*, size_t, size_t*, const unsigned char*, size_t)'
45 | int mbedtls_base64_encode(unsigned char dst, size_t dlen, size_t olen,
| ~~~~~~~~^~~~
In file included from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/MAGELLAN_MQTT_device_core.h:36,
from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/MAGELLAN_SIM7600E_MQTT.h:34,
from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/MAGELLAN_SIM7600E_MQTT.cpp:31:
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:653:32: error: expected unqualified-id before 'const'
653 | StringAdapter<const char[N]>(const char s) : StringAdapter<const char>(s) {}
| ^~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:653:32: error: expected ')' before 'const'
653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {}
| ~^~~~~
| )
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:819:37: error: expected unqualified-id before 'const'
819 | StringAdapter< ::StringSumHelper>(const ::String& s)
| ^~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:819:37: error: expected ')' before 'const'
819 | StringAdapter< ::StringSumHelper>(const ::String& s)
| ~^~~~~
| )
In file included from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTHub.h:5,
from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTCentral.h:4,
from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/AzureIoTCentral.cpp:1:
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:653:32: error: expected unqualified-id before 'const'
653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {}
| ^~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:653:32: error: expected ')' before 'const'
653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {}
| ~^~~~~
| )
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:819:37: error: expected unqualified-id before 'const'
819 | StringAdapter< ::StringSumHelper>(const ::String& s)
| ^~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/ArduinoJson-v6.18.3.h:819:37: error: expected ')' before 'const'
819 | StringAdapter< ::StringSumHelper>(const ::String& s)
| ~^~~~~
| )
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp: In member function 'bool SIM76XX::begin()':
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp:35:21: error: 'GPIO_PIN_MUX_REG' was not declared in this scope; did you mean 'GPIO_PIN19_REG'?
35 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[this->pwr_pin], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~~~~
| GPIO_PIN19_REG
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp:35:54: error: 'PIN_FUNC_GPIO' was not declared in this scope
35 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[this->pwr_pin], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp:35:5: error: 'PIN_FUNC_SELECT' was not declared in this scope
35 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[this->pwr_pin], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp:36:5: error: 'gpio_set_direction' was not declared in this scope
36 | gpio_set_direction(static_cast<gpio_num_t>(this->pwr_pin), GPIO_MODE_OUTPUT);
| ^~~~~~~~~~~~~~~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/SIM76xx.cpp:37:5: error: 'gpio_set_level' was not declared in this scope
37 | gpio_set_level(static_cast<gpio_num_t>(this->pwr_pin), 0);
| ^~~~~~~~~~~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/gsm_ssl_client.cpp: In function 'int gsm_start_ssl_client(gsm_sslclient_context*, const char*, uint32_t, int, const char*, const char*, const char*, const char*, const char*, bool)':
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/gsm_ssl_client.cpp:223:35: error: too few arguments to function 'int mbedtls_pk_parse_key(mbedtls_pk_context*, const unsigned char*, size_t, const unsigned char*, size_t, int ()(void, unsigned char*, size_t), void*)'
223 | ret = mbedtls_pk_parse_key(&ssl_client->client_key, (const unsigned char )cli_key, strlen(cli_key) + 1, NULL, 0);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/mymac/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32/include/mbedtls/mbedtls/include/mbedtls/oid.h:17,
from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/gsm_ssl_client.cpp:11:
/Users/mymac/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-bd2b9390ef/esp32/include/mbedtls/mbedtls/include/mbedtls/pk.h:1101:5: note: declared here
1101 | int mbedtls_pk_parse_key(mbedtls_pk_context ctx,
| ^~~~~~~~~~~~~~~~~~~~
In file included from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/Attribute_MQTT_core.h:12,
from /Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/Attribute_MQTT_core.cpp:8:
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:653:32: error: expected unqualified-id before 'const'
653 | StringAdapter<const char[N]>(const char s) : StringAdapter<const char>(s) {}
| ^~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:653:32: error: expected ')' before 'const'
653 | StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {}
| ~^~~~~
| )
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:819:37: error: expected unqualified-id before 'const'
819 | StringAdapter< ::StringSumHelper>(const ::String& s)
| ^~~~~
/Users/mymac/Documents/Arduino/libraries/AIS_4G_board/src/utils/../ArduinoJson-v6.18.3.h:819:37: error: expected ')' before 'const'
819 | StringAdapter< ::StringSumHelper>(const ::String& s)
| ~^~~~~
| )
exit status 1
Compilation error: exit status 1
The text was updated successfully, but these errors were encountered: