Conversion from Ascii to Decimal/hexadecimal
Hi,
We are using modem AT$MSGSND(enfora modem) command to send data through wireless modem to mosquitto broker running on the internet. Since AT$MSGSND command can send only ASCII data, we need to convert some of the decimal/hexadecimal values that are sent as part of the message(to mosquitto broker) to ASCII. So we need to convert these converted ASCII values(only the decimal and hexadecimal values and NOT the topic and message values) at the mosquitto broker end back to decimal/hexadecimal value. We would like to see if we need to change the mosquitto broker code for this requirement or is there a way where we can attach a handler code to broker to do this conversion.
Thanks,
Venky
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- mosquitto Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Venkates Velayutham for more information if necessary.