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: EthernetInterface NTPClient mbed-rtos mbed
utils.h
00001 #ifndef __UTILS_H__ 00002 #define __UTILS_H__ 00003 00004 #include <iostream> 00005 #include <string.h> 00006 #include "mbed.h" 00007 #include "EthernetInterface.h" 00008 #include "vz_protocol.h" 00009 #include "vector.h" 00010 #include "sip.h" 00011 #include "call.h" 00012 #include "call_box.h" 00013 #include "timeslice.h" 00014 #include "NTPClient.h" 00015 #include "parallelcpld.h" 00016 #include "test.h" 00017 00018 using namespace std; 00019 00020 extern DigitalOut led1; 00021 extern DigitalOut led2; 00022 extern DigitalOut led3; 00023 extern DigitalOut led4; 00024 00025 #define set_status(a,b) a = b 00026 00027 void reverse( char str[], int length ); 00028 char* itoa(int num, char* str, int base); 00029 void reset_leds( void ); 00030 void __init_eth__( EthernetInterface * eth ); 00031 00032 Call_Box * __find_CB__( Vector * v_cb, int ext ); 00033 VZ_call * __find_Call__( Vector * v_call, int ext ); 00034 void registry_aging( Vector * v_cb, uint8_t * data, uint8_t * write_buffer ); 00035 int sip_manager( Vector * v_cb, Vector * v_call, uint8_t * write_buffer ); 00036 void call_manager( Vector * v_call, Vector * v_cb, uint8_t * data, uint8_t * write_buffer, Timeslice * ts ); 00037 void build_telemetry_report( int ext, int port, char * data ); 00038 void __send_to_cb__( uint8_t * buffer ); 00039 00040 #endif
Generated on Fri Jul 22 2022 09:19:18 by
1.7.2