Ping Method

@bp.method('device.ping')

Note

This method is already implemented by the device skeleton - there is nothing you need to do unless you want custom health-check logic.

This method is used by the webapp to check whether a device is online, and to verify a device is reachable before it can be registered.

Parameters

There are no parameters passed to this function.

Response

{
    "status": "OK"
}