Re: check cam status [writing plugin help needed]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/01/10 22:20, Simon Baxter wrote:
>>> I'd like to write a plugin which can provide the displayed Setup>CAM
>>> status via an SVDRP command, and maybe check the CAM menu can be
>>> accessed.
> 
> Had no response on this - guess we have no plugin writers with time on
> their hands to help?
> 
> Can I use these functions in ci.h?
> 
>  virtual bool Reset(int Slot) = 0;
>       ///< Resets the CAM in the given Slot.
>       ///< Returns true if the operation was successful.
>  virtual eModuleStatus ModuleStatus(int Slot) = 0;
>       ///< Returns the status of the CAM in the given Slot.
> 
> I just need a very simple svdrp plugin that will 1) check the status of
> a CAM in a given slot via an svdrp command   and 2) reset that cam via
> another svdrp command
> 
> What core vdr files do I need to include?  How do I reference or call
> functions within those core files?

Just include <vdr/ci.h> and do things like in cMenuSetupCAM.

Klaus

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux