|
|
|
|
@ -507,9 +507,9 @@ class rds_parser_table_qt(gr.sync_block):#START
|
|
|
|
|
PIN_valid= PIN_day in range(1,32) and PIN_hour in range(0,24) and PIN_minute in range(0,60) |
|
|
|
|
if PIN_valid: |
|
|
|
|
self.RDS_data[PI]["PIN"]=[PIN_day,PIN_hour,PIN_minute] |
|
|
|
|
data_string="variant:%i,SLC:%04X,PIN (valid):%s "%(variant,SLC,str([PIN_day,PIN_hour,PIN_minute])) |
|
|
|
|
data_string="radio paging code:%i,LA:%i,variant:%i,SLC:%04X,PIN (valid):%s "%(radio_paging,LA,variant,SLC,str([PIN_day,PIN_hour,PIN_minute])) |
|
|
|
|
else: |
|
|
|
|
data_string="variant:%i,SLC:%04X,PIN:%04X "%(variant,SLC,PIN) |
|
|
|
|
data_string="radio paging code:%i,LA:%i,variant:%i,SLC:%04X,PIN:%04X "%(radio_paging,LA,variant,SLC,PIN) |
|
|
|
|
#%02X%02X%02X%02X%02X |
|
|
|
|
|
|
|
|
|
t=(str(datetime.now()),PI,self.RDS_data[PI]["PSN"],"PIN",data_string) |
|
|
|
|
@ -531,6 +531,7 @@ class rds_parser_table_qt(gr.sync_block):#START
|
|
|
|
|
language_codes=SLC |
|
|
|
|
if self.debug: |
|
|
|
|
print("PI:%s PSN:%s,language_codes:%s"%(PI,self.RDS_data[PI]["PSN"],hex(language_codes))) |
|
|
|
|
#variant 4 and 5 not assigned |
|
|
|
|
elif variant==6: |
|
|
|
|
#for use by broadcasters |
|
|
|
|
if self.debug: |
|
|
|
|
@ -983,8 +984,8 @@ class rds_parser_table_qt(gr.sync_block):#START
|
|
|
|
|
elif (groupType == "8A"): |
|
|
|
|
if self.debug: |
|
|
|
|
print("8A without 3A on PI:%s"%PI) |
|
|
|
|
#else:#other group |
|
|
|
|
#print("group of type %s not decoded on station %s"% (groupType,PI)) |
|
|
|
|
elif self.log or self.log:#other group |
|
|
|
|
print("group of type %s not decoded on station %s"% (groupType,PI)) |
|
|
|
|
|
|
|
|
|
pr.disable() #disabled-internal-profiling |
|
|
|
|
#if self.writeDB: |
|
|
|
|
|