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
Next revision
Previous revision
doc:appunti:hardware:tl-mr6400_openwrt [2023/10/31 14:09] – [Upgrade to OpenWRT 22.05.0] niccolodoc:appunti:hardware:tl-mr6400_openwrt [2024/04/26 13:30] (current) – [Upgrade to OpenWRT 22.05.0] niccolo
Line 320: Line 320:
   * https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/   * https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/
  
-This is the list of all the extra packages installed:+This is the list of all the extra packages installed:
  
-./uqmi_2022-11-29-0.11_mipsel_24kc.ipk  +Package                               ^ Space  ^ 
-openvpn                                 |  | +uqmi_2022-11-29-0.11_mipsel_24kc.ipk   92K 
-luci-app-openvpn                        |  | +openvpn                               |  228K 
-tcpdump-mini                            |  | +luci-app-openvpn                      |  320K 
-snmpd                                   |  | +tcpdump-mini                          |  314K 
-luci-app-snmpd                           +snmpd                                 |  540K 
-etherwake                                +luci-app-snmpd                           8K 
-coreutils-base64                        |  |+etherwake                                8K 
 +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.1698761365.txt.gz · Last modified: 2023/10/31 14:09 by niccolo