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.
Dependents: xively-jumpstart-demo
mbed_comm_layer.c
00001 // Copyright (c) 2003-2013, LogMeIn, Inc. All rights reserved. 00002 // This is part of Xively C library, it is under the BSD 3-Clause license. 00003 00004 /** 00005 * \file mbed_comm_layer.c 00006 * \author Olgierd Humenczuk 00007 * \brief Implements mbed _communication layer_ abstraction interface [see comm_layer.h] 00008 */ 00009 00010 #include "comm_layer.h" 00011 #include "mbed_comm.h" 00012 00013 /** 00014 * \brief Initialise POSIX implementation of the _communication layer_ 00015 */ 00016 const comm_layer_t* get_comm_layer() 00017 { 00018 static comm_layer_t __mbed_comm_layer = 00019 { 00020 &mbed_open_connection 00021 , &mbed_send_data 00022 , &mbed_read_data 00023 , &mbed_close_connection 00024 }; 00025 00026 return &__mbed_comm_layer; 00027 }
Generated on Wed Jul 13 2022 17:00:32 by
1.7.2