

However, I recommend that you take the token with the file_get_contents function as shown in the script below: The way you get the token for the referenced device does not work for the reasons:ġ - Unapproved URL (not applicable to this device) to get the token and send the sms Ģ - soon, the $xml->SesInfo method called will not work
HUAWEI E3531 USB MODEM CODE
You shoul add the date in the data request, and well closed it, this code is working for me: SesInfo echo $sess_id I can't answer on this thread because I'm new on this forum.

The 3 three steps used on this link ( Sending and receiving SMS by command line with Huawei E3131 and HiLink on a debian system) to post sms on command line with the e3131 model (mine is e3531) worked for me but this is with command line. 'Content-Type: application/x-www-form-urlencoded charset=UTF-8',Ĭurl_setopt($curl2, CURLOPT_HTTPHEADER, $headers) Ĭurl_setopt($curl2, CURLOPT_POSTFIELDS,$data) Ĭurl_setopt($curl2, CURLOPT_RETURNTRANSFER, true)
HUAWEI E3531 USB MODEM DOWNLOAD
With this technology, you can achieve download speeds of up to 21.6 Mbps HSPA+ and upload speeds of 5.76 Mbps HSUPA. The Huawei Laptopi-Fi E3531 comes with the HSPA+ technology that gives you the fastest browsing experience. HUAWEI E3531 looks like the HUAWEI E3131 USB Stick, which is also. This is the script to send the sms but I get an error 100002.įirst, I recuperate the token and the sessionid with curl and then I use curl again to post the sms SesInfo Fastest Browsing Experience: Huawei Laptopi-Fi E3531 comes with the HSPA+ technology, Download speeds of up to 21.6 Mbps, upload speeds of 5.76 Mbps HSUPA. HUAWEI E3531 is a new 3/4G USB Surfstick with HiLink technology, which is plug and play. There is no documenation and I have a lot of difficulties to find the solution. I'm making a script with PHP 7.1 to send SMS with the Huawei E3531 usb modem.
