First class data visualization and communication library with embedded devices. Code is maintained at github.com/Overdrivr/Telemetry
Dependents: telemetry_car_demo telemetry_demo_FRDM-TFC telemetry_example_01 telemetry_indexed_data_demo ... more
Diff: c_api/telemetry_core.h
- Revision:
- 7:d224bddd5405
- Parent:
- 5:cd94bb58e096
diff -r f5e1b079bffd -r d224bddd5405 c_api/telemetry_core.h --- a/c_api/telemetry_core.h Wed Mar 09 13:41:27 2016 +0000 +++ b/c_api/telemetry_core.h Tue Apr 12 07:40:10 2016 +0000 @@ -9,6 +9,15 @@ #define OUTGOING_BUFFER_SIZE 128 #define TOPIC_BUFFER_SIZE 64 +void attach(const char * name, void (*callback)(TM_msg * m)); +void attach_f32(const char * name, float * variable); +void attach_u8(const char * name, uint8_t * variable); +void attach_u16(const char * name, uint16_t * variable); +void attach_u32(const char * name, uint32_t * variable); +void attach_i8(const char * name, int8_t * variable); +void attach_i16(const char * name, int16_t * variable); +void attach_i32(const char * name, int32_t * variable); + void init_telemetry(TM_transport * t); void publish(const char * topic, const char * msg);