Api nginx interface

Applications, development tools, FPGA, C, WEB
Post Reply
8lu3
Posts: 30
Joined: Thu Feb 25, 2016 7:05 pm

Api nginx interface

Post by 8lu3 » Fri Mar 11, 2016 4:14 pm

I'm currently trying to write my first web app, but I'm not sure which methods controllerhf.so (resp. main.h/main.c) has to implement? I've tried rp_app_init, rp_app_exit, rp_send_params_, rp_get_params, rp_get_signals. Build was successfull, but it dont see my app when going to my RedPitaya's web address (I do see something when I'm using a controllerhf.so-file of one of the other webapps). So I guess I have to implement more methods in main.h/.c ?

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: Api nginx interface

Post by Nils Roos » Wed Mar 16, 2016 12:32 pm

In addition to what you already have, the function "rp_app_desc()" is required for the controllerhf.so to be recognized as valid.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 42 guests