Use streaming for resource PLCI

This commit is contained in:
MelwareDE 2010-08-02 13:04:24 +00:00
parent fa901efa62
commit aad92617a7
2 changed files with 10 additions and 0 deletions

View File

@ -226,6 +226,15 @@ void capi_DivaStreamingRemoveInfo(struct capi_pvt *i)
"dws", _DI_MANU_ID, _DI_STREAM_CTRL, description);
}
void capi_DivaStreamingStreamNotUsed (struct capi_pvt *i)
{
byte description[] = { 0x04, 0x00, 0x02, 0x00, 0x00 };
MESSAGE_EXCHANGE_ERROR error;
error = capi_sendf (NULL, 0, CAPI_MANUFACTURER_REQ, i->PLCI, get_capi_MessageNumber(),
"dws", _DI_MANU_ID, _DI_STREAM_CTRL, description);
}
void capi_DivaStreamingRemove(struct capi_pvt *i)
{
diva_stream_scheduling_entry_t* pE = i->diva_stream_entry;

View File

@ -3,6 +3,7 @@
extern int capi_DivaStreamingSupported(unsigned controller);
extern void capi_DivaStreamingOn(struct capi_pvt *i, unsigned char streamCommand, _cword messageNumber);
extern void capi_DivaStreamingStreamNotUsed (struct capi_pvt *i);
extern void capi_DivaStreamingRemoveInfo(struct capi_pvt *i);
extern void capi_DivaStreamingRemove(struct capi_pvt *i);
extern void divaStreamingWakeup(void);