KoynovStas
b8d14197d6
ref: fix comment
8 years ago
KoynovStas
239dee1fe4
--- ver 2.0 ---
9 years ago
KoynovStas
14b274f67b
update daemon.c\h
9 years ago
KoynovStas
ee549eb48a
Reafactoring: add space in static help need for C++11
9 years ago
KoynovStas
4df88c1d1e
Reafactoring: process_cmd func, add enum for cmd options
9 years ago
KoynovStas
37f77ce0c8
Refactoring: in static help add '\n'
9 years ago
KoynovStas
565ff6f13b
Refactoring func get_endpoint
9 years ago
KoynovStas
f44072dd78
Refactoring: move send_hello/bye to wsdd_utils.c
9 years ago
KoynovStas
beaba22b3e
get_xaddr in dynamic (was only static)
9 years ago
KoynovStas
a26bed2415
README.md: del </br> github don't support :(
9 years ago
KoynovStas
d401695207
add func free_resources()
9 years ago
KoynovStas
6915452e47
Refactoring: move call send_hello to init()
9 years ago
KoynovStas
f58a6ffb1d
Refactoring func send_hello/bye
9 years ago
KoynovStas
24a8bbc349
Refactoring: add func init_gsoap()
9 years ago
KoynovStas
b7ef2c50cf
Makefile: Uses new ver of gsoap 2.8.44 (was 2.8.43)
...
+ Right URL for download
9 years ago
KoynovStas
d5f3ef23ba
Makefile: Refactoring + support parallel make (see opt -j)
9 years ago
KoynovStas
79d6d98fb5
BugFix: Need use struct ip_mreqn not ip_mreq
...
For pure linux kernel we have to use "Big" struct (with 3 felds)
Big OS (Ubuntu, Fedora , etc...) can use any structs, but embeded systems
with pure Linux kernel have to use "new" struct ip_mreqn.
more details see: http://man7.org/linux/man-pages/man7/ip.7.html
If uses old struct in pure kernel we get crash application!
9 years ago
KoynovStas
b632cff4b1
---- ver 1.0 ----
9 years ago
KoynovStas
98c9212044
Makefile: Refactoring download gsoap.zip
9 years ago
KoynovStas
278d99cc67
update README.md
9 years ago
KoynovStas
1c62284a0f
wsdd.c: add comment with License
9 years ago
KoynovStas
1bf5256002
Makefile: add option -C for soapcpp2 (only client code)
9 years ago
KoynovStas
56198af935
add code for wsdd_event_Probe -daemon is work :)
9 years ago
KoynovStas
518a0a2427
add code for send_hello/bye + listen
9 years ago
KoynovStas
f74badc3a8
Refactoring: move functions
9 years ago
KoynovStas
afeb604c1a
add function send_bye for WS-Discovery
9 years ago
KoynovStas
bd886d1a01
add function send_hello for WS-Discovery
9 years ago
KoynovStas
5a85cfc4aa
refactoring: add prefix const
9 years ago
KoynovStas
cd4aa62f61
set pointer of wsdd_param to soap_srv->user
9 years ago
KoynovStas
2244704a79
add get_endpoint(void) for get random endpoint
...
If user don't set endpoint in cmd, get random UUID
9 years ago
KoynovStas
14122e556c
add bash script for init.d system
9 years ago
KoynovStas
af3ab7835a
add prefix: Error for printf in check_param function
9 years ago
KoynovStas
0cf9060b9a
add long opt --metdata_ver Set Metadata version of ONVIF service (default = 0)
9 years ago
KoynovStas
560f55becb
add function get_xaddr() - for process option --xaddr
...
This function converts the template parameter (option) --xaddr
to final URL for the ONVIF service. If this option is specified on the command line
does not contain a template parameter %s function snprintf() just make a copy in a static array.
If option contains template parameter %s, it will be replaced by
IP addres of Network interface specified by --if_name option.
Example:
./wsdd --xaddr "http://192.168.1.1:2000/onvif/device_service " - will not be changed
./wsdd --xaddr "http://%s:2000/onvif/device_service " --if_name eth1
template %s will be replaced to the IP address of the network interface eth1
9 years ago
KoynovStas
69cf046961
add check_param() function
9 years ago
KoynovStas
8df50cec42
add long opt --xaddr Set address (or template URL) of ONVIF service
9 years ago
KoynovStas
03ba14ac59
add long opt --scope for set scope(s) of ONVIF service
9 years ago
KoynovStas
ecebb4b325
add long opt --type for set type of ONVIF service
9 years ago
KoynovStas
ebe5287bb4
add long opt --endpoint for set UUID WS-Discovery
...
To set UUID of WS-Discovery server (this server)
Default generated a random UUID more details see function soap_wsa_rand_uuid():
https://www.genivia.com/doc/wsa/html/wsaapi_8h.html
9 years ago
KoynovStas
a62bf7cde2
add long opt --if_name for set Network Interface
9 years ago
KoynovStas
9d5e0bfe7b
add struct wsdd_param_t
9 years ago
KoynovStas
f33f9d4df4
init: add interface (eth1 for test) in multicast group
...
We need add interface in multicast group.
If interface is not in group, we will be get error in runtime
9 years ago
KoynovStas
3dff9019a2
add my std set of net/file_utils for Linux
...
I need function get_addr_of_if for to get addr for interface
to add this interface in multicast group for WS-Discovery
more details see https://github.com/KoynovStas/linux_c_utils
9 years ago
KoynovStas
24675dfa17
add client_events.c - handlers for Client events
9 years ago
KoynovStas
86ab6be4a0
add init soap server (build - fail)
...
For full build need handlers for Client events
9 years ago
KoynovStas
bb7c11245e
wsdd.c: add #include wsddapi.h to begin work
9 years ago
KoynovStas
de74454754
Makefile: add var GENERATED_DIR
9 years ago
KoynovStas
796f30824f
Makefile: add target for generate gsoap sources
9 years ago
KoynovStas
eea51604e2
gitignore: add dir generated
9 years ago
KoynovStas
c0dc79b045
add remotediscovery.wsdl WS-Discovery for ONVIF
...
Add http://www.onvif.org/onvif/ver10/network/wsdl/remotediscovery.wsdl
It's WS-Discovery service for ONVIF
9 years ago