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:
- 2017-02-09
- Revision:
- 4:919c25da5ec8
- Parent:
- 3:a348ae67024e
- Child:
- 5:ad1444df2679
File content as of revision 4:919c25da5ec8:
/*
* 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
// Issue with DNS to resolve FQDN liveobjects.orange-business.com ?
//#define LOC_SERV_IP_ADDRESS "84.39.42.214"
//#define LOC_SERV_IP_ADDRESS "84.39.42.208"
// When set to 1, use the MAC address as LiveObject device identifier
// otherwise use LOC_CLIENT_DEV_ID
#define LOC_CLIENT_USE_MAC_ADDR 1
// Default LiveObjects device settings : name space and device identifier
#define LOC_CLIENT_DEV_NAME_SPACE "LO_sample"
#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 "1ce18ae445f84eccae95c61c7e7cb50b"
#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_