Search found 623 matches

by dciliske
Thu Jun 15, 2023 4:40 pm
Forum: NetBurner Software
Topic: SSL Server
Replies: 3
Views: 2044

Re: SSL Server

Can you post the full output? Verification failing makes sense, as you don't have a certificate signed by a known Certificate Authority, but that shouldn't close the connection. Is it closing the connection and then dropping you back to the command prompt? Given that you've got the HTTPS server work...
by dciliske
Thu Sep 09, 2021 5:52 pm
Forum: NetBurner Software
Topic: MOD 5234 Websockets How to handle connections
Replies: 2
Views: 1276

Re: MOD 5234 Websockets How to handle connections

Websockets have a Ping/Pong method defined in the spec, which was not fully implemented or exposed through the API. Open a support ticket, and we can send you a patch.

-Dan
by dciliske
Tue Dec 08, 2020 3:13 pm
Forum: NetBurner Software
Topic: TCP/IP stack trapping
Replies: 14
Views: 5381

Re: TCP/IP stack trapping

Just want to pop in and add a bit here. You've got lots of eyeballs on this one since it's quite bizarre what seems to be happening and you see to be able to reproduce it trivially, whereas we cannot. The status is as follows: the trap is due to a NULL pointer in a buffer member used for read tracki...
by dciliske
Thu Mar 26, 2020 1:55 am
Forum: NetBurner Software
Topic: Websocket browser-to-Netburner length issue
Replies: 4
Views: 2915

Re: Websocket browser-to-Netburner length issue

Remove the HTONS from line ~173 of 'nbrtos/source/websocket_server.cpp' m_remLen = m_remainingLen = HTONS(frame->length); Additionally, remove the HTONL from line ~202 of the same file m_remLen = m_remainingLen = HTONL(frame->lengthLo); Somewhere along the line the websocket frame structures were up...
by dciliske
Wed Mar 25, 2020 10:45 pm
Forum: NetBurner Software
Topic: Why use -mfloat-abi=softfp on MODM7AE70?
Replies: 4
Views: 3340

Re: Why use -mfloat-abi=softfp on MODM7AE70?

The problem I always run into with documenting these things is that I know too much. I'm the person who designs those linker files these days after all! For things that are not 'driver' or 'software library' related, the question is always how to collect the information in a way that is accessible a...
by dciliske
Wed Mar 25, 2020 12:16 pm
Forum: NetBurner Software
Topic: Task Switching
Replies: 6
Views: 3492

Re: Task Switching

Where are you defining your priorities?

The system Task Priorities are set in 'include/constants.h'. Additionally, UserMain which runs at the MAIN_PRIO which is 50 by default. So, by your defines, that puts UDP_TASK_PRIO at 52, which is lower priority than UserMain.
by dciliske
Wed Mar 25, 2020 11:09 am
Forum: NetBurner Software
Topic: Why use -mfloat-abi=softfp on MODM7AE70?
Replies: 4
Views: 3340

Re: Why use -mfloat-abi=softfp on MODM7AE70?

Where are your stack and samples located? If you've simply created a random variable, it will be allocated is SDRAM, which will end up bottle necked. Almost all hard problems end up being memory bandwidth bound before being CPU bound. You will want to use the FAST_USER_VAR and if you've allocated a ...
by dciliske
Thu Sep 19, 2019 12:30 pm
Forum: NetBurner Software
Topic: MODM7AE70 GPIO configuration question
Replies: 1
Views: 1926

Re: MODM7AE70 GPIO configuration question

Setting the pin prior to enabling the output is in fact the correct way. This is actually one of the reasons why for the MODM7AE70 we diverged the behavior of the pins class from the Coldfire platforms to require that you explicitly set the pin function to output (to allow presetting the output stat...
by dciliske
Thu Sep 19, 2019 12:26 pm
Forum: NetBurner Software
Topic: Embedded IPv4 Addr in IPv6
Replies: 4
Views: 2873

Re: Embedded IPv4 Addr in IPv6

I'm just going to go with: yes. An IPv6 address is by definition a 128-bit long bit sequence; the IPADDR6 structure is a 128-bit long array of 32-bit values . Since we can only access the 128-bits in 32-bit chunks, we have to slide the window until the correct chunk appears underneath our index. Thu...
by dciliske
Wed Mar 21, 2018 2:35 pm
Forum: NetBurner Software
Topic: How To NOT Use Certificates
Replies: 3
Views: 2998

Re: How To NOT Use Certificates

I'm impressed! You've asked how to do something that, while sounding "just plain wrong" on the surface, is actually perfectly reasonable and valid by the standard! Unfortunately, I have no idea of any *other* implementation that will allow you to do so. Suffice to say, the major component ...