User Tools

Site Tools


doc:appunti:hardware:tl-mr6400_openwrt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
doc:appunti:hardware:tl-mr6400_openwrt [2023/10/31 15:18] – [Upgrade to OpenWRT 22.05.0] niccolodoc:appunti:hardware:tl-mr6400_openwrt [2024/04/26 15:30] (current) – [Upgrade to OpenWRT 22.05.0] niccolo
Line 331: Line 331:
 | etherwake                                8K | | etherwake                                8K |
 | coreutils-base64                      |       | | coreutils-base64                      |       |
 +
 +===== Sending and receiving SMS =====
 +
 +Once installed the **uqmi** package, there is a daemon process **/usr/bin/uqmi_d.sh** which is responsible for sending and receiving SMS messages. The program will check every 30 seconds if there is a file into the **send** directory and eventually save received SMS messages from the modem memory to the **received** directory:
 +
 +  * **/var/sms/send/**
 +  * **/var/sms/received/**
 +
 +To send a message just create a text file into the **/var/sms/send/** directory; the first line must contain the recipient phone number, the following lines are the text message. E.g.
 +
 +<file>
 ++393274445556
 +Hello, World!
 +</file>
 +
 +Received messages will be saved automatically into **/var/sms/received/**, in files named something like **sms_20240426T150933**. The content will be something like:
 +
 +<file>
 +[Phone Number|CallerID]
 +Tex message.
 +</file>
 +
 +If you stop the running uqmi_d.sh daemon, it is possibile to retrieve received messages from **sim** or from **me** (memory). Get first the list of messages availables and then retrieve one:
 +
 +<code>
 +uqmi -d /dev/cdc-wdm0 --list-messages --storage me
 +uqmi -s -d /dev/cdc-wdm0 --get-message 0 --storage me
 +</code>
  
 ===== Web References ===== ===== Web References =====
doc/appunti/hardware/tl-mr6400_openwrt.txt · Last modified: 2024/04/26 15:30 by niccolo