Click here to Skip to main content
15,882,329 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How do I change sender number to text (alpha numeric) with GSMCOMM Library so that if I send a text with the library, the recipient will read as message from say "ABC School" instead of the phone number

What I have tried:

I can send and receive messages
Posted
Updated 8-Apr-16 4:14am
v2
Comments
CHill60 8-Apr-16 7:32am    
Surely the recipient would have to have the number on their phone for it to show that text?

1 solution

Simple. You don't.

You have no control over that. The recipient will always get the phone number of the sender, not a text representation of it. It's up to the recipient to add the number in their contacts list and assign their own name to it. That's the only way it's going to come up with any name at all.
 
Share this answer
 
Comments
wizy@2020 8-Apr-16 10:30am    
please but whenever I receive a text message from my network provider eg. Airtel, It shows on my modem as from Airtel but not the actual number they used.
I have not stored any number like that on my modem
Dave Kreskowiak 8-Apr-16 10:32am    
GSMCOMM doesn't expose any method to do it and you're not a phone provider.
wizy@2020 8-Apr-16 10:40am    
do you know of any library that can do that?
Dave Kreskowiak 8-Apr-16 10:45am    
No, otherwise I would have posted it.

I can see a glaring reason why nobody would support it. It would be too easily abused by spammers and scammers.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900