I'm trying to create a simple as can be WEB App. It should only return a fixed set of values which then should be displayed by my browser in JSON. No FPGA, no html+css+js to display, just a plain print of the data.
From what I understood from other app's source code is that
Code: Select all
int rp_app_init(void);
int rp_app_exit(void);
int rp_set_params(rp_app_params_t *p, int len);
int rp_get_params(rp_app_params_t **p);
int rp_get_signals(float ***s, int *sig_num, int *sig_len);
The first four functions are only
Code: Select all
return 0;
Code: Select all
int rp_get_signals(float ***s, int *sig_num, int *sig_len);
Assuming I managed to build a .so I would have to copy it to the RP at
Code: Select all
/opt/red_pitaya/www/apps/APP_NAME
Do I need to do anything else to have my app
* appear as a clickable link in the main view when you connect to your RP using your browser?
* return my predefined data for my browser to display as a plain JSON object?
Any ideas / pointers are appreciated!