use TCP to connect to mbed connector

Fork of mbedConnectorInterfaceWithDM by Doug Anson

Committer:
Maggie17
Date:
Mon Nov 28 15:52:56 2016 +0000
Revision:
90:b738617379a6
Parent:
10:3f79b5e67c22
first release

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ansond 1:16f0fb5b8d97 1 /**
ansond 1:16f0fb5b8d97 2 * @file Utils.h
ansond 1:16f0fb5b8d97 3 * @brief mbed CoAP Endpoint misc utils collection (header)
ansond 1:16f0fb5b8d97 4 * @author Doug Anson
ansond 1:16f0fb5b8d97 5 * @version 1.0
ansond 1:16f0fb5b8d97 6 * @see
ansond 1:16f0fb5b8d97 7 *
ansond 1:16f0fb5b8d97 8 * Copyright (c) 2014
ansond 1:16f0fb5b8d97 9 *
ansond 1:16f0fb5b8d97 10 * Licensed under the Apache License, Version 2.0 (the "License");
ansond 1:16f0fb5b8d97 11 * you may not use this file except in compliance with the License.
ansond 1:16f0fb5b8d97 12 * You may obtain a copy of the License at
ansond 1:16f0fb5b8d97 13 *
ansond 1:16f0fb5b8d97 14 * http://www.apache.org/licenses/LICENSE-2.0
ansond 1:16f0fb5b8d97 15 *
ansond 1:16f0fb5b8d97 16 * Unless required by applicable law or agreed to in writing, software
ansond 1:16f0fb5b8d97 17 * distributed under the License is distributed on an "AS IS" BASIS,
ansond 1:16f0fb5b8d97 18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
ansond 1:16f0fb5b8d97 19 * See the License for the specific language governing permissions and
ansond 1:16f0fb5b8d97 20 * limitations under the License.
ansond 1:16f0fb5b8d97 21 */
ansond 1:16f0fb5b8d97 22 #ifndef __UTILS_H__
ansond 1:16f0fb5b8d97 23 #define __UTILS_H__
ansond 0:1f1f55e73248 24
ansond 1:16f0fb5b8d97 25 extern void *utils_init_endpoint(bool canActAsRouterNode);
ansond 1:16f0fb5b8d97 26 extern void utils_configure_endpoint(void *p);
ansond 8:f950fb1b78c0 27 extern void utils_build_endpoint(void *p);
ansond 10:3f79b5e67c22 28 extern uint16_t extract_port_from_url(char *url,uint16_t default_port);
ansond 1:16f0fb5b8d97 29
ansond 1:16f0fb5b8d97 30 #endif // __UTILS_H__
ansond 1:16f0fb5b8d97 31