Friday, March 15, 2013

Detecting Mobile Device IMEI, IMSI, Model, Comport Using AT ...


Example
#{example}
"); ipb.editor_values.get('templates')['togglesource'] = new Template("
??? Cancel Source Edit
"); ipb.editor_values.get('templates')['toolbar'] = new Template(""); ipb.editor_values.get('templates')['button'] = new Template("
  • Icon
  • "); ipb.editor_values.get('templates')['menu_item'] = new Template("
  • #{title}
  • "); ipb.editor_values.get('templates')['togglesource'] = new Template("
    ??? Cancel Source Edit
    "); ipb.editor_values.get('templates')['emoticons_showall'] = new Template(""); ipb.editor_values.get('templates')['emoticon_wrapper'] = new Template("

    Emoticons

    "); // Add smilies into the mix ipb.editor_values.set( 'show_emoticon_link', false ); ipb.editor_values.set( 'bbcodes', $H({"snapback":{"id":"1","title":"Post Snap Back","desc":"This tag displays a little linked image which links back to a post - used when quoting posts from the board. Opens in same window by default.","tag":"snapback","useoption":"0","example":"[snapback]100[/snapback]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"topic":{"id":"5","title":"Topic Link","desc":"This tag provides an easy way to link to a topic","tag":"topic","useoption":"1","example":"[topic=1]Click me![/topic]","switch_option":"0","menu_option_text":"Enter the topic ID","menu_content_text":"Enter the title for this link","single_tag":"0","optional_option":"0","image":""},"post":{"id":"6","title":"Post Link","desc":"This tag provides an easy way to link to a post.","tag":"post","useoption":"1","example":"[post=1]Click me![/post]","switch_option":"0","menu_option_text":"Enter the Post ID","menu_content_text":"Enter the title for this link","single_tag":"0","optional_option":"0","image":""},"spoiler":{"id":"7","title":"Spoiler","desc":"Spoiler tag","tag":"spoiler","useoption":"0","example":"[spoiler]Some hidden text[/spoiler]","switch_option":"0","menu_option_text":"","menu_content_text":"Enter the text to be masked","single_tag":"0","optional_option":"0","image":""},"acronym":{"id":"8","title":"Acronym","desc":"Allows you to make an acronym that will display a description when moused over","tag":"acronym","useoption":"1","example":"[acronym='Laugh Out Loud']lol[/acronym]","switch_option":"0","menu_option_text":"Enter the description for this acronym (EG: Laugh Out Loud)","menu_content_text":"Enter the acronym (EG: lol)","single_tag":"0","optional_option":"0","image":""},"hr":{"id":"12","title":"Horizontal Rule","desc":"Adds a horizontal rule to separate text","tag":"hr","useoption":"0","example":"[hr]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"1","optional_option":"0","image":""},"php":{"id":"14","title":"PHP Code","desc":"Allows you to enter PHP code into a formatted/highlighted syntax box","tag":"php","useoption":"0","example":"[php]$variable = true;\n\nprint_r($variable);[/php]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"html":{"id":"15","title":"HTML Code","desc":"Allows you to enter formatted/syntax-highlighted HTML code","tag":"html","useoption":"0","example":"[html]\n \n[/html]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"sql":{"id":"16","title":"SQL Code","desc":"Allows you to enter formatted/syntax-highlighted SQL code","tag":"sql","useoption":"0","example":"[sql]SELECT p.*, t.* FROM posts p LEFT JOIN topics t ON t.tid=p.topic_id WHERE t.tid=7[/sql]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"xml":{"id":"17","title":"XML Code","desc":"Allows you to enter formatted/syntax-highlighted XML code","tag":"xml","useoption":"0","example":"[xml]\n \n Test\n \n[/xml]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"member":{"id":"31","title":"Member","desc":"Given a member name, a link is automatically generated to the member's profile","tag":"member","useoption":"1","example":"[member=skyhawk133] runs this site.","switch_option":"0","menu_option_text":"Input Username of Member","menu_content_text":"","single_tag":"1","optional_option":"0","image":"memberbbcode.png"},"extract":{"id":"33","title":"Extract Blog Entry","desc":"This will allow users to define an extract for an entry. Only this piece of the entry will be displayed on the main blog page and will show up in the RSS feed.","tag":"extract","useoption":"0","example":"[extract]This is an example![/extract]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"blog":{"id":"34","title":"Blog Link","desc":"This tag provides an easy way to link to a blog.","tag":"blog","useoption":"1","example":"[blog=100]Click me![/blog]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"entry":{"id":"35","title":"Blog Entry Link","desc":"This tag provides an easy way to link to a blog entry.","tag":"entry","useoption":"1","example":"[entry=100]Click me![/entry]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"twitter":{"id":"36","title":"Twitter","desc":"A tag to link to a user's twitter account","tag":"twitter","useoption":"0","example":"[twitter]userName[/twitter]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":"twitter.png"},"inline":{"id":"37","title":"Inline Code","desc":"Formats code inline instead of in a seperate code box. ","tag":"inline","useoption":"0","example":"[inline]style=\"font-size: 12px;\"[/inline]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"il":{"id":"38","title":"Abbreviated Inline (IL)","desc":"Abbreviated version of the [inline] tag. ","tag":"il","useoption":"0","example":"[il]Code Here[/il]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":"il2.png"},"code":{"id":"41","title":"Code","desc":"Allows you to enter general code","tag":"code","useoption":"1","example":"[code]$text = 'Some long code here';[/code]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"1","image":""}}) ); ipb.vars['emoticon_url'] = "http://cdn.dreamincode.net/forums/public/style_emoticons/default"; //Search Setup ipb.vars['search_type'] = 'forum'; ipb.vars['search_type_id'] = 67; ipb.vars['search_type_2'] = 'topic'; ipb.vars['search_type_id_2'] = 315402; //]]>

    4 Replies - 36 Views - Last Post: A minute ago Rate Topic: -----

    #1 jatin7 ?Icon User is online

    Reputation: 0

    • Posts: 3
    • Joined: Today, 05:13 AM

    Posted Today, 05:16 AM

    Hi

    I am working on an Application in VB.Net for detecting Comport, Mobile phone/modem info like IMSI,IMEI,Model, etc. using AT commands.
    Comport has been successfully detected.
    But how to detect IMEI,IMSI,Model of Mobile Phone Connected alongwith COM Port .
    Please help..
    It's Urgent

    Is This A Good Question/Topic? 0

    Replies To: Detecting Mobile Device IMEI, IMSI, Model, Comport using AT commands

    #2 lar3ry ?Icon User is online

    Reputation: 185

    • Posts: 747
    • Joined: 12-September 12

    Re: Detecting Mobile Device IMEI, IMSI, Model, Comport using AT commands

    Posted Today, 06:19 AM

    View Postjatin7, on 14 March 2013 - 06:16 AM, said:

    I am working on an Application in VB.Net for detecting Comport, Mobile phone/modem info like IMSI,IMEI,Model, etc. using AT commands.
    Comport has been successfully detected.
    But how to detect IMEI,IMSI,Model of Mobile Phone Connected alongwith COM Port .


    You have to send it an AT command string and see what comes back.

    For example:
    Name of manufacturer - AT+CGMI
    Model number - AT+CGMM
    IMEI number - AT+CGSN
    Software version - AT+CGMR
    IMSI number - AT+CIMI

    Here's a good Introduction to start with.

    If, on the other hand, you are looking for advice on actually sending and receiving through the COM port, let us know, and show us the code you've tried so far.

    This post has been edited by lar3ry: Today, 06:21 AM


    #3 jatin7 ?Icon User is online

    Reputation: 0

    • Posts: 3
    • Joined: Today, 05:13 AM

    Re: Detecting Mobile Device IMEI, IMSI, Model, Comport using AT commands

    Posted 21 minutes ago

    View Postlar3ry, on 14 March 2013 - 06:19 AM, said:

    View Postjatin7, on 14 March 2013 - 06:16 AM, said:

    I am working on an Application in VB.Net for detecting Comport, Mobile phone/modem info like IMSI,IMEI,Model, etc. using AT commands.
    Comport has been successfully detected.
    But how to detect IMEI,IMSI,Model of Mobile Phone Connected alongwith COM Port .


    You have to send it an AT command string and see what comes back.

    For example:
    Name of manufacturer - AT+CGMI
    Model number - AT+CGMM
    IMEI number - AT+CGSN
    Software version - AT+CGMR
    IMSI number - AT+CIMI

    Here's a good Introduction to start with.

    If, on the other hand, you are looking for advice on actually sending and receiving through the COM port, let us know, and show us the code you've tried so far.

    Hi
    I made an applivation in VB.NET 2012 to detect comport & applying functions on it.
    Now..my next task is to detect IMSI,IMEI,Model .
    I want to display list of all connected Devices along with IMSI,IMEI,Model,Comport.
    Guide.


    #4 lar3ry ?Icon User is online

    Reputation: 185

    • Posts: 747
    • Joined: 12-September 12

    Re: Detecting Mobile Device IMEI, IMSI, Model, Comport using AT commands

    Posted 13 minutes ago

    Did you check the Link I gave you?
    Did you try any of the commands I supplied, and that are spelled out in the Link?
    I don't see any code you've tried.


    #5 jatin7 ?Icon User is online

    Reputation: 0

    • Posts: 3
    • Joined: Today, 05:13 AM

    Re: Detecting Mobile Device IMEI, IMSI, Model, Comport using AT commands

    Posted A minute ago

    View Postlar3ry, on 14 March 2013 - 10:51 PM, said:

    Did you check the Link I gave you?
    Did you try any of the commands I supplied, and that are spelled out in the Link?
    I don't see any code you've tried.

    Here's code for Comport detection & selection.

    
 Public Class COMSelection     Dim SelectedComPort As COMPort = Nothing      Private Sub COMSelection_Loaded(sender As Object, e As RoutedEventArgs) Handles Me.Loaded         Refresh()         '  GlassOnWindowAPI.ApplyGlassOnWholeWindow(Me)         Dim ComActivityLogWindow As New ActivityLogs()         ComActivityLogwindow.Hide()     End Sub      Private Sub Refresh()         CType(Application.Current, Application).Logs.Add("Enumerating COM Ports...")         Dim Ports() As String = System.IO.Ports.SerialPort.GetPortNames()          If Ports.Length.Equals(0) Then             CType(Application.Current, Application).Logs.Add("No COM Port(s) found on this system. Please attach a Modem or UR to use COM Ports")             lblNoComPorts.Visibility = Windows.Visibility.Visible             lstComList.Visibility = Windows.Visibility.Collapsed         Else             CType(Application.Current, Application).Logs.Add(String.Format("Found {0} COM Port(s)", Ports.Length))             lstComList.ItemsSource = Ports             lblNoComPorts.Visibility = Windows.Visibility.Collapsed             lstComList.Visibility = Windows.Visibility.Visible         End If     End Sub      Private Sub btnRefesh_Click(sender As Object, e As RoutedEventArgs)         Refresh()     End Sub      Private Sub btnSelect_Click(sender As Object, e As RoutedEventArgs)         If lstComList.SelectedItems.Count.Equals(0) Then             CType(Application.Current, Application).Logs.Add("No COM Port Selected")             MessageBox.Show("Please select atleast one COM Port from the COM Port List", "COM Selection", MessageBoxButton.OK, MessageBoxImage.Error)             Return         End If          Dim ComPortNames As List(Of String) = New List(Of String)()         For Each ComPortName As String In lstComList.SelectedItems             ComPortNames.Add(ComPortName)             CType(Application.Current, Application).Logs.Add(String.Format("{0} selected for use", ComPortName))         Next         CType(Application.Current, Application).SetupComPortNames(ComPortNames)          MessageBox.Show("Selected COM Ports are now selected to use", "COM Selection", MessageBoxButton.OK, MessageBoxImage.Information)           Dim ComOp As New COMOperation()         ComOp.Show()          Me.Close()     End Sub  End Class 

    But i want to Display list of connected devices with their IMEI,IMSI,Model before selecting any comport.


    Page 1 of 1


    Source: http://www.dreamincode.net/forums/topic/315402-detecting-mobile-device-imei-imsi-model-comport-using-at-commands/

    old school nick swisher jaco san jose sharks humber perfect game ufc 145 fight card ufc145

    No comments:

    Post a Comment