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: AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL
IothubSerial.h
00001 // Copyright (c) Microsoft. All rights reserved. 00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information. 00003 00004 #ifndef __IOTHUB_SERIAL_H__ 00005 #define __IOTHUB_SERIAL_H__ 00006 00007 #include "mbed.h" 00008 #include "MeasureBuf.h" 00009 #include "Alert.h" 00010 00011 class IothubSerial 00012 { 00013 public: 00014 IothubSerial(); 00015 00016 int MeasureBufToString(char* buf, int bufsize); 00017 00018 int AlertBufToString(char* buf, int bufsize); 00019 00020 private: 00021 int MeasureGroupToString(const char* name, MeasureGroup& mg, char* buf, int bufsize); 00022 00023 int MeasureSnapshotToString(MeasureSnapshot& msnap, char* buf, int bufsize); 00024 00025 MeasureSnapshot _pending; 00026 00027 bool _hasPending; 00028 00029 Alert _pendAlert; 00030 00031 }; 00032 00033 #endif
Generated on Tue Jul 12 2022 16:05:14 by
1.7.2