Search found 82 matches

by thomastaranowski
Sat Apr 12, 2014 2:18 pm
Forum: NetBurner Software
Topic: Javascript compression
Replies: 2
Views: 2169

Javascript compression

Has anyone tried serving up compressed javascript on their web heavy Netburner applications? It doesn't appear as though the javascript code is compressed in any way, a 90k JQuery package really eats into my flash budget. As as aside, what are folks generally using for 2d line graphs? I was just goi...
by thomastaranowski
Thu Apr 05, 2012 5:10 pm
Forum: NetBurner Software
Topic: UDP latency
Replies: 4
Views: 2947

Re: UDP latency

Definitely less than 1 millisecond for a typical 64 node 100Mb/s network. It's hard to make any other sort of determination without details. The key questions are: * How many packets are in flight to the master and slave at any give time. The netburner needs to empty it's Ethernet receive queue, and...
by thomastaranowski
Wed Feb 01, 2012 4:46 pm
Forum: NetBurner Software
Topic: Netburner and Embedded Linux Cosultant needed
Replies: 16
Views: 10694

Re: Netburner and Embedded Linux Cosultant needed

I think what ridgeglider is referring to is using the serial ports as higher speed interfaces to external hardware running at 1Mb/s per. 115.5k would be at the low end of that scale. I didn't find the baud rate limit in the freescale docs, but I believe it was pretty high. In that case saving to on-...
by thomastaranowski
Mon May 16, 2011 2:05 pm
Forum: NetBurner Software
Topic: Telnet TCP Client
Replies: 3
Views: 2963

Re: Telnet TCP Client

Yeah, you lose the descriptor so you can't close it on the client end. It's kind of a long standing issue with telnet and ftp servers. Most of them are smart enough to timeout the server socket so you don't exhaust the servers pool of available sockets. You could try using a keepalive option on the ...
by thomastaranowski
Thu Jan 06, 2011 12:39 am
Forum: NetBurner Software
Topic: Accepting Ethernet Connections
Replies: 2
Views: 2741

Re: Accepting Ethernet Connections

I always have non-blocking server loops. This is entirely possible with the netburner, but not by using accept(). You need to use the ZeroWaitSelect() api. What you need to do is call ZeroWaitSelect() with your listen socket in your receive FD_SET to listen for incoming connection requests. Once sel...
by thomastaranowski
Sat Jan 01, 2011 2:58 pm
Forum: PINK
Topic: sending a variable
Replies: 3
Views: 6842

Re: sending a variable

You'll need to convert your raw number stored in nbval to ascii text for display (http://www.manpagez.com/man/7/ascii/). In C you'd use printf, itoa, or stringstream. No idea what you got going with basic, but I'm sure there's an equivalent.
by thomastaranowski
Mon Dec 13, 2010 4:49 pm
Forum: NetBurner Hardware
Topic: 74lvc16245 bus transceiver for prototyping
Replies: 3
Views: 3076

Re: 74lvc16245 bus transceiver for prototyping

Wow, .90 is a seriously good deal. I ordered 1+ of everything :)
by thomastaranowski
Mon Dec 13, 2010 2:06 pm
Forum: NetBurner Hardware
Topic: 74lvc16245 bus transceiver for prototyping
Replies: 3
Views: 3076

74lvc16245 bus transceiver for prototyping

Netburner uses the 74lvc16245 as it's bus interface to the on-board cpld. I'm working on a similar design, and am trying to breadboard up a prototype. It's a pretty wide chip, and all of the ssop to dip packages I have are too narrow. What do you folks use? I ended up sawing a smt protoboard in half...
by thomastaranowski
Tue Dec 07, 2010 2:23 am
Forum: NetBurner Software
Topic: writestring return value question
Replies: 5
Views: 3654

Re: writestring return value question

This is interesting. It looks like it returns >0 if the socket is open, and the underlying send() call succeeded, which usually always happens if the socket isn't full. Reasons for failure would be: Socket closed - probably returns 0. Socket error - Some errno less than 0. To tell if the remote end ...
by thomastaranowski
Thu Nov 25, 2010 9:28 pm
Forum: NetBurner Software
Topic: Link up/down event handling
Replies: 0
Views: 2200

Link up/down event handling

I'd like to handle physical link up/down events so I can monitor network state. It looks like I can stick a callback handler into ethernet.cpp : ProcessDuplexStatus() to do this, but I was thinking there was already a supported method, but darned if I could find it. Does anyone know if there's alrea...