Category     

SDK Sample Code Tools

« Go Back

Information

 
Content

class AppBase

A startup object which locates your settings, prepares a Cradlepoint Router-friendly loggers, and so on.
  • [[CP_SDK_AppBase|class CradlepointAppBase Documentation]]

SDK Sample Code Collection

GPIO Collection

Power

Detect if the router supports the 2x2 power connector. If so, access the digital input and digital output pins. Output via Syslog.

Serial GPIO

Detect if the router supports GPIO on a built-in serial port. If so, access the digital inputs. Output via Syslog.

GPS Collection

Probe GPS

Detect if any GPS hardware appears to be active, plus show last readings - IF ANY! Output via Syslog.

Network Collection

Send Email

Send an email through GMAIL - account details in the project's settings.ini file.

Send Ping

 Send a local ping.

TCP Echo

Echo any bytes received on TCP port 9999, so any bytes received are re-transmitted.

Serial Port Collection

List Ports

List any supported serial ports by Syslog.

Serial Echo

Echo any bytes received on serial port, so any bytes received are re-transmitted.

 
Knowledge Home | Product