12/2/2023 0 Comments Send sms softwareusb-storage 1-2.4.2:1.3: USB Mass Storage device detected usb 1-2.4.2: New USB device found, idVendor=19d2, idProduct=0117, bcdDevice= 0.00 usb 1-2.4.2: new high-speed USB device number 8 using ehci-pci usb 1-2.4.2: USB disconnect, device number 7 sr 3:0:0:0: Attached scsi generic sg4 type 5 scsi 3:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 2 usb-storage 1-2.4.2:1.0: USB Mass Storage device detected usb 1-2.4.2: Manufacturer: ZTE,Incorporated usb 1-2.4.2: Product: ZTE WCDMA Technologies MSM usb 1-2.4.2: New USB device strings: Mfr=3, Product=2, SerialNumber=4 usb 1-2.4.2: New USB device found, idVendor=19d2, idProduct=2000, bcdDevice= 0.00 usb 1-2.4.2: new high-speed USB device number 7 using ehci-pci These device names can be extracted from the dmesg output as below as soon as you plugin the USB device to your computer. In our case, on Kali Linux, this device appeared as 3 different devices: a CD-ROM device /dev/sr1, a mass storage device /dev/sdc and a USB modem /dev/ttyUSB2. The USB GSM modem, MF190, comes with properties like appearing as a CD-ROM drive on Linux or as a mass storage device or both. For our use case we purchased LycaMobile for $20. The modem can be purchased on Amazon or eBay and you will also need to buy a pay-as-you-go SIM card from the various providers in your area. The ZTE MF190 modem is supported on Linux out of the box, and appears as a serial port device when connected to a computer or Raspberry Pi or Beaglebone Black via their USB A ports or using a USB hub. Even though networks in the USA and other countries may be removing support for 3G networks, all of these devices support SMS sending and receiving, which is why they continue to be useful. This GSM Modem is a 3-G modem as shown in the below image. You may also want to build your own SMS over the internet service like that of Twilio from scratch and this script can help you start. This post describes how to write simple programs to use an off the shelf modem, that can be purchased for less than $10, and using a SIM card that provides Unlimited text messaging to send and receive SMS messages. There were other scenarios where an IoT device we prototyped would be placed in a forest and would send the temperature and humidity levels over SMS every hour.Ī perpetually connected device that uses a data plan can become prohibitively expensive if you want to just send short messages. For example, we have built a device in the past where a USB modem connected to a transport vehicle would send an SMS with the latitude and longitude of its location every 5 minutes. These scenarios include situations where your IoT device may only need to send data in occasional spurts, and may never need to receive any commands, or receive a very small set of pre-designed commands to control the device.įor such scenarios, where you do not want your IoT device to be connected to the internet all the time using a 4G or 5G network, use up too much battery power and be relatively secure from remote attacks over the internet, a simple GSM modem can solve your problem. There are various scenarios when you may have an IoT device in the field where you do not need a 4G LTE or 5G connectivity or where you have poor connectivity such as in forests or mountains.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |