Plugin Creation Tutorial
From MiOS
(Difference between revisions)
(→Plugin structure) |
|||
Line 7: | Line 7: | ||
*Zero or more service description files: S_GenericPlugin.xml | *Zero or more service description files: S_GenericPlugin.xml | ||
*Zero or one device interface file: D_GenericPlugin.json | *Zero or one device interface file: D_GenericPlugin.json | ||
− | *One device implementation file: I_GenericPlugin.xml | + | *One device implementation file: I_GenericPlugin.xml Refer to [[Luup_Plugins_ByHand]] and [[Luup_Plugins_ByHand]] |
*Zero or more Lua files: L_GenericPlugin.xml | *Zero or more Lua files: L_GenericPlugin.xml | ||
*Zero or more JavaScript files: J_GenericPlugin.xml | *Zero or more JavaScript files: J_GenericPlugin.xml |
Revision as of 10:23, 12 June 2013
Plugin structure
A Luup plugin is composed of several types of files:
- One device description file: D_GenericPlugin.xml
- Zero or more service description files: S_GenericPlugin.xml
- Zero or one device interface file: D_GenericPlugin.json
- One device implementation file: I_GenericPlugin.xml Refer to Luup_Plugins_ByHand and Luup_Plugins_ByHand
- Zero or more Lua files: L_GenericPlugin.xml
- Zero or more JavaScript files: J_GenericPlugin.xml