vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.91k stars 708 forks source link

M5CoreS3 & COM.X LTE example ALLFUNTIONS error with send sms #773

Open cohen-sydney opened 5 months ago

cohen-sydney commented 5 months ago

[ x] I have read the Troubleshooting section of the ReadMe

What type of issues is this?

[ ] Request to support a new module

[x ] Bug or problem compiling the library [ ] Bug or issue with library functionality (ie, sending data over TCP/IP) [ ] Question or request for help

M5CoreS3 & COM.X LTE (set to SIM7600 )

define TINY_GSM_MODEM_SIM7600

in the example ALLFuntions

When I set this to True

define TINY_GSM_TEST_SMS true

I get this error

error: 'bool TinyGsmSMS::sendSMS_UTF8_begin(const char*) [with modemType = TinyGsmSim7600]' is protected within this context res = modem.sendSMS_UTF8_begin(SMS_TARGET);

What are you working with?

Modem: Main processor board: TinyGSM version: Code:

Scenario, steps to reproduce

Expected result

Actual result

Debug and AT command log

cohen-sydney commented 5 months ago

I did find the following command does send a sms.

modem.sendSMS(SMS_TARGET, String("Hello from "));