SMSC number update

Have a OnePlus 2 phone with BSNL number and international roaming enabled. Once I get back to India the Outgoing SMS will not work, reason SMSC number is lost in SIM. Had been struggling to set this everytime, here is the steps that makes it work:

  1. Put the BSNL SIM in slot 1 (inner one)
  2. Dial *#*#4636#*#* from the Dialer application (This doesn’t work from any other phone application, use only the native phone application)
  3. This will bring up “Testing” menu
  4. Goto Phone information
  5. Scroll down, you will see SMSC with UPDATE and REFRESH buttons
  6. Press REFRESH, if it gives error do the following
  7. Enter (with the double quotes included in beginning and end) “+919440099997”
  8. Press UPDATE, it will not give any response back
  9. Press REFRESH, it should show “+919440099997”,145
  10. You are all set to send out SMS.

This should be same for the other OnePlus models also. Alternate way of dialing **5005*7622*+919440099997# was giving connection not available or invalid IMI code.




IoT Challenges – Personal Drive and Motivation.

Just read the blog of Facebook founder Mark Zuckerburg on his attempt to build a AI server for his home named Jarvis, amazing motivation and drive to get to learn AI and most important I noticed is how he faced the challenge of IoT (trying to connect toaster and other devices).

Other thing I noticed is the language of choice : Python.

Read all about his adventure here

Windows Application crashes.

Last week I had to struggle to keep the Visio application from crashing on me as soon as I open it. This was happening with the Word and Excel too but more infrequently. A quick search on web and the fix was simple and crazy!, just switch off the default printer..

Not sure why a print library dll should be invoked till a print job is initiated!.

Macro recording and playback in vi

Had to correct around 2700+ lines of text in linux with the following changes :

  1. Search for <ctrl>M character inside the file
  2. Remove the <ctrl>M
  3. Join the next line to this line and complete the line.

Can’t do with single command and repeat with the “.” to replay the operation. Had learnt the macro recording of actions and playback sometime back in vi editor and wasn’t able to recollect the steps, refreshed it again today. Thought will blog it for others and for me to recollect when required later!.

  1. character q followed by one of a to z key to remember the recording
  2. character / followed by <ctrl>v and M
  3. character x to remove the <ctrl>M character
  4. character J to bring the next line and join to this line
  5. character q to stop recording
  6. type number 2800 and character @ followed by the key that held the recording

All replaced!. Save and come out..