Search found 1080 matches

by pbreed
Fri Aug 05, 2022 1:03 pm
Forum: NetBurner Software
Topic: SPCI communication problem with GSP-700 spectrum analyzer
Replies: 5
Views: 1599

Re: SPCI communication problem with GSP-700 spectrum analyzer

You can either type the characters from a keyboard, or send from a file.
Those ar ethe only way to send things out of MTTTY.


mttty is a free tool that Netburner provides for serial console communication.
If you are using it with other than a netburner product then we offer no support...
by pbreed
Mon Jul 25, 2022 9:59 am
Forum: NetBurner Software
Topic: POST webpage data in v3.x
Replies: 3
Views: 1576

Re: POST webpage data in v3.x

A couple of ways to fix this... What I would consider the cleanest is as follows: create a function: int MyDataProcess(int sock, HTTP_Request &pd) {//Will be called with all the post data ready to read.... return 1; //Saying we handled it. } CallBackFunctionPostHandler cf("url.html",My...
by pbreed
Thu Jul 21, 2022 1:09 pm
Forum: NetBurner Software
Topic: Device Discovery
Replies: 4
Views: 1142

Re: Device Discovery

This should work... Find the network interface you are using.... (MODM7 its enet0) (MOD5441X its enet0 or enet1 ) I'll assume enet0. Before init: enet0.discovery_interval=10; //Redo discovery every 10 seconds.... after your full init is done... and you have set your name.... set it back to 15 min ie...
by pbreed
Wed Jul 20, 2022 8:34 pm
Forum: NetBurner Software
Topic: Device Discovery
Replies: 4
Views: 1142

Re: Device Discovery

also the next release will support mDNS local names.
by pbreed
Wed Jul 20, 2022 8:34 pm
Forum: NetBurner Software
Topic: Device Discovery
Replies: 4
Views: 1142

Re: Device Discovery

#include <config_obj.h> sys.system_app=AppName; //I'm suprised that it ever changes.... the sys.system_app is set in global construction. This should fix it in 30 seconds or so... If you can push you code ABOVE init and add the line above it should work on the first message. If you must be after ini...
by pbreed
Thu Jul 14, 2022 6:25 am
Forum: NetBurner Hardware
Topic: MODM7AE70 - uart max baudrate
Replies: 4
Views: 1733

Re: MODM7AE70 - uart max baudrate

Not as simple a question as one might like. The baud system can divide by 8 or 16 and have a fractional component. CPU Clock is 300MHZ. The Perif_clock is also 300Mhz. The baud rate setting code is in: nburn\arch\cortex-m7\cpu\SAME70\source\serial.cpp So I think the baud can be set as high as 37.5 M...
by pbreed
Thu Jun 23, 2022 8:35 pm
Forum: NetBurner Software
Topic: Setting Timezone Seems Broken
Replies: 3
Views: 1082

Re: Setting Timezone Seems Broken

Wow I never realized that the putenv ever work.
I learned something.
by pbreed
Thu Jun 23, 2022 11:51 am
Forum: NetBurner Software
Topic: MQTT - Timer Hogging
Replies: 6
Views: 1416

Re: MQTT - Timer Hogging

Just for completness.
This issue has been resolved. And new code will be posted to github in the next 48 hours.
by pbreed
Wed Jun 22, 2022 1:23 pm
Forum: NetBurner Software
Topic: MQTT - Timer Hogging
Replies: 6
Views: 1416

Re: MQTT - Timer Hogging

I believe I have a fix. Submit a support request and I'll send it.
It will be up on github sometime in a day or two. (need to QA it)

Paul
by pbreed
Wed Jun 22, 2022 9:36 am
Forum: NetBurner Software
Topic: MQTT - Timer Hogging
Replies: 6
Views: 1416

Re: MQTT - Timer Hogging

Yes this is broken.... The NBMQTTCountdown.h should be rewritten to use either TimeTick or GetPreciseTime() Both the MOD5282 and MOD5270 support : +DWORD GetPreciseTime( void ) This gives you a high precision time counter based on the PIT counter...remainder and time ticks. The downside is that the ...