Closed

Quick, send data from SD card to server through TCP,IP Micro

Hi everybody ,

simply what i have is Telit gm862 , and mikroc compiler and I have simple VB6 application in my PC which is have static Ip ,

the pic18 is connected to telit modem and it work fine

ok ? now to open the TCP connection in PIC18 I need to insert the following command

UART1_Write_Text("AT\r\n");

Deleay_ms(2000);

UART1_Write_Text("AT+CMEE=2\r\n");

Deleay_ms(2000);

UART1_Write_Text("AT&K=0\r\n");

Deleay_ms(2000);

UART1_Write_Text("AT#SKTSET=0,8082,\"IP\"\r\n"); // Server Ip and the Port

delay_ms(5000);

UART1_Write_Text("AT#SKTOP\r\n"); // start connection to send data .

Ok , now the connection is open and I will start to send some data ,

When I write simple data in UART1_write_Text("Hi Freelancer") , I can't receive it in my server but if I connected to pc terminal to see the output I can see it !! , I make this simple function to send character one by one which is

void send1(char *text)

{

while(*text)

UART1_Write(*text++); // Send characters one by one

}

Thin when I use this function send1("Hi Freelancer"); yes I can see it in terminal and in my Server application . that great and it is accept as much as I insert of data .

Now when I come to sd card to read it and send to server I problem , this is the code to read data from sd card , but in first I initialize the sd card then come to read function which is

Mmc_Fat_Assign("[url removed, login to view]", 0);

Mmc_Fat_Reset(&size); // To read file, procedure returns size of file

for (i = 1; i <= size; i++) {

Mmc_Fat_Read(&character);

UART1_Write(character); // Write data to UART

}

Yes I can see the data in terminal but in server I can't … ???????? I try to use send1 function but I didn't reach anywhere .

Now please , from freelancer read carefully and you should have knowledgment of dealing with array and telit modem gm862 . I need only the way to send data from sd card to server , only this .. I Will not release the milestone until I chick the c code .

Regards

Skills: C Programming, Electronics, Engineering, Telecommunications Engineering

See more: telit, void server freelancer, void freelancer, quick freelancer, procedure freelancer, from freelancer, freelancer void, freelancer start server, freelancer k, freelancer ip, freelancer insert data, freelancer insert, freelancer release, programming freelancer test, programming char, char programming, pic18, freelancer procedure, tcp, tcp ip, milestone r, micro freelancer, ip tcp, insert card, great ip

About the Employer:
( 0 reviews ) Dubai, United Arab Emirates

Project ID: #4161936

5 freelancers are bidding on average $90 for this job

hiro2

Please see my PM.

$30 USD in 1 day
(7 Reviews)
4.6
eldemokraty

please check your PMB.

$50 USD in 5 days
(3 Reviews)
3.1
aapS0ftware

I have done lots of work in embedded C including PIC dev boards. I can help you on this.

$70 USD in 4 days
(6 Reviews)
3.1
mvlp

Hi, I do have many skills related with your project. Please consider my offer. Thanks

$250 USD in 20 days
(1 Review)
1.7
Microemb

PLease read you PM.

$50 USD in 1 day
(0 Reviews)
0.0