Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MQTTPacket
liveobjects_dev_params.h
- Committer:
- jhamel
- Date:
- 2016-11-25
- Revision:
- 0:92f8cff1cf35
- Child:
- 1:be3595460c56
File content as of revision 0:92f8cff1cf35:
/*
 * Copyright (C) 2016 Orange
 *
 * This software is distributed under the terms and conditions of the 'BSD-3-Clause'
 * license which can be found in the file 'LICENSE.txt' in this package distribution
 * or at 'https://opensource.org/licenses/BSD-3-Clause'.
 *
 * This file is a part of LiveObjects iotsoftbox-mqtt library.
 */
/**
 * @file  liveobjects_dev_params.h
 * @brief Default user parameters used to configure this device as a Live Objects Device
 */
#ifndef __liveobjects_dev_params_H_
#define __liveobjects_dev_params_H_
// Set to 1 to enable TLS feature
// (warning: check that LOC_SERV_PORT is the correct port in this case)
#define SECURITY_ENABLED                     1
// Only used to overwrite the LiveOjects Server settings :
// IP address, TCP port, Connection timeout in milliseconds.
//#define LOC_SERV_IP_ADDRESS                  "XXXX"
//#define LOC_SERV_PORT                        XXXX
//#define LOC_SERV_TIMEOUT                     XXXX
// When set to 1, use the MAC address as LiveObject device identifier
// otherwise use LOC_CLIENT_DEV_ID
#define LOC_CLIENT_USE_MAC_ADDR              0
// Default LiveObjects device settings : name space and device identifier
#define LOC_CLIENT_DEV_NAME_SPACE            "LiveObjectsSample"
#if !LOC_CLIENT_USE_MAC_ADDR
#define LOC_CLIENT_DEV_ID                    "LO_sample_dev01"
#endif
// Here, set your LiveObject Apikey. It is mandatory to run the application
#define LOC_CLIENT_DEV_API_KEY               "XXXX"
#if SECURITY_ENABLED
// If security is enabled to establish connection to the LiveObjects platform,
// include certificates file
#include "liveobjects_dev_security.h"
#endif
#endif //__liveobjects_dev_params_H_