Search found 6 matches

by xianghe
Sun Sep 18, 2016 1:15 am
Forum: NetBurner Software
Topic: web server, CGI
Replies: 1
Views: 3729

web server, CGI

Hello,
Do you have a suggestion to process CGI get or post request?
For example, here is a mesage 'get_devicestatus.cgi' from web side.
by xianghe
Thu Jul 07, 2016 1:21 am
Forum: NetBurner Software
Topic: SB70LC: web server, AJAX
Replies: 3
Views: 6955

Re: SB70LC: web server, AJAX

...I found there is a key function,
function ajaxSend(reqtype, url, senddata, callback)
{
var ajaxRequest = null;
var ajaxCallback;

ajaxRequest = new XMLHttpRequest();

if(ajaxRequest)
{
ajaxRequest.open(reqtype, url, true);

if(callback)
{
ajaxRequest.onload = function()
{
var ...
by xianghe
Wed Jul 06, 2016 4:18 am
Forum: NetBurner Software
Topic: SB70LC: web server, AJAX
Replies: 3
Views: 6955

SB70LC: web server, AJAX

Hello,
I'm working on the NB web server, I know there is network programing guide talk about this, and the key is the callback function mechanism, it's useful to the 'submit' HTML.
But now web page using Javascript AJAX, there is no 'submit' button, can you tell me how to develop the web server?
by xianghe
Mon Dec 28, 2015 5:17 pm
Forum: NetBurner Software
Topic: SB70LC:web server
Replies: 1
Views: 4657

SB70LC:web server

Hello,,
I'm working on the web server now, can you tell me how to add and delete a "message" displaying on web, and I know there is a two-part work need to do, one is the HTML and one is the web server of FW.
can you mainly talk about the web server of FW?

thank you!
by xianghe
Tue Dec 08, 2015 5:32 pm
Forum: NetBurner Software
Topic: how to receive UART data
Replies: 3
Views: 5285

Re: how to receive UART data

Thank you!
Actually, there is a protocol between development board and our product via UART, and I think it's a good way to receive data by myself, byte to byte, and I'll know wheather there is 'package' or not, I think the interrupt will be a good way.

It seems the function SimpleOpenSerial() will ...
by xianghe
Mon Dec 07, 2015 11:37 pm
Forum: NetBurner Software
Topic: how to receive UART data
Replies: 3
Views: 5285

how to receive UART data

I'm using SB70LC development board and I need to receive bytes of data through UART0 or UART1.
Can you tell me how to receive UART data in interrupt mode?
How to enable UART interrupt and how to write UART ISR?