]> git.karo-electronics.de Git - oswald.git/blobdiff - ui/oswald_hal.h
Add version information and info screen, some more work on the accel screen
[oswald.git] / ui / oswald_hal.h
index eddef94fbae24065c1d68df733740215d4d25cc6..ad877d048f9e39d6f40f5ecb62d71b251cb042c3 100644 (file)
@@ -5,7 +5,11 @@
  * these functions must be implemented for a concrete hardware
  */
 
-void hal_lcd_set_pixel(unsigned int x, unsigned int y, unsigned char state);
+const char *hal_get_version_string(void);
+const char *hal_get_buildno_string(void);
+const char *hal_get_radio_version_string(void);
+
+void hal_lcd_set_pixel(uint8_t x, uint8_t y, uint8_t color);
 void hal_lcd_clear_display(void);
 void hal_lcd_update_display(void);
 /* sets the backlight on/off, on=TRUE, off=FALSE */
@@ -26,5 +30,11 @@ void hal_get_power_state(power_state *pwr);
 void hal_vibration_set_state(boolean state);
 boolean hal_vibration_get_state(void);
 
+bluetooth_state hal_bluetooth_set_state(bluetooth_state state);
+bluetooth_state hal_bluetooth_get_state(void);
+uint8_t *hal_bluetooth_get_local_bdaddr(void);
+void hal_bluetooth_set_visible(boolean visible);
+boolean hal_bluetooth_get_visible(void);
+void hal_bluetooth_send_data(const void *mdat, uint16_t mlen);
 #endif