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

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am