SlideShare a Scribd company logo
Using SMS in your personal projects ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Using SMS in your personal projects ,[object Object]
Using SMS in your personal projects ,[object Object],[object Object]
Using SMS in your personal projects And programmers all know how to read from databases
Using SMS in your personal projects And programmers all know how to read from databases mostly
Using SMS in your personal projects So, why not use something which would read SMS messages from a mobile phone, and insert them into a database for processing?
Using SMS in your personal projects Of course, I couldn't find one so I wrote one!
Using SMS in your personal projects I wanted to help users who like exchanging SMS with microblogging sites (like Twitter or Identi.ca)
Using SMS in your personal projects But couldn't because they turned it off
Using SMS in your personal projects Or didn't have it in my country for my network
Using SMS in your personal projects It also meant I had a project to work on :)
Using SMS in your personal projects Enter smsToLaconica
Using SMS in your personal projects Crap name huh?
Using SMS in your personal projects Laconica is the microblogging software I was writing for initially
Using SMS in your personal projects My first draft only took SMS messages and sent them to Laconi.ca based sites e.g. ”Yey! I'm talking at #BarcampLiverpool”
Using SMS in your personal projects Next I wanted to also send SMSs back from my direct messages and replies e.g. ”@jontheniceguy I'm loving it so far!”
Using SMS in your personal projects (I hope that's what I'll read!)
Using SMS in your personal projects So, I had to learn about how to send and receive SMS messages.
Using SMS in your personal projects It's actually pretty easy.
Using SMS in your personal projects Kinda...
Using SMS in your personal projects The mobile phone acts like a modem – you talk to it with AT commands
Using SMS in your personal projects AT+CMGL=”All” or AT+CMGL=4 These commands retrieve all messages on your phone, depending on the modes your phone will accept – PDU or Text
Using SMS in your personal projects Modes in SMS
Using SMS in your personal projects PDU is a binary format – it's 7 bit binary, stored in 8 bit chunks converted to hex.
Using SMS in your personal projects The messages look like this: 07911326040000F0040B911346610089F600002080629 17314080CC8F71D14969741F977FD07
Using SMS in your personal projects I found it really hard to send SMS messages in PDU mode, so I switched my focus to TEXT mode
Using SMS in your personal projects I found it really hard to send SMS messages in PDU mode, so I switched my focus to TEXT mode Which is just normal text
Using SMS in your personal projects You don't need to know all the detail now, but it does work
Using SMS in your personal projects And you don't ACTUALLY need to be working with Laconi.ca or identi.ca to use the code in your own site!
Using SMS in your personal projects It's just a PHP script which you run as a daemon!
Using SMS in your personal projects (You might need to tweak it a bit!)
Using SMS in your personal projects The code is released under the Affero General Public License (v3), but if you contact me directly, I'll consider re-licensing for your project
Using SMS in your personal projects Or, you could just look at lib_text.php or lib_pdu.php in the source code
Using SMS in your personal projects So, where is the source code?
Using SMS in your personal projects Sourceforge of course!
Using SMS in your personal projects It's at http://sourceforge.net/projects/laconicatools
Using SMS in your personal projects Or http://is.gd/2pad for short!
Using SMS in your personal projects What do you need to make it run?
Using SMS in your personal projects A mobile phone
Using SMS in your personal projects One you can connect to with a data cable or bluetooth
Using SMS in your personal projects That exposes the modem as a serial port
Using SMS in your personal projects (Nokia's do well on this, and most of us have an old one kicking around)
Using SMS in your personal projects I use a Linux daemon called ser2net to expose the serial port via telnet (on port 2000)
Using SMS in your personal projects And then you need PHP, and a database that PHP knows how to talk to (which is most of them!)
Using SMS in your personal projects And that's it
Using SMS in your personal projects Any questions?

More Related Content

Similar to Using SMS in your personal project

Introjs10.5.17SD
Introjs10.5.17SDIntrojs10.5.17SD
Introjs10.5.17SD
Thinkful
 
Goldenbytes SMS review at Mobile Monday :
Goldenbytes SMS review at Mobile Monday :Goldenbytes SMS review at Mobile Monday :
Goldenbytes SMS review at Mobile Monday :
Mobile Monday Brussels
 
BTK Designing for the web 2016
BTK Designing for the web 2016BTK Designing for the web 2016
BTK Designing for the web 2016
Lukas Oppermann
 
E-commerce Primer For Newbies
E-commerce Primer For NewbiesE-commerce Primer For Newbies
E-commerce Primer For Newbies
Peter Fisher
 
Dmdh winter 2015 session #1
Dmdh winter 2015 session #1Dmdh winter 2015 session #1
Dmdh winter 2015 session #1
sarahkh12
 
E-commerce Primer For Newbies (Not Dummies)
E-commerce Primer For Newbies (Not Dummies)E-commerce Primer For Newbies (Not Dummies)
E-commerce Primer For Newbies (Not Dummies)
webhostingguy
 
PhoneGap Day EU 2016
PhoneGap Day EU 2016PhoneGap Day EU 2016
PhoneGap Day EU 2016
Eddy Verbruggen
 
Text and call
Text and callText and call
Text and call
DMLMHS
 
Nltk - Boston Text Analytics
Nltk - Boston Text AnalyticsNltk - Boston Text Analytics
Nltk - Boston Text Analytics
shanbady
 
225 ch1 (1)
225 ch1 (1)225 ch1 (1)
225 ch1 (1)
Jitin Talwar
 
Web technology today
Web technology todayWeb technology today
Web technology today
Dr. Ramkumar Lakshminarayanan
 
Course_Template
Course_TemplateCourse_Template
Course_Template
Sri Ram
 
Introduction to Docker and Containers- Learning Simple
Introduction to Docker and Containers- Learning SimpleIntroduction to Docker and Containers- Learning Simple
Introduction to Docker and Containers- Learning Simple
Sandeep Hijam
 
The windows socket
The windows socketThe windows socket
The windows socket
Fernando Grille
 
Whatsapp-An innovative way of networking
Whatsapp-An innovative way of networkingWhatsapp-An innovative way of networking
Whatsapp-An innovative way of networking
Samrat Sikri
 
TSH
TSHTSH
Trigger Emails BigD17
Trigger Emails BigD17Trigger Emails BigD17
Trigger Emails BigD17
Susan McKenzie
 
Ios machine learning
Ios machine learningIos machine learning
Ios machine learning
Daisuke Nagata
 
miniProject.pptx
miniProject.pptxminiProject.pptx
miniProject.pptx
ArunSharma412709
 
Printcasting Asne
Printcasting AsnePrintcasting Asne
Printcasting Asne
Dan Pacheco
 

Similar to Using SMS in your personal project (20)

Introjs10.5.17SD
Introjs10.5.17SDIntrojs10.5.17SD
Introjs10.5.17SD
 
Goldenbytes SMS review at Mobile Monday :
Goldenbytes SMS review at Mobile Monday :Goldenbytes SMS review at Mobile Monday :
Goldenbytes SMS review at Mobile Monday :
 
BTK Designing for the web 2016
BTK Designing for the web 2016BTK Designing for the web 2016
BTK Designing for the web 2016
 
E-commerce Primer For Newbies
E-commerce Primer For NewbiesE-commerce Primer For Newbies
E-commerce Primer For Newbies
 
Dmdh winter 2015 session #1
Dmdh winter 2015 session #1Dmdh winter 2015 session #1
Dmdh winter 2015 session #1
 
E-commerce Primer For Newbies (Not Dummies)
E-commerce Primer For Newbies (Not Dummies)E-commerce Primer For Newbies (Not Dummies)
E-commerce Primer For Newbies (Not Dummies)
 
PhoneGap Day EU 2016
PhoneGap Day EU 2016PhoneGap Day EU 2016
PhoneGap Day EU 2016
 
Text and call
Text and callText and call
Text and call
 
Nltk - Boston Text Analytics
Nltk - Boston Text AnalyticsNltk - Boston Text Analytics
Nltk - Boston Text Analytics
 
225 ch1 (1)
225 ch1 (1)225 ch1 (1)
225 ch1 (1)
 
Web technology today
Web technology todayWeb technology today
Web technology today
 
Course_Template
Course_TemplateCourse_Template
Course_Template
 
Introduction to Docker and Containers- Learning Simple
Introduction to Docker and Containers- Learning SimpleIntroduction to Docker and Containers- Learning Simple
Introduction to Docker and Containers- Learning Simple
 
The windows socket
The windows socketThe windows socket
The windows socket
 
Whatsapp-An innovative way of networking
Whatsapp-An innovative way of networkingWhatsapp-An innovative way of networking
Whatsapp-An innovative way of networking
 
TSH
TSHTSH
TSH
 
Trigger Emails BigD17
Trigger Emails BigD17Trigger Emails BigD17
Trigger Emails BigD17
 
Ios machine learning
Ios machine learningIos machine learning
Ios machine learning
 
miniProject.pptx
miniProject.pptxminiProject.pptx
miniProject.pptx
 
Printcasting Asne
Printcasting AsnePrintcasting Asne
Printcasting Asne
 

Recently uploaded

みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 

Recently uploaded (20)

みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 

Using SMS in your personal project

  • 1.
  • 2.
  • 3.
  • 4. Using SMS in your personal projects And programmers all know how to read from databases
  • 5. Using SMS in your personal projects And programmers all know how to read from databases mostly
  • 6. Using SMS in your personal projects So, why not use something which would read SMS messages from a mobile phone, and insert them into a database for processing?
  • 7. Using SMS in your personal projects Of course, I couldn't find one so I wrote one!
  • 8. Using SMS in your personal projects I wanted to help users who like exchanging SMS with microblogging sites (like Twitter or Identi.ca)
  • 9. Using SMS in your personal projects But couldn't because they turned it off
  • 10. Using SMS in your personal projects Or didn't have it in my country for my network
  • 11. Using SMS in your personal projects It also meant I had a project to work on :)
  • 12. Using SMS in your personal projects Enter smsToLaconica
  • 13. Using SMS in your personal projects Crap name huh?
  • 14. Using SMS in your personal projects Laconica is the microblogging software I was writing for initially
  • 15. Using SMS in your personal projects My first draft only took SMS messages and sent them to Laconi.ca based sites e.g. ”Yey! I'm talking at #BarcampLiverpool”
  • 16. Using SMS in your personal projects Next I wanted to also send SMSs back from my direct messages and replies e.g. ”@jontheniceguy I'm loving it so far!”
  • 17. Using SMS in your personal projects (I hope that's what I'll read!)
  • 18. Using SMS in your personal projects So, I had to learn about how to send and receive SMS messages.
  • 19. Using SMS in your personal projects It's actually pretty easy.
  • 20. Using SMS in your personal projects Kinda...
  • 21. Using SMS in your personal projects The mobile phone acts like a modem – you talk to it with AT commands
  • 22. Using SMS in your personal projects AT+CMGL=”All” or AT+CMGL=4 These commands retrieve all messages on your phone, depending on the modes your phone will accept – PDU or Text
  • 23. Using SMS in your personal projects Modes in SMS
  • 24. Using SMS in your personal projects PDU is a binary format – it's 7 bit binary, stored in 8 bit chunks converted to hex.
  • 25. Using SMS in your personal projects The messages look like this: 07911326040000F0040B911346610089F600002080629 17314080CC8F71D14969741F977FD07
  • 26. Using SMS in your personal projects I found it really hard to send SMS messages in PDU mode, so I switched my focus to TEXT mode
  • 27. Using SMS in your personal projects I found it really hard to send SMS messages in PDU mode, so I switched my focus to TEXT mode Which is just normal text
  • 28. Using SMS in your personal projects You don't need to know all the detail now, but it does work
  • 29. Using SMS in your personal projects And you don't ACTUALLY need to be working with Laconi.ca or identi.ca to use the code in your own site!
  • 30. Using SMS in your personal projects It's just a PHP script which you run as a daemon!
  • 31. Using SMS in your personal projects (You might need to tweak it a bit!)
  • 32. Using SMS in your personal projects The code is released under the Affero General Public License (v3), but if you contact me directly, I'll consider re-licensing for your project
  • 33. Using SMS in your personal projects Or, you could just look at lib_text.php or lib_pdu.php in the source code
  • 34. Using SMS in your personal projects So, where is the source code?
  • 35. Using SMS in your personal projects Sourceforge of course!
  • 36. Using SMS in your personal projects It's at http://sourceforge.net/projects/laconicatools
  • 37. Using SMS in your personal projects Or http://is.gd/2pad for short!
  • 38. Using SMS in your personal projects What do you need to make it run?
  • 39. Using SMS in your personal projects A mobile phone
  • 40. Using SMS in your personal projects One you can connect to with a data cable or bluetooth
  • 41. Using SMS in your personal projects That exposes the modem as a serial port
  • 42. Using SMS in your personal projects (Nokia's do well on this, and most of us have an old one kicking around)
  • 43. Using SMS in your personal projects I use a Linux daemon called ser2net to expose the serial port via telnet (on port 2000)
  • 44. Using SMS in your personal projects And then you need PHP, and a database that PHP knows how to talk to (which is most of them!)
  • 45. Using SMS in your personal projects And that's it
  • 46. Using SMS in your personal projects Any questions?