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: mbed Socket lwip-eth lwip-sys lwip
Fork of 6_songs-from-the-cloud by
nsdlaccesshelper.h
00001 /* 00002 * Copyright (c) 2015 ARM Limited. All rights reserved. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * Licensed under the Apache License, Version 2.0 (the License); you may 00005 * not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an AS IS BASIS, WITHOUT 00012 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 #ifndef NSDL_ACCESS_HELPER_H 00017 #define NSDL_ACCESS_HELPER_H 00018 00019 #include "include/m2mnsdlinterface.h" 00020 00021 extern M2MNsdlInterface *__nsdl_interface; 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00027 uint8_t __nsdl_c_callback(struct nsdl_s * nsdl_handle, 00028 sn_coap_hdr_s *received_coap_ptr, 00029 sn_nsdl_addr_s *address, 00030 sn_nsdl_capab_e nsdl_capab); 00031 void *__nsdl_c_memory_alloc(uint16_t size); 00032 void __nsdl_c_memory_free(void *ptr); 00033 uint8_t __nsdl_c_send_to_server(struct nsdl_s * nsdl_handle, 00034 sn_nsdl_capab_e protocol, 00035 uint8_t *data_ptr, 00036 uint16_t data_len, 00037 sn_nsdl_addr_s *address_ptr); 00038 uint8_t __nsdl_c_received_from_server(struct nsdl_s * nsdl_handle, 00039 sn_coap_hdr_s *coap_header, 00040 sn_nsdl_addr_s *address_ptr); 00041 void __nsdl_c_bootstrap_done(sn_nsdl_oma_server_info_t *server_info_ptr); 00042 void *__socket_malloc( void * context, size_t size); 00043 void __socket_free(void * context, void * ptr); 00044 00045 #ifdef __cplusplus 00046 } 00047 #endif 00048 00049 #endif // NSDL_ACCESS_HELPER_H
Generated on Tue Jul 12 2022 12:47:48 by
