Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Lukas

Pages: [1]
1
µTasker general / connectin with name instead of ip
« on: August 26, 2008, 08:18:56 AM »
Hallo.
I have implemented the Netbios an it works. Clients can connect to my Serverapplication using the Netbios-name.
But is it also possible to connect to a server from my uTasker-Board with an name?
For example
fnTCP_connect(my_socket, SERVERNAME, port_number, 0, 0);

And for "SERVERNAME" I want to use the Netbiosname instead of the IP.
Thanks

2
µTasker general / write to a file after close
« on: April 29, 2008, 02:25:45 PM »
Hallo.
I'm new in the uTasker world. I read the two docs about the filesystem, but still have a problem:
I open a new file:
Code: [Select]
   unsigned char *ptrLogfile = uOpenFile("Ulog.TXT");
   uFileWrite(ptrLogfile, data_log, 6, 0);
   uFileCloseMime(ptrLogfile, &ucMimeType);
When the file does not exist, it works. Otherwise not. Can't find why.
Also I can't write to the file a second time, after i close it.

Want to log the data from UART in a array, then write it to a file, send this file over TCP/IP. When the next value comes from the UART, want to open the file, add the new value to the existing and so on.
Someone can help me?

Regards
Lukas

Pages: [1]