<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - Device&amp;#039;s MAC Address - Comments</title>
 <link>http://www.newlc.com/topic-2548</link>
 <description>Comments for &quot;Device&#039;s MAC Address&quot;</description>
 <language>en</language>
<item>
 <title>Re: Device&#039;s MAC Address</title>
 <link>http://www.newlc.com/topic-2548#comment-43770</link>
 <description>&lt;p&gt;See my reply to your duplicate post in this thread: &lt;a href=&quot;http://www.newlc.com/forum/how-find-mac-address-mobile-device&quot;&gt;http://www.newlc.com/forum/how-find-mac-address-mobile-device&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Fri, 04 Jan 2008 15:35:02 +0100</pubDate>
 <dc:creator>N_A</dc:creator>
 <guid isPermaLink="false">comment 43770 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: How to find the MAC address of the mobile device in C#</title>
 <link>http://www.newlc.com/topic-2548#comment-43765</link>
 <description>&lt;p&gt;Hi All,&lt;/p&gt;

&lt;p&gt;I am trying to get MAC(Media Access Control ) address of a mobile connected in Bluetooth network programmatically through C#.I am using Visual Studio 2005. &lt;/p&gt;

&lt;p&gt;if u find anything just send me a mail to &lt;script type=&quot;text/javascript&quot;&gt;eval(unescape(&#039;%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%6a%61%79%61%6e%74%68%2e%6e%61%64%69%67%40%63%68%69%6d%65%72%61%74%65%63%68%6e%6f%6c%6f%67%69%65%73%2e%63%6f%6d%22%3e%6a%61%79%61%6e%74%68%2e%6e%61%64%69%67%40%63%68%69%6d%65%72%61%74%65%63%68%6e%6f%6c%6f%67%69%65%73%2e%63%6f%6d%3c%2f%61%3e%27%29%3b&#039;))&lt;/script&gt;. it&#039;s very urgent. please help me.&lt;/p&gt;

&lt;p&gt;Thanks in advance. &lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Fri, 04 Jan 2008 13:52:40 +0100</pubDate>
 <dc:creator>jayanth_nadig</dc:creator>
 <guid isPermaLink="false">comment 43765 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Device&#039;s MAC Address</title>
 <link>http://www.newlc.com/topic-2548#comment-43764</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I am trying to get MAC(Media Access Control ) address of a mobile connected in Bluetooth network programmatically through C#.I am using Visual Studio 2005. Please help me. Thanks in advance.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Fri, 04 Jan 2008 13:52:12 +0100</pubDate>
 <dc:creator>jayanth_nadig</dc:creator>
 <guid isPermaLink="false">comment 43764 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Device&#039;s MAC Address</title>
 <link>http://www.newlc.com/topic-2548#comment-8770</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;For Symbian 8.0a I get error -5 (not supported). Has there been any changes from 7?&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;_LIT(KServerIoCtrl,&amp;quot;L2CAP&amp;quot;);&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;RSocketServ&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;socketserver;&lt;br /&gt;&amp;nbsp; &amp;nbsp; RSocket&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;ioctrlsocket;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; User::LeaveIfError(socketserver.Connect());&lt;br /&gt;&amp;nbsp; &amp;nbsp; User::LeaveIfError(ioctrlsocket.Open(socketserver, KServerIoCtrl));&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; TPckgBuf&amp;lt;TBTDevAddr&amp;gt; addr;&lt;br /&gt;&amp;nbsp; &amp;nbsp; TRequestStatus status;&lt;br /&gt;&amp;nbsp; &amp;nbsp; ioctrlsocket.Ioctl(&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;KHCILocalAddressIoctl, status, &amp;amp;addr, KSolBtHCI);&lt;br /&gt;&amp;nbsp; &amp;nbsp; User::WaitForRequest(status);&lt;br /&gt;//status=-5&lt;br /&gt;&amp;nbsp; &amp;nbsp; ioctrlsocket.Close();&lt;br /&gt;&amp;nbsp; &amp;nbsp; socketserver.Close();&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Tue, 13 Sep 2005 11:17:35 +0200</pubDate>
 <dc:creator>riho</dc:creator>
 <guid isPermaLink="false">comment 8770 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Device&#039;s MAC Address</title>
 <link>http://www.newlc.com/topic-2548#comment-8769</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Thanks for your code. It is great!!&lt;/div&gt;</description>
 <pubDate>Fri, 08 Jul 2005 16:41:48 +0200</pubDate>
 <dc:creator>pai</dc:creator>
 <guid isPermaLink="false">comment 8769 at http://www.newlc.com</guid>
</item>
<item>
 <title>Device&#039;s MAC Address</title>
 <link>http://www.newlc.com/topic-2548#comment-8768</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi !&lt;br /&gt;&lt;br /&gt;I&#039;ve finally found it out how to get the MAC Address on your device. It works fine and goes like this :&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;RSocketServ aSocketServer;&lt;br /&gt;aSocketServer.Connect&amp;#40;&amp;#41;;&lt;br /&gt;RSocket socket;&lt;br /&gt;User&amp;#58;&amp;#58;LeaveIfError&amp;#40;socket.Open&amp;#40;aSocketServer,_L&amp;#40;&amp;quot;L2CAP&amp;quot;&amp;#41;&amp;#41;&amp;#41;;&lt;br /&gt;TPckgBuf&amp;lt;TBTDevAddr&amp;gt; devAddr;&lt;br /&gt;TRequestStatus stat;&lt;br /&gt;socket.Ioctl&amp;#40;KHCILocalAddressIoctl, stat, &amp;amp;devAddr, KSolBtHCI&amp;#41;;&lt;br /&gt;&lt;br /&gt;User&amp;#58;&amp;#58;WaitForRequest&amp;#40;stat&amp;#41;;&lt;br /&gt;if&amp;#40;stat == KErrNone&amp;#41; &amp;#123;&lt;br /&gt; &amp;nbsp; &amp;nbsp; TBTDevAddr localAddr=devAddr&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; TBuf&amp;lt;1024&amp;gt; btAddr;&lt;br /&gt; &amp;nbsp; &amp;nbsp;for&amp;#40;int i=0;i&amp;lt;localAddr.Des&amp;#40;&amp;#41;.Length&amp;#40;&amp;#41;;i++&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&amp;#123;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;btAddr.AppendNumFixedWidth&amp;#40;localAddr&amp;#91;i&amp;#93;,EHex,2&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&amp;#125;&lt;br /&gt; &amp;nbsp;// Outputs MAC Address&lt;br /&gt; &amp;nbsp; User&amp;#58;&amp;#58;InfoPrint&amp;#40;btAddr&amp;#41;;&lt;br /&gt;&amp;#125; &lt;br /&gt;else &lt;br /&gt;&amp;#123;&lt;br /&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;User&amp;#58;&amp;#58;InfoPrint&amp;#40;_L&amp;#40;&amp;quot;Error &amp;#58;-&amp;#40; &amp;quot;&amp;#41;&amp;#41;;&lt;br /&gt;&amp;#125;&lt;br /&gt;socket.Close&amp;#40;&amp;#41;;&lt;br /&gt;aSocketServer.Close&amp;#40;&amp;#41;;&lt;/div&gt;&lt;br /&gt;You must use the HCI Commands&lt;br /&gt;&lt;br /&gt;MatD:-)&lt;/div&gt;</description>
 <pubDate>Thu, 26 Aug 2004 14:33:13 +0200</pubDate>
 <dc:creator>matd</dc:creator>
 <guid isPermaLink="false">comment 8768 at http://www.newlc.com</guid>
</item>
<item>
 <title>Device&#039;s MAC Address</title>
 <link>http://www.newlc.com/topic-2548#comment-8767</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Sorry, I didnÂ´t test the code. I use the IMEI meanwhile.&lt;br /&gt;The only way to find out the address of my phone was from a remote device.&lt;/div&gt;</description>
 <pubDate>Tue, 24 Aug 2004 09:38:17 +0200</pubDate>
 <dc:creator>ribizli</dc:creator>
 <guid isPermaLink="false">comment 8767 at http://www.newlc.com</guid>
</item>
<item>
 <title>Device&#039;s MAC Address</title>
 <link>http://www.newlc.com/topic-2548#comment-8766</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi ribizli&lt;br /&gt;&lt;br /&gt;Yes I read your post before posting this one. But unfortunately I can&amp;#039;t get the Mac Address of my Smartphone, i face the same problem as you. By the way, if you have managed to get other digits than 00 00 00 00 it&amp;#039;ll be nice if you could post a code snippet.&lt;br /&gt;I&amp;#039;ve also read thread : &lt;a href=&quot;http&amp;#58;//forum.newlc.com/viewtopic.php?t=1768&quot; target=&quot;_blank&quot;&gt;http://forum.newlc.com/viewtopic.php?t=1768&lt;/a&gt; but couldn&amp;#039;t retrieve the Mac Address&lt;br /&gt;&lt;br /&gt;It seems like the way to get the Mac Address of a symbian smartphone is a real mystery. Why &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/huh.gif&quot; alt=&quot;Huh&quot; border=&quot;0&quot; /&gt; Other Bluetooth devices simply have it written on a little stick and can be so easily retrieved.&lt;br /&gt;&lt;br /&gt;Thx for your help and explanations !&lt;br /&gt;&lt;br /&gt;MatD:-)&lt;/div&gt;</description>
 <pubDate>Mon, 23 Aug 2004 23:44:05 +0200</pubDate>
 <dc:creator>matd</dc:creator>
 <guid isPermaLink="false">comment 8766 at http://www.newlc.com</guid>
</item>
<item>
 <title>Device&#039;s MAC Address</title>
 <link>http://www.newlc.com/topic-2548#comment-8765</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Take a look at &lt;a href=&quot;http&amp;#58;//forum.newlc.com/viewtopic.php?t=2155&quot; target=&quot;_blank&quot;&gt;http://forum.newlc.com/viewtopic.php?t=2155&lt;/a&gt;&lt;/div&gt;</description>
 <pubDate>Mon, 23 Aug 2004 15:51:10 +0200</pubDate>
 <dc:creator>ribizli</dc:creator>
 <guid isPermaLink="false">comment 8765 at http://www.newlc.com</guid>
</item>
<item>
 <title>Device&#039;s MAC Address</title>
 <link>http://www.newlc.com/topic-2548</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/topic-2548&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/topic-2548#comments</comments>
 <category domain="http://www.newlc.com/forums/bluetooth">Bluetooth &amp;amp; Wifi</category>
 <pubDate>Sat, 21 Aug 2004 10:18:04 +0200</pubDate>
 <dc:creator>matd</dc:creator>
 <guid isPermaLink="false">3544 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
