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

KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am