All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] DSMCC : How to add descriptors for PMT Generation into "psi-config.py" file ?
@ 2009-02-13 11:35 Mathieu Seguy
  2009-02-13 11:37 ` Mathieu Seguy
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Seguy @ 2009-02-13 11:35 UTC (permalink / raw)
  To: linux-dvb

Hello,
I would know how can I include a new descriptor into the PMT
declaration, in order to respect the French configuration.

That's is a piece (which is concerned by the modification) of the PMT :

 data_broadcast_id_descriptor(
        data_broadcast_ID = 10, # System Software Update
        ID_selector_bytes = '',
        ),

To respect French configuration, I need to add this descriptor into
the data_broadcast_id_descriptor :

System_software_update_info(){
     OUI_data_length
     for (i=0; i<N; i++){
       OUI
       reserved
       update_typeprofil étendu)
       reserved
       update_versioning_flag
       update_version
       selector_length
     }
}


But if I choose to modify the PMT like that :

data_broadcast_id_descriptor(
		data_broadcast_ID = 10, # System Software Update
		ID_selector_bytes = '',
		system_software_update_info = [
		    OUI = 0x00e064, # <<<<<<<<<<<<
		    update_type = 1,
		]
	    ),

I have the following error message:
File "./psi-config.py", line 261, in <module>    OUI_data_length( :
NameError: name 'OUI_data_length' is not defined

Or :
File "./psi-config.py", line 262    OUI = 0x00e064, # <<<<<<<<<<<<
    ^ SyntaxError: invalid syntax


How can I define my descriptor so ?

Thanks for any answer

Best regards

----------
Mathieu
Network Apprentice Engineer

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 2+ messages in thread

* DSMCC : How to add descriptors for PMT Generation into "psi-config.py" file ?
  2009-02-13 11:35 [linux-dvb] DSMCC : How to add descriptors for PMT Generation into "psi-config.py" file ? Mathieu Seguy
@ 2009-02-13 11:37 ` Mathieu Seguy
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Seguy @ 2009-02-13 11:37 UTC (permalink / raw)
  To: linux-media

Hello,
I would know how can I include a new descriptor into the PMT
declaration, in order to respect the French configuration.

That's is a piece (which is concerned by the modification) of the PMT :

 data_broadcast_id_descriptor(
       data_broadcast_ID = 10, # System Software Update
       ID_selector_bytes = '',
       ),

To respect French configuration, I need to add this descriptor into
the data_broadcast_id_descriptor :

System_software_update_info(){
    OUI_data_length
    for (i=0; i<N; i++){
      OUI
      reserved
      update_typeprofil étendu)
      reserved
      update_versioning_flag
      update_version
      selector_length
    }
}


But if I choose to modify the PMT like that :

data_broadcast_id_descriptor(
               data_broadcast_ID = 10, # System Software Update
               ID_selector_bytes = '',
               system_software_update_info = [
                   OUI = 0x00e064, # <<<<<<<<<<<<
                   update_type = 1,
               ]
           ),

I have the following error message:
File "./psi-config.py", line 261, in <module>    OUI_data_length( :
NameError: name 'OUI_data_length' is not defined

Or :
File "./psi-config.py", line 262    OUI = 0x00e064, # <<<<<<<<<<<<
   ^ SyntaxError: invalid syntax


How can I define my descriptor so ?

Thanks for any answer

Best regards

----------
Mathieu
Network Apprentice Engineer

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-13 11:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-13 11:35 [linux-dvb] DSMCC : How to add descriptors for PMT Generation into "psi-config.py" file ? Mathieu Seguy
2009-02-13 11:37 ` Mathieu Seguy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.