1. http://pupnp.sourceforge.net/ 접속해서 파일 받기
2. 특정 폴더에 풀어 놓고 다음과 같은 순서로 진행
cd /opt/RootFS-aESOP6410/usr/
mkdir bin
mkdir lib
cd $(Upnp lib이 설치된 디렉토리)
./configure --enable-debug --host=arm-s3c6410-linux-gnueabi --prefix=/opt/RootFS-aESOP6410/usr/local --libdir=/opt/RootFS-aESOP6410/usr/local/lib
make
make install
mkdir bin
mkdir lib
cd $(Upnp lib이 설치된 디렉토리)
./configure --enable-debug --host=arm-s3c6410-linux-gnueabi --prefix=/opt/RootFS-aESOP6410/usr/local --libdir=/opt/RootFS-aESOP6410/usr/local/lib
make
make install
3. pupnp의 sample device 실행
root@aESOP-S3C6410:~/upnp/.libs# ls
libupnp.so.3 upnp_tv_ctrlpt web
upnp_tv_combo upnp_tv_device
root@aESOP-S3C6410:~/upnp/.libs# ./upnp_tv_device
Initializing UPnP Sdk with
ipaddress = (null) port = 0
UPnP Initialized
ipaddress= 192.168.0.5 port = 49152
Specifying the webserver root directory -- ./web
Registering the RootDevice
with desc_doc_url: http://192.168.0.5:49152/tvdevicedesc.xml
RootDevice Registered
Initializing State Table
Found service: urn:schemas-upnp-org:service:tvcontrol:1
serviceId: urn:upnp-org:serviceId:tvcontrol1
Found service: urn:schemas-upnp-org:service:tvpicture:1
serviceId: urn:upnp-org:serviceId:tvpicture1
State Table Initialized
Advertisements Sent
libupnp.so.3 upnp_tv_ctrlpt web
upnp_tv_combo upnp_tv_device
root@aESOP-S3C6410:~/upnp/.libs# ./upnp_tv_device
Initializing UPnP Sdk with
ipaddress = (null) port = 0
UPnP Initialized
ipaddress= 192.168.0.5 port = 49152
Specifying the webserver root directory -- ./web
Registering the RootDevice
with desc_doc_url: http://192.168.0.5:49152/tvdevicedesc.xml
RootDevice Registered
Initializing State Table
Found service: urn:schemas-upnp-org:service:tvcontrol:1
serviceId: urn:upnp-org:serviceId:tvcontrol1
Found service: urn:schemas-upnp-org:service:tvpicture:1
serviceId: urn:upnp-org:serviceId:tvpicture1
State Table Initialized
Advertisements Sent
4. browser를 통해 접속하면