コード例 #1
0
ファイル: hardware.c プロジェクト: sieren/433.92-Raspberry-Pi
void hw_init(void) {
	arctechSwInit();
	arctechDimInit();
	arctechOldInit();
	//sartanoInit();
	relayInit();
	rawInit();
	alectoInit();
}
コード例 #2
0
ファイル: protocol.c プロジェクト: quibusus/pilight
void protocol_init(void) {
	pilightFirmwareInit();
#if defined(PROTOCOL_COCO_SWITCH) || defined(PROTOCOL_DIO_SWITCH) || defined(PROTOCOL_NEXA_SWITCH) || defined(PROTOCOL_KAKU_SWITCH) || defined(PROTOCOL_INTERTECHNO_SWITCH)
	arctechSwInit();
#endif
#ifdef PROTOCOL_KAKU_SCREEN
	arctechSrInit();
#endif
#ifdef PROTOCOL_KAKU_CONTACT
  arctechContactInit();
#endif
#ifdef PROTOCOL_KAKU_DIMMER
	arctechDimInit();
#endif
#if defined(PROTOCOL_COGEX_SWITCH) || defined(PROTOCOL_KAKU_SWITCH_OLD) || defined(PROTOCOL_INTERTECHNO_OLD)
	arctechSwOldInit();
#endif
#ifdef PROTOCOL_KAKU_SCREEN_OLD
	arctechSrOldInit();
#endif
#ifdef PROTOCOL_HOMEEASY_OLD
	homeEasyOldInit();
#endif
#if defined(PROTOCOL_ELRO_SWITCH) || defined(PROTOCOL_BRENNENSTUHL_SWITCH)
	elroHEInit();
	elroHCInit();
#endif
#if defined(PROTOCOL_SELECTREMOTE) || defined(PROTOCOL_IMPULS)
	impulsInit();
#endif
#ifdef PROTOCOL_RELAY
	relayInit();
#endif
#ifdef PROTOCOL_RAW
	rawInit();
#endif
#ifdef PROTOCOL_REV
        revInit();
#endif
#ifdef PROTOCOL_ALECTO
	alectoInit();
#endif
#ifdef PROTOCOL_GENERIC_WEATHER
	genWeatherInit();
#endif
#ifdef PROTOCOL_GENERIC_SWITCH
	genSwitchInit();
#endif
#ifdef PROTOCOL_GENERIC_DIMMER
	genDimInit();
#endif
#ifdef PROTOCOL_DS18B20
	ds18b20Init();
#endif
#ifdef PROTOCOL_DS18S20
	ds18s20Init();
#endif
#ifdef PROTOCOL_DHT22
	dht22Init();
#endif
#ifdef PROTOCOL_DHT11
	dht11Init();
#endif
#ifdef PROTOCOL_CLARUS
	clarusSwInit();
#endif
#ifdef PROTOCOL_RPI_TEMP
	rpiTempInit();
#endif
#ifdef PROTOCOL_CONRAD_RSL_SWITCH
	conradRSLSwInit();
#endif
#ifdef PROTOCOL_CONRAD_RSL_CONTACT
	conradRSLCnInit();
#endif
#if defined(PROTOCOL_LM75) || defined(PROTOCOL_LM76)
	lm75Init();
	lm76Init();
#endif
#ifdef PROTOCOL_POLLIN_SWITCH
	pollinInit();
#endif
#ifdef PROTOCOL_MUMBI_SWITCH
	mumbiInit();
#endif
#ifdef PROTOCOL_WUNDERGROUND
	wundergroundInit();
#endif
#ifdef PROTOCOL_OPENWEATHERMAP
	openweathermapInit();
#endif
#ifdef PROTOCOL_SILVERCREST
	silvercrestInit();
#endif
#ifdef PROTOCOL_FUKANG
   fukangInit();
#endif
}