4IceG / luci-app-sms-tool-js

Simple user interface to handle SMS / USSD / AT commands via sms_tool application. (LuCI JS) | OpenWrt >= 21.02
GNU General Public License v3.0
31 stars 14 forks source link

Error unable to send sms #11

Closed Roxy09099 closed 1 year ago

Roxy09099 commented 1 year ago

When clicking send message, error "TypeError: Cannot read properties of undefined (reading 'replace')" Messages can still be received normally Modem in use: RM520N-GL

Powered by LuCI openwrt-21.02 branch (git-23.098.38725-847bd6b) / ImmortalWrt 21.02-SNAPSHOT r0-378e08f image image

4IceG commented 1 year ago

Hi @Roxy09099 , Does sending from the console work correctly?

sms_tool -d /dev/ttyUSB2 send 191 "Test"

Roxy09099 commented 1 year ago

image image

4IceG commented 1 year ago

@Roxy09099 As you can see the problem is not my package but your modem. Check the configuration, maybe you don't have something set. Alternatively, reset the modem to default settings.