This is the PAL (Platform Adaptation Layer) for the Pubnub C-core library.
Diff: pubnub_version_mbed.cpp
- Revision:
- 0:389a44951c54
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pubnub_version_mbed.cpp Thu Nov 10 22:23:46 2016 +0000 @@ -0,0 +1,24 @@ +/* -*- c-file-style:"stroustrup"; indent-tabs-mode: nil -*- */ +#include "pubnub_version.h" + +#define PUBNUB_SDK_NAME "mbed2" +#define PUBNUB_SDK_VERSION "2.2.0" + + +char const *pubnub_sdk_name(void) +{ + return PUBNUB_SDK_NAME; +} + + +char const *pubnub_version(void) +{ + return PUBNUB_SDK_VERSION; +} + + +char const *pubnub_uname(void) +{ + return PUBNUB_SDK_NAME "%2F" PUBNUB_SDK_VERSION; +} +