gtk2 sam7fc telemetrie application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
508B

  1. #ifndef TDC_PARSER_H_
  2. #define TDC_PARSER_H_
  3. #include <stdint.h>
  4. enum {
  5. STAT_DISCONNECTED = 0,
  6. STAT_CONNECTING,
  7. STAT_CONNECTED
  8. };
  9. void tdcparser_send_hello(void);
  10. int tdcparser_send_getvars(int address);
  11. int tdcparser_send_getvalue(int address, int id);
  12. int tdcparser_send_setvalue(int address, int id);
  13. int tdcparser_send_request(int address, int interval, uint32_t *bitmap);
  14. void tdcparser_connect(char *addr_str, void (*cb)(int status));
  15. void tdcparser_disconnect(void);
  16. #endif /* TDC_PARSER_H_ */