Search found 20 matches

by dpursell
Tue Jun 24, 2014 6:05 pm
Forum: NetBurner's Eclipse IDE
Topic: Sharing source files between projects
Replies: 3
Views: 5412

Re: Sharing source files between projects

In v2.6.3, this works for me to link to an external file: 1. Right click on the project or folder you want the file in 2. Select New -> Other -> General -> File and hit next 3. Expand the "Advanced >>" pane 4. Select "Link to file in the file system" and use "Browse..."...
by dpursell
Tue May 06, 2014 12:24 pm
Forum: NetBurner Software
Topic: NoBlockConnect() bug in v2.6.3?
Replies: 1
Views: 2116

NoBlockConnect() bug in v2.6.3?

On a MOD5234 with NBEclipse v2.6.3 I ran into a bug where sockets that failed to connect would never be released by the standard close() functions. After a few seconds, I would run out of sockets and the program would fail. This only happened with sockets that failed to connect, those that connected...
by dpursell
Mon Apr 07, 2014 10:41 am
Forum: NetBurner Software
Topic: C++11 Support?
Replies: 3
Views: 3620

Re: C++11 Support?

Resurrecting this thread because I'd like to use C++11 too, so I briefly asked Forrest about it at the developer's conference last week. I don't remember the details, but said he does personally have to do some porting/cross-compiling work on gcc to enable it for use with NetBurners. He seemed to in...
by dpursell
Wed Feb 26, 2014 12:48 pm
Forum: NetBurner Software
Topic: How do I troubleshoot traps without a line number?
Replies: 42
Views: 41373

Re: How do I troubleshoot traps without a line number?

The last line indicates that the HTTP task was preempted in one of the sections protected by the semaphore, a consistent trend I've been seeing. abcdefghijklmn abcdefghijklmn abcdefghijklmn abcdefg 12h34567890ijklmn abcdefg 12h34567890ijklmn abcdefghijklmn abcdefghijklmn abcdefghijklmn abcdefghijkl...
by dpursell
Wed Feb 26, 2014 10:55 am
Forum: NetBurner Software
Topic: How do I troubleshoot traps without a line number?
Replies: 42
Views: 41373

Re: How do I troubleshoot traps without a line number?

Running that code, with a Semaphore to do blocking for shared variables, below is the last output I get when it locks up. abcdefghijklmn 1234567890 1234567890 1234567890 abcdef 12gh34567890ijklmn I can see it starts running the http task by the "abcdef", but is interrupted by the serial t...
by dpursell
Thu Dec 12, 2013 9:21 am
Forum: NetBurner Software
Topic: Variable declaration
Replies: 2
Views: 2711

Re: Variable declaration

The ampersand (&) indicates a C++ variable type called a "reference". Without getting too into details, you can basically treat this as a pointer except you do not need to dereference the object itself it using -> or *, so you can access and modify it directly. http://en.wikipedia.org/...
by dpursell
Mon Nov 18, 2013 1:56 pm
Forum: NetBurner Software
Topic: function pointer fifo
Replies: 6
Views: 6224

Re: function pointer fifo

Update: I've figured out that the call to OSFifoPost is causing some kind of change in the function pointer. Is this what you would expect to happen? I would have thought that it shouldn't change anything. int QueueFunction(void ( *function )()) { if(!taskInitialized) { return NOT_INITIALIZED; } //...
by dpursell
Thu Nov 07, 2013 9:28 am
Forum: NetBurner Software
Topic: Comphtml supports C++ calls
Replies: 14
Views: 8925

Re: Comphtml supports C++ calls

I am a newcomer to html / http. I am finding that the comments / documents for the examples assume a level of knowledge that I don't have. Can anyone recommend an intro to this topic to bring me up to the point of being able to understand the web examples, leaving ajax / flash / java aside for now ...
by dpursell
Wed Sep 11, 2013 9:11 am
Forum: NetBurner Software
Topic: Using class in CPP compiler
Replies: 3
Views: 3293

Re: Using class in CPP compiler

Are you intentionally leaving the SAN namespace open in the header and completing it in the main.cpp? I'm not sure this is what you want to be doing, unless it's a C++ technique I've never seen. Generally you want to close namespaces out in the header, so you will have this as your header: #ifndef C...
by dpursell
Wed Aug 21, 2013 12:19 pm
Forum: NetBurner Software
Topic: Storing Cookies - failing with iOS browsers
Replies: 8
Views: 5716

Re: Storing Cookies - failing with iOS browsers

I've noticed that when my users have problems storing cookies on their iPhones it's usually that the phone itself is set to disallow cookies. I don't have one myself so I can't remember where that option is, somewhere in the settings menu I believe. Other than that, here's the general sequence of c...