<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EmbLogic &#187; kumar.sanjeev</title>
	<atom:link href="https://www.emblogic.com/blog/author/kumar-sanjeev/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>E14 need help.. to Siddarth Sir</title>
		<link>https://www.emblogic.com/blog/09/e14-need-help-to-siddarth-sir/</link>
		<comments>https://www.emblogic.com/blog/09/e14-need-help-to-siddarth-sir/#comments</comments>
		<pubDate>Tue, 04 Sep 2012 10:46:28 +0000</pubDate>
		<dc:creator><![CDATA[kumar.sanjeev]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=5192</guid>
		<description><![CDATA[facing problem with compression&#8230;plz help #include&#60;stdio.h&#62; #include&#60;string.h&#62; #define max_arr 255 //___________________________________________________ vars char master_array[max_arr]; char str[]=&#8221;she selles sea shells at the sea shore&#8221;; char compressed_byte[max_arr],final_array[max_arr],expanded_byte[max_arr]; int count=0; //___________________________________________________ fun char merge_bytes(char,char); int get_char_index(char); char int_to_char(int); int compress(); //___________________________________________________main int main() &#8230; <a href="https://www.emblogic.com/blog/09/e14-need-help-to-siddarth-sir/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>facing problem with compression&#8230;plz help</strong></p>
<p>#include&lt;stdio.h&gt;<br />
#include&lt;string.h&gt;<br />
#define max_arr 255</p>
<p>//___________________________________________________ vars<br />
char master_array[max_arr];<br />
char str[]=&#8221;she selles sea shells at the sea shore&#8221;;<br />
char compressed_byte[max_arr],final_array[max_arr],expanded_byte[max_arr];<br />
int count=0;</p>
<p>//___________________________________________________ fun<br />
char merge_bytes(char,char);<br />
int get_char_index(char);<br />
char int_to_char(int);<br />
int compress();</p>
<p>//___________________________________________________main</p>
<p>int main()<br />
{<br />
int i=0,len;<br />
len=strlen(str);<br />
for(i=0;i&lt;=len;i++)<br />
{<br />
if(!find_in_array(str[i]))<br />
put_in_array(str[i]);</p>
<p>}<br />
return 0;<br />
}</p>
<p>//___________________________________________________ fun def</p>
<p>int compress()</p>
<p>{<br />
int i,len,j;<br />
len=strlen(str);<br />
for(i=0,j=0;i&lt;=len;i=i+2,j++)<br />
{<br />
compressed_byte[j]=merge_bytes(int_to_char(get_char_index(str[i])),int_to_char(get_char_index(str[i+1])));<br />
return 0;<br />
}<br />
compressed_byte[j]=&#8221;;<br />
return 0;<br />
clear_empty_bytes();<br />
}</p>
<p>char int_to_char(int num)<br />
{<br />
char ch;<br />
return ch=(char)num;<br />
}</p>
<p>int get_char_index(char ch)<br />
{<br />
int i;<br />
for(i=0;i&lt;=count;i++)<br />
{<br />
if(master_array[i]==ch)<br />
return i;<br />
}<br />
}</p>
<p>char merge_bytes(char upper_nibble,char lower_nibble)<br />
{<br />
char final_byte;<br />
final_byte=upper_nibble&lt;&lt;4;<br />
final_byte|lower_nibble;<br />
return final_byte;<br />
}</p>
<p>int put_in_array(char ch)</p>
<p>{<br />
master_array[count]=ch;<br />
count++;<br />
return 1;<br />
}</p>
<p>int find_in_array(char ch)<br />
{<br />
int i=0;<br />
for(i=0;i&lt;=count;i++)<br />
{<br />
if(ch==master_array[i])<br />
return 1;<br />
}<br />
return 0;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/09/e14-need-help-to-siddarth-sir/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wireless driver installation</title>
		<link>https://www.emblogic.com/blog/08/wireless-driver-installation/</link>
		<comments>https://www.emblogic.com/blog/08/wireless-driver-installation/#comments</comments>
		<pubDate>Thu, 30 Aug 2012 12:27:53 +0000</pubDate>
		<dc:creator><![CDATA[kumar.sanjeev]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=5121</guid>
		<description><![CDATA[please help to install wireless driver 02:00.1 SD Host controller: Broadcom Corporation Device 16bc (rev 10) 02:00.2 System peripheral: Broadcom Corporation Device 16be (rev 10) 02:00.3 System peripheral: Broadcom Corporation Device 16bf (rev 10) 03:00.0 Network controller: Broadcom Corporation Device &#8230; <a href="https://www.emblogic.com/blog/08/wireless-driver-installation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>please help to install wireless driver</p>
<p>02:00.1 SD Host controller: Broadcom Corporation Device 16bc (rev 10)<br />
02:00.2 System peripheral: Broadcom Corporation Device 16be (rev 10)<br />
02:00.3 System peripheral: Broadcom Corporation Device 16bf (rev 10)<br />
03:00.0 Network controller: Broadcom Corporation Device 4358</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/08/wireless-driver-installation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
