Discussion in "Embedded GSM Development" started by    hmn16    Jul 26, 2017.
Wed Jul 26 2017, 06:38 am
#1
Hello, I am current;y trying to send a hexadecimal value in a SMS message to a mobile phone, but all I am getting is empty messages as the gsm module (Quectel M10) is still configured to IRA characters.
The module does support hex format I just can't figure out the correct command structure to use.
Thu Jul 27 2017, 01:05 am
#2
A byte such as 0xfa will not pass through the system as bit 7 is set and that is not allowed.
However a hexadecimal number is just a number, so you could send it as
letter F and letter A ("FA") then the receiver converts back to 0xfa, decimal 250.
Another way is to send "250".
There are functions in 'c' to do string to integer conversions.





[ Edited Thu Jul 27 2017, 03:29 am ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Richardgar
Sat Apr 20 2024, 11:05 am
AntoniaRoons
Fri Apr 19 2024, 09:59 pm
carpinteyrowrl
Fri Apr 19 2024, 02:51 pm
DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am