This is the sample program that can see the decode result of barcode data on Watson IoT.
Dependencies: AsciiFont DisplayApp GR-PEACH_video LCD_shield_config LWIPBP3595Interface_STA_for_mbed-os USBDevice
Utils.h
00001 /** 00002 * @file Utils.h 00003 * @brief mbed CoAP Endpoint misc utils collection (header) 00004 * @author Doug Anson 00005 * @version 1.0 00006 * @see 00007 * 00008 * Copyright (c) 2014 00009 * 00010 * Licensed under the Apache License, Version 2.0 (the "License"); 00011 * you may not use this file except in compliance with the License. 00012 * You may obtain a copy of the License at 00013 * 00014 * http://www.apache.org/licenses/LICENSE-2.0 00015 * 00016 * Unless required by applicable law or agreed to in writing, software 00017 * distributed under the License is distributed on an "AS IS" BASIS, 00018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00019 * See the License for the specific language governing permissions and 00020 * limitations under the License. 00021 */ 00022 #ifndef __UTILS_H__ 00023 #define __UTILS_H__ 00024 00025 extern void *utils_init_endpoint(bool canActAsRouterNode); 00026 extern void utils_configure_endpoint(void *p); 00027 extern void utils_build_endpoint(void *p); 00028 extern uint16_t extract_port_from_url(char *url,uint16_t default_port); 00029 00030 #endif // __UTILS_H__ 00031
Generated on Tue Jul 12 2022 18:38:06 by 1.7.2