Skip to content

Commit

Permalink
v1.03
Browse files Browse the repository at this point in the history
  • Loading branch information
hypothermic committed Mar 30, 2018
1 parent 9c75f06 commit 9e2f9cf
Show file tree
Hide file tree
Showing 15 changed files with 538 additions and 38 deletions.
6 changes: 1 addition & 5 deletions .classpath
Expand Up @@ -11,11 +11,7 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
Expand Down
9 changes: 6 additions & 3 deletions .settings/org.eclipse.jdt.core.prefs
@@ -1,5 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.5
org.eclipse.jdt.core.compiler.source=1.6
43 changes: 41 additions & 2 deletions README.md
Expand Up @@ -46,8 +46,6 @@ Here is a full list of commands:
- getOnvifPort();
- getRtspPort();
- setPortInfo(PortInfo);
- doesCameraSupportOnvif();
- doesCameraSupportRtsp();

- isUPnPEnabled();
- setUPNP(true/false);
Expand All @@ -60,18 +58,59 @@ Here is a full list of commands:
- getFTPConfig();
- setFTPConfig(FTPConfig);

- isFirewallEnabled();
- getFirewallRule();
- getFirewallEntry(0-7);

// Camera controls
- snapPicture();
- openInfraLed();
- closeInfraLed();
- getInfraLedMode();
- setInfraLedMode(0-1);
- rebootSystem();
- exportConfig();
- exportedConfigURL();
- getLogEntries(count, offset);

// Camera info
- getName();
- setName("MyCamera");
- getProductAppVer();
- getProductModel();
- getProductModelName();
- getProductLanguage();
- getProductSensorType();
- getProductWifiType();

- isAudioSupported();
- isIoAlarmSupported();
- isOnvifSupported();
- isP2PSupported();
- isSdcardSupport();
- isProductOutdoorModel();
- isProductZoomModel();
- isPtModel();
- isRs485Supported();
- isRtspSupported();
- isTalkSupported();
- isWPSSupported();

// Deprecated
- doesCameraSupportOnvif();
- doesCameraSupportRtsp();
```

## Changelog
v1.03
- Added all info flags
- Added DeviceInfo
- doesCameraSupportOnvif and Rtsp are now deprecated.
- Added firewall controls
- Added log controls
- Added config exporting control
- Added snapPicture()

v1.02
- Added FTP configuration controls
- Added Infrared light and config controls
Expand Down
31 changes: 30 additions & 1 deletion pom.xml
Expand Up @@ -2,9 +2,38 @@
<modelVersion>4.0.0</modelVersion>
<groupId>nl.hypothermic</groupId>
<artifactId>foscamlib</artifactId>
<version>1.02-RELEASE</version>
<version>1.03-RELEASE</version>
<name>FoscamLib</name>
<url>https://github.com/hypothermic/FoscamLib</url>
<description>Java Library for Foscam IP camera's.

See README.md for legal disclaimer.</description>

<properties>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
</properties>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.1</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 9e2f9cf

Please sign in to comment.